#F2D761#F2D761
#F2D761 is a very light, vivid yellow. Relative luminance 0.683; OKLCH L 87.9% C 0.140 H 96.5°. Best body text is #000000 at 14.67:1 contrast (WCAG AA passes).
Color values
| HEX | #F2D761 |
|---|---|
| RGB | rgb(242, 215, 97) |
| HSL | hsl(49, 85%, 66%) |
| HSV | hsv(49, 60%, 95%) |
| CMYK | cmyk(0%, 11.2%, 59.9%, 5.1%) |
| CIE-LAB | lab(86.18, -4.29, 60.29) |
| CIE-LCH | lch(86.18, 60.45, 94.07°) |
| OKLab | oklab(87.94% -0.0158 0.1389) |
| OKLCH | oklch(87.94% 0.14 96.5) |
| XYZ | xyz(63.0787, 68.3441, 21.1761) |
| Luminance | 0.6834 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Mustard
#F7D560
ΔE00 1.92
Pale Gold
#FDDE6C
ΔE00 2.14
Light Gold
#FDDC5C
ΔE00 2.23
Sand Yellow
#FCE166
ΔE00 2.28
Yellow Tan
#FFE36E
ΔE00 2.74
Maize
#F4D054
ΔE00 2.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2D761 #617CF2
analogous
#F28F61 #F2D761 #C4F261
triadic
#F2D761 #61F2D7 #D761F2
tetradic
#F2D761 #61F28F #617CF2 #F261C4
square
#F2D761 #61F28F #617CF2 #F261C4
split-complementary
#F2D761 #61C4F2 #8F61F2
monochromatic
#C8A610 #EDC928 #F2D761 #F7E59A #FBF4D2
Accessibility & contrast
On white
1.43
#F2D761 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.67
#F2D761 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2D761
14.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2D761 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2D761 | 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)
#EAD254
Deuteranopia (green-blind)
#F1DB67
Tritanopia (blue-blind)
#FFC8BD
Achromatopsia (no color)
#D8D8D8
Design tokens & code
CSS
--color: #f2d761; /* rgb */ color: rgb(242, 215, 97); /* oklch */ color: oklch(87.9% 0.140 96.5);
Tailwind
colors: {
custom: {
50: '#f9e392',
500: '#f2d761',
950: '#000000',
},
}SCSS
$custom: #f2d761; $custom-light: #f9e392; $custom-dark: #000000;
JSON
{
"hex": "#f2d761",
"rgb": {
"r": 242,
"g": 215,
"b": 97
},
"hsl": {
"h": 48.828,
"s": 84.795,
"l": 66.471
},
"oklch": {
"l": 0.87942,
"c": 0.13979,
"h": 96.5
},
"luminance": 0.68341
}Semantic roles & 50–950 ramp
primary
#F2D761
secondary
#324EC5
accent
#2DE104
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F