#F2DA6B#F2DA6B
#F2DA6B is a very light, vivid yellow. Relative luminance 0.701; OKLCH L 88.7% C 0.134 H 97.3°. Best body text is #000000 at 15.02:1 contrast (WCAG AA passes).
Color values
| HEX | #F2DA6B |
|---|---|
| RGB | rgb(242, 218, 107) |
| HSL | hsl(49, 84%, 68%) |
| HSV | hsv(49, 56%, 95%) |
| CMYK | cmyk(0%, 9.9%, 55.8%, 5.1%) |
| CIE-LAB | lab(87.04, -5.10, 56.76) |
| CIE-LCH | lch(87.04, 56.99, 95.13°) |
| OKLab | oklab(88.65% -0.017 0.1325) |
| OKLCH | oklch(88.65% 0.134 97.3) |
| XYZ | xyz(64.3456, 70.0843, 24.0453) |
| Luminance | 0.7008 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 2.07
Pale Gold
#FDDE6C
ΔE00 2.18
Sand Yellow
#FCE166
ΔE00 2.24
Yellow Tan
#FFE36E
ΔE00 2.43
Dull Yellow
#EEDC5B
ΔE00 2.68
Light Mustard
#F7D560
ΔE00 2.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2DA6B #6B83F2
analogous
#F2966B #F2DA6B #C7F26B
triadic
#F2DA6B #6BF2DA #DA6BF2
tetradic
#F2DA6B #6BF296 #6B83F2 #F26BC7
square
#F2DA6B #6BF296 #6B83F2 #F26BC7
split-complementary
#F2DA6B #6BC7F2 #966BF2
monochromatic
#D0AF12 #EDCC33 #F2DA6B #F7E8A3 #FCF6DC
Accessibility & contrast
On white
1.40
#F2DA6B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.02
#F2DA6B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2DA6B
15.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2DA6B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2DA6B | 1.00 | 1.40 | 15.02 | 15.02 |
| #FFFFFF | 1.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EDD560
Deuteranopia (green-blind)
#F3DE70
Tritanopia (blue-blind)
#FFCCC1
Achromatopsia (no color)
#DADADA
Design tokens & code
CSS
--color: #f2da6b; /* rgb */ color: rgb(242, 218, 107); /* oklch */ color: oklch(88.7% 0.134 97.3);
Tailwind
colors: {
custom: {
50: '#f9e598',
500: '#f2da6b',
950: '#000000',
},
}SCSS
$custom: #f2da6b; $custom-light: #f9e598; $custom-dark: #000000;
JSON
{
"hex": "#f2da6b",
"rgb": {
"r": 242,
"g": 218,
"b": 107
},
"hsl": {
"h": 49.333,
"s": 83.851,
"l": 68.431
},
"oklch": {
"l": 0.88654,
"c": 0.13356,
"h": 97.3
},
"luminance": 0.70082
}Semantic roles & 50–950 ramp
primary
#F2DA6B
secondary
#3651CB
accent
#2CE005
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F