#F2DD6A#F2DD6A
#F2DD6A is a very light, vivid yellow. Relative luminance 0.716; OKLCH L 89.2% C 0.137 H 99.1°. Best body text is #000000 at 15.33:1 contrast (WCAG AA passes).
Color values
| HEX | #F2DD6A |
|---|---|
| RGB | rgb(242, 221, 106) |
| HSL | hsl(51, 84%, 68%) |
| HSV | hsv(51, 56%, 95%) |
| CMYK | cmyk(0%, 8.7%, 56.2%, 5.1%) |
| CIE-LAB | lab(87.79, -6.69, 58.09) |
| CIE-LCH | lch(87.79, 58.47, 96.57°) |
| OKLab | oklab(89.25% -0.0217 0.1352) |
| OKLCH | oklch(89.25% 0.137 99.1) |
| XYZ | xyz(65.0783, 71.6334, 24.0315) |
| Luminance | 0.7163 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 1.86
Sand Yellow
#FCE166
ΔE00 2.07
Yellow Tan
#FFE36E
ΔE00 2.42
Sandy
#F1DA7A
ΔE00 2.71
Pale Gold
#FDDE6C
ΔE00 2.75
Light Gold
#FDDC5C
ΔE00 3.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2DD6A #6A7FF2
analogous
#F2996A #F2DD6A #C3F26A
triadic
#F2DD6A #6AF2DD #DD6AF2
tetradic
#F2DD6A #6AF299 #6A7FF2 #F26AC3
square
#F2DD6A #6AF299 #6A7FF2 #F26AC3
split-complementary
#F2DD6A #6AC3F2 #996AF2
monochromatic
#CFB212 #EDD032 #F2DD6A #F7EAA2 #FCF7DB
Accessibility & contrast
On white
1.37
#F2DD6A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.33
#F2DD6A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2DD6A
15.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2DD6A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2DD6A | 1.00 | 1.37 | 15.33 | 15.33 |
| #FFFFFF | 1.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.33 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.33 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EFD85F
Deuteranopia (green-blind)
#F5E06F
Tritanopia (blue-blind)
#FFCFC3
Achromatopsia (no color)
#DCDCDC
Design tokens & code
CSS
--color: #f2dd6a; /* rgb */ color: rgb(242, 221, 106); /* oklch */ color: oklch(89.2% 0.137 99.1);
Tailwind
colors: {
custom: {
50: '#f9e798',
500: '#f2dd6a',
950: '#000000',
},
}SCSS
$custom: #f2dd6a; $custom-light: #f9e798; $custom-dark: #000000;
JSON
{
"hex": "#f2dd6a",
"rgb": {
"r": 242,
"g": 221,
"b": 106
},
"hsl": {
"h": 50.735,
"s": 83.951,
"l": 68.235
},
"oklch": {
"l": 0.89248,
"c": 0.13695,
"h": 99.1
},
"luminance": 0.71631
}Semantic roles & 50–950 ramp
primary
#F2DD6A
secondary
#364DCB
accent
#27E005
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F