#F2DE6A#F2DE6A
#F2DE6A is a very light, vivid yellow. Relative luminance 0.722; OKLCH L 89.5% C 0.138 H 99.7°. Best body text is #000000 at 15.43:1 contrast (WCAG AA passes).
Color values
| HEX | #F2DE6A |
|---|---|
| RGB | rgb(242, 222, 106) |
| HSL | hsl(51, 84%, 68%) |
| HSV | hsv(51, 56%, 95%) |
| CMYK | cmyk(0%, 8.3%, 56.2%, 5.1%) |
| CIE-LAB | lab(88.05, -7.19, 58.38) |
| CIE-LCH | lch(88.05, 58.82, 97.02°) |
| OKLab | oklab(89.45% -0.0231 0.1359) |
| OKLCH | oklch(89.45% 0.138 99.7) |
| XYZ | xyz(65.3431, 72.1630, 24.1198) |
| Luminance | 0.7216 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 1.70
Sand Yellow
#FCE166
ΔE00 2.15
Yellow Tan
#FFE36E
ΔE00 2.52
Sandy
#F1DA7A
ΔE00 2.94
Pale Gold
#FDDE6C
ΔE00 3.00
Light Gold
#FDDC5C
ΔE00 3.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2DE6A #6A7EF2
analogous
#F29A6A #F2DE6A #C2F26A
triadic
#F2DE6A #6AF2DE #DE6AF2
tetradic
#F2DE6A #6AF29A #6A7EF2 #F26AC2
square
#F2DE6A #6AF29A #6A7EF2 #F26AC2
split-complementary
#F2DE6A #6AC2F2 #9A6AF2
monochromatic
#CFB412 #EDD232 #F2DE6A #F7EAA2 #FCF7DB
Accessibility & contrast
On white
1.36
#F2DE6A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.43
#F2DE6A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2DE6A
15.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2DE6A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2DE6A | 1.00 | 1.36 | 15.43 | 15.43 |
| #FFFFFF | 1.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F0D95E
Deuteranopia (green-blind)
#F6E070
Tritanopia (blue-blind)
#FFD0C4
Achromatopsia (no color)
#DDDDDD
Design tokens & code
CSS
--color: #f2de6a; /* rgb */ color: rgb(242, 222, 106); /* oklch */ color: oklch(89.5% 0.138 99.7);
Tailwind
colors: {
custom: {
50: '#f9e898',
500: '#f2de6a',
950: '#000000',
},
}SCSS
$custom: #f2de6a; $custom-light: #f9e898; $custom-dark: #000000;
JSON
{
"hex": "#f2de6a",
"rgb": {
"r": 242,
"g": 222,
"b": 106
},
"hsl": {
"h": 51.176,
"s": 83.951,
"l": 68.235
},
"oklch": {
"l": 0.8945,
"c": 0.1378,
"h": 99.7
},
"luminance": 0.7216
}Semantic roles & 50–950 ramp
primary
#F2DE6A
secondary
#364BCB
accent
#25E005
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F