#FFDC2D
Closest named color: Sun Yellow (#FFDF22). oklch(89.8% 0.176 96.6), rgb(255, 220, 45).
Aa
Black text reads best on this color (15.52:1).
About this color
#FFDC2D is a light, vivid yellow. In OKLCH its lightness is 90%, its chroma 0.176 and its hue 97°. Its hue sits on the warm side of the wheel. The nearest named color is Sun Yellow (#FFDF22), ΔE 0.009 away. Black text reads best on it, at 15.52:1.
| Hue family | Yellows |
| Lightness | light (90%) |
| Chroma | vivid (0.176) |
| Temperature | warm |
| Nearest name | Sun Yellow (#FFDF22) |
| Black text | 15.52:1 |
| White text | 1.35:1 |
Values
| HEX | #FFDC2D |
| RGB | rgb(255, 220, 45) |
| HSL | hsl(50, 100%, 59%) |
| OKLCH | oklch(89.8% 0.176 96.6) |
Contrast
WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #FFDC2D | 1.35:1 | Fails | Lc -19.6 | Dividers and decoration only |
| Black text on #FFDC2D | 15.52:1 | AAA | Lc 86.6 | Fine for body text |
| #FFDC2D text on white | 1.35:1 | Fails | Lc 17.1 | Dividers and decoration only |
| #FFDC2D text on black | 15.52:1 | AAA | Lc -86.5 | Fine for body text |
Tints and shades
A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 200.
-
Step 50
50
#FBF6DF
oklch(97.1% 0.031 96.9)
-
Step 100
100
#F6EBB9
oklch(93.7% 0.066 97.1)
-
Step 200
200 (this color)
#FFDC2D
oklch(89.8% 0.176 96.6)
-
Step 300
300
#E0BF00
oklch(80.9% 0.167 96.5)
-
Step 400
400
#BB9F00
oklch(70.6% 0.145 96.4)
-
Step 500
500
#A08800
oklch(63% 0.13 96.6)
-
Step 600
600
#877200
oklch(55.5% 0.114 96.2)
-
Step 700
700
#716000
oklch(49.1% 0.101 97)
-
Step 800
800
#5D4E00
oklch(42.6% 0.088 96.3)
-
Step 900
900
#4E4100
oklch(37.8% 0.078 96.2)
-
Step 950
950
#2E2600
oklch(27% 0.056 97.1)
#FFDC2D with color blindness
Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #F3D700 | 0.025 |
| Deuteranopia (no green cones) | #FCE23B | 0.014 |
| Tritanopia (no blue cones) | #FFCABD | 0.158 |
| Achromatopsia (no color) | #DDDDDD | 0.176 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #FFDC2D
#FFDC2D
oklch(89.8% 0.176 96.6)
- #D4DBFF
#D4DBFF
oklch(89.7% 0.05 276.7)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #FFDC2D, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Sun Yellow #FFDF22 ΔE 0.009
- Sunflower Yellow #FFDA03 ΔE 0.009
- Gold #FFD700 ΔE 0.013
- Dandelion #FEDF08 ΔE 0.013
- Dull Yellow #EEDC5B ΔE 0.033
- Sand Yellow #FCE166 ΔE 0.033
- Pale Gold #FDDE6C ΔE 0.040
- Yellow Tan #FFE36E ΔE 0.041
Use #FFDC2D in your product
Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.