#F2D26F#F2D26F
#F2D26F is a very light, vivid yellow. Relative luminance 0.661; OKLCH L 87.1% C 0.124 H 91.8°. Best body text is #000000 at 14.22:1 contrast (WCAG AA passes).
Color values
| HEX | #F2D26F |
|---|---|
| RGB | rgb(242, 210, 111) |
| HSL | hsl(45, 83%, 69%) |
| HSV | hsv(45, 54%, 95%) |
| CMYK | cmyk(0%, 13.2%, 54.1%, 5.1%) |
| CIE-LAB | lab(85.06, -0.72, 52.58) |
| CIE-LCH | lch(85.06, 52.59, 90.78°) |
| OKLab | oklab(87.1% -0.0039 0.1238) |
| OKLCH | oklch(87.1% 0.124 91.8) |
| XYZ | xyz(62.5363, 66.1211, 24.5045) |
| Luminance | 0.6612 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Mustard
#F7D560
ΔE00 2.43
Wheat (survey)
#FBDD7E
ΔE00 2.58
Sandy
#F1DA7A
ΔE00 2.93
Maize
#F4D054
ΔE00 3.20
Pale Gold
#FDDE6C
ΔE00 3.31
Sand (survey)
#E2CA76
ΔE00 3.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2D26F #6F8FF2
analogous
#F2916F #F2D26F #D0F26F
triadic
#F2D26F #6FF2D2 #D26FF2
tetradic
#F2D26F #6FF291 #6F8FF2 #F26FD0
square
#F2D26F #6FF291 #6F8FF2 #F26FD0
split-complementary
#F2D26F #6FD0F2 #916FF2
monochromatic
#D4A513 #EDC037 #F2D26F #F7E4A7 #FCF5DF
Accessibility & contrast
On white
1.48
#F2D26F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.22
#F2D26F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2D26F
14.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2D26F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2D26F | 1.00 | 1.48 | 14.22 | 14.22 |
| #FFFFFF | 1.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E5CF66
Deuteranopia (green-blind)
#EDD873
Tritanopia (blue-blind)
#FFC4BB
Achromatopsia (no color)
#D4D4D4
Design tokens & code
CSS
--color: #f2d26f; /* rgb */ color: rgb(242, 210, 111); /* oklch */ color: oklch(87.1% 0.124 91.8);
Tailwind
colors: {
custom: {
50: '#f9df9b',
500: '#f2d26f',
950: '#000000',
},
}SCSS
$custom: #f2d26f; $custom-light: #f9df9b; $custom-dark: #000000;
JSON
{
"hex": "#f2d26f",
"rgb": {
"r": 242,
"g": 210,
"b": 111
},
"hsl": {
"h": 45.344,
"s": 83.439,
"l": 69.216
},
"oklch": {
"l": 0.87103,
"c": 0.12389,
"h": 91.8
},
"luminance": 0.66118
}Semantic roles & 50–950 ramp
primary
#F2D26F
secondary
#3A5DCB
accent
#3BE006
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F