#F2DE68#F2DE68
#F2DE68 is a very light, vivid yellow. Relative luminance 0.721; OKLCH L 89.4% C 0.140 H 99.8°. Best body text is #000000 at 15.42:1 contrast (WCAG AA passes).
Color values
| HEX | #F2DE68 |
|---|---|
| RGB | rgb(242, 222, 104) |
| HSL | hsl(51, 84%, 68%) |
| HSV | hsv(51, 57%, 95%) |
| CMYK | cmyk(0%, 8.3%, 57%, 5.1%) |
| CIE-LAB | lab(88.03, -7.34, 59.26) |
| CIE-LCH | lch(88.03, 59.71, 97.06°) |
| OKLab | oklab(89.43% -0.0237 0.1375) |
| OKLCH | oklch(89.43% 0.14 99.8) |
| XYZ | xyz(65.2403, 72.1219, 23.5784) |
| Luminance | 0.7212 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 1.49
Sand Yellow
#FCE166
ΔE00 2.09
Yellow Tan
#FFE36E
ΔE00 2.54
Pale Gold
#FDDE6C
ΔE00 3.05
Sandy
#F1DA7A
ΔE00 3.16
Light Gold
#FDDC5C
ΔE00 3.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2DE68 #687CF2
analogous
#F29968 #F2DE68 #C1F268
triadic
#F2DE68 #68F2DE #DE68F2
tetradic
#F2DE68 #68F299 #687CF2 #F268C1
square
#F2DE68 #68F299 #687CF2 #F268C1
split-complementary
#F2DE68 #68C1F2 #9968F2
monochromatic
#CEB312 #EDD230 #F2DE68 #F7EAA0 #FCF7D9
Accessibility & contrast
On white
1.36
#F2DE68 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.42
#F2DE68 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2DE68
15.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2DE68 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2DE68 | 1.00 | 1.36 | 15.42 | 15.42 |
| #FFFFFF | 1.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F1D85C
Deuteranopia (green-blind)
#F6E06E
Tritanopia (blue-blind)
#FFD0C4
Achromatopsia (no color)
#DDDDDD
Design tokens & code
CSS
--color: #f2de68; /* rgb */ color: rgb(242, 222, 104); /* oklch */ color: oklch(89.4% 0.140 99.8);
Tailwind
colors: {
custom: {
50: '#f9e897',
500: '#f2de68',
950: '#000000',
},
}SCSS
$custom: #f2de68; $custom-light: #f9e897; $custom-dark: #000000;
JSON
{
"hex": "#f2de68",
"rgb": {
"r": 242,
"g": 222,
"b": 104
},
"hsl": {
"h": 51.304,
"s": 84.146,
"l": 67.843
},
"oklch": {
"l": 0.89428,
"c": 0.13955,
"h": 99.8
},
"luminance": 0.72119
}Semantic roles & 50–950 ramp
primary
#F2DE68
secondary
#344ACA
accent
#25E105
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F