#F2D461#F2D461
#F2D461 is a very light, vivid yellow. Relative luminance 0.668; OKLCH L 87.3% C 0.138 H 94.8°. Best body text is #000000 at 14.37:1 contrast (WCAG AA passes).
Color values
| HEX | #F2D461 |
|---|---|
| RGB | rgb(242, 212, 97) |
| HSL | hsl(48, 85%, 66%) |
| HSV | hsv(48, 60%, 95%) |
| CMYK | cmyk(0%, 12.4%, 59.9%, 5.1%) |
| CIE-LAB | lab(85.42, -2.77, 59.45) |
| CIE-LCH | lch(85.42, 59.51, 92.66°) |
| OKLab | oklab(87.34% -0.0114 0.1371) |
| OKLCH | oklch(87.34% 0.138 94.8) |
| XYZ | xyz(62.3218, 66.8303, 20.9238) |
| Luminance | 0.6683 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Mustard
#F7D560
ΔE00 1.13
Maize
#F4D054
ΔE00 1.94
Pale Gold
#FDDE6C
ΔE00 2.33
Light Gold
#FDDC5C
ΔE00 2.44
Sand Yellow
#FCE166
ΔE00 3.07
Sandy
#F1DA7A
ΔE00 3.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2D461 #617FF2
analogous
#F28C61 #F2D461 #C8F261
triadic
#F2D461 #61F2D4 #D461F2
tetradic
#F2D461 #61F28C #617FF2 #F261C8
square
#F2D461 #61F28C #617FF2 #F261C8
split-complementary
#F2D461 #61C8F2 #8C61F2
monochromatic
#C8A210 #EDC528 #F2D461 #F7E39A #FBF3D2
Accessibility & contrast
On white
1.46
#F2D461 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.37
#F2D461 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2D461
14.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2D461 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2D461 | 1.00 | 1.46 | 14.37 | 14.37 |
| #FFFFFF | 1.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E8D055
Deuteranopia (green-blind)
#EFD966
Tritanopia (blue-blind)
#FFC5BB
Achromatopsia (no color)
#D5D5D5
Design tokens & code
CSS
--color: #f2d461; /* rgb */ color: rgb(242, 212, 97); /* oklch */ color: oklch(87.3% 0.138 94.8);
Tailwind
colors: {
custom: {
50: '#f9e092',
500: '#f2d461',
950: '#000000',
},
}SCSS
$custom: #f2d461; $custom-light: #f9e092; $custom-dark: #000000;
JSON
{
"hex": "#f2d461",
"rgb": {
"r": 242,
"g": 212,
"b": 97
},
"hsl": {
"h": 47.586,
"s": 84.795,
"l": 66.471
},
"oklch": {
"l": 0.87341,
"c": 0.13755,
"h": 94.8
},
"luminance": 0.66827
}Semantic roles & 50–950 ramp
primary
#F2D461
secondary
#3251C5
accent
#32E104
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F