#F2E374#F2E374
#F2E374 is a very light, vivid yellow. Relative luminance 0.751; OKLCH L 90.6% C 0.133 H 101.7°. Best body text is #000000 at 16.02:1 contrast (WCAG AA passes).
Color values
| HEX | #F2E374 |
|---|---|
| RGB | rgb(242, 227, 116) |
| HSL | hsl(53, 83%, 70%) |
| HSV | hsv(53, 52%, 95%) |
| CMYK | cmyk(0%, 6.2%, 52.1%, 5.1%) |
| CIE-LAB | lab(89.43, -8.92, 55.40) |
| CIE-LCH | lch(89.43, 56.11, 99.14°) |
| OKLab | oklab(90.58% -0.027 0.1304) |
| OKLCH | oklch(90.58% 0.133 101.7) |
| XYZ | xyz(67.2415, 75.0787, 27.4693) |
| Luminance | 0.7508 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy Yellow
#FDEE73
ΔE00 2.70
Dull Yellow
#EEDC5B
ΔE00 2.81
Khaki (CSS)
#F0E68C
ΔE00 3.40
Sand Yellow
#FCE166
ΔE00 3.44
Sandy
#F1DA7A
ΔE00 3.45
Yellow Tan
#FFE36E
ΔE00 3.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2E374 #7483F2
analogous
#F2A474 #F2E374 #C2F274
triadic
#F2E374 #74F2E3 #E374F2
tetradic
#F2E374 #74F2A4 #7483F2 #F274C2
square
#F2E374 #74F2A4 #7483F2 #F274C2
split-complementary
#F2E374 #74C2F2 #A474F2
monochromatic
#D7C014 #EDD83C #F2E374 #F7EEAC #FCF9E3
Accessibility & contrast
On white
1.31
#F2E374 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.02
#F2E374 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2E374
16.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2E374 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2E374 | 1.00 | 1.31 | 16.02 | 16.02 |
| #FFFFFF | 1.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F4DD6A
Deuteranopia (green-blind)
#F9E479
Tritanopia (blue-blind)
#FFD6CA
Achromatopsia (no color)
#E1E1E1
Design tokens & code
CSS
--color: #f2e374; /* rgb */ color: rgb(242, 227, 116); /* oklch */ color: oklch(90.6% 0.133 101.7);
Tailwind
colors: {
custom: {
50: '#f9eb9f',
500: '#f2e374',
950: '#000000',
},
}SCSS
$custom: #f2e374; $custom-light: #f9eb9f; $custom-dark: #000000;
JSON
{
"hex": "#f2e374",
"rgb": {
"r": 242,
"g": 227,
"b": 116
},
"hsl": {
"h": 52.857,
"s": 82.895,
"l": 70.196
},
"oklch": {
"l": 0.90581,
"c": 0.1332,
"h": 101.7
},
"luminance": 0.75076
}Semantic roles & 50–950 ramp
primary
#F2E374
secondary
#3E4FCC
accent
#20DF06
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480