#F2D762#F2D762
#F2D762 is a very light, vivid yellow. Relative luminance 0.684; OKLCH L 88.0% C 0.139 H 96.4°. Best body text is #000000 at 14.67:1 contrast (WCAG AA passes).
Color values
| HEX | #F2D762 |
|---|---|
| RGB | rgb(242, 215, 98) |
| HSL | hsl(49, 85%, 67%) |
| HSV | hsv(49, 60%, 95%) |
| CMYK | cmyk(0%, 11.2%, 59.5%, 5.1%) |
| CIE-LAB | lab(86.19, -4.22, 59.86) |
| CIE-LCH | lch(86.19, 60.01, 94.04°) |
| OKLab | oklab(87.95% -0.0155 0.1381) |
| OKLCH | oklch(87.95% 0.139 96.4) |
| XYZ | xyz(63.1256, 68.3629, 21.4232) |
| Luminance | 0.6836 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Mustard
#F7D560
ΔE00 1.90
Pale Gold
#FDDE6C
ΔE00 2.10
Light Gold
#FDDC5C
ΔE00 2.28
Sand Yellow
#FCE166
ΔE00 2.31
Yellow Tan
#FFE36E
ΔE00 2.73
Maize
#F4D054
ΔE00 2.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2D762 #627DF2
analogous
#F28F62 #F2D762 #C5F262
triadic
#F2D762 #62F2D7 #D762F2
tetradic
#F2D762 #62F28F #627DF2 #F262C5
square
#F2D762 #62F28F #627DF2 #F262C5
split-complementary
#F2D762 #62C5F2 #8F62F2
monochromatic
#C9A611 #EDC929 #F2D762 #F7E59B #FBF4D3
Accessibility & contrast
On white
1.43
#F2D762 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.67
#F2D762 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2D762
14.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2D762 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2D762 | 1.00 | 1.43 | 14.67 | 14.67 |
| #FFFFFF | 1.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EAD356
Deuteranopia (green-blind)
#F1DB67
Tritanopia (blue-blind)
#FFC9BD
Achromatopsia (no color)
#D8D8D8
Design tokens & code
CSS
--color: #f2d762; /* rgb */ color: rgb(242, 215, 98); /* oklch */ color: oklch(88.0% 0.139 96.4);
Tailwind
colors: {
custom: {
50: '#f9e393',
500: '#f2d762',
950: '#000000',
},
}SCSS
$custom: #f2d762; $custom-light: #f9e393; $custom-dark: #000000;
JSON
{
"hex": "#f2d762",
"rgb": {
"r": 242,
"g": 215,
"b": 98
},
"hsl": {
"h": 48.75,
"s": 84.706,
"l": 66.667
},
"oklch": {
"l": 0.87952,
"c": 0.13896,
"h": 96.4
},
"luminance": 0.6836
}Semantic roles & 50–950 ramp
primary
#F2D762
secondary
#334EC6
accent
#2EE104
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F