#F4E38E#F4E38E
#F4E38E is a very light, moderate yellow. Relative luminance 0.761; OKLCH L 91.1% C 0.107 H 98.3°. Best body text is #000000 at 16.22:1 contrast (WCAG AA passes).
Color values
| HEX | #F4E38E |
|---|---|
| RGB | rgb(244, 227, 142) |
| HSL | hsl(50, 82%, 76%) |
| HSV | hsv(50, 42%, 96%) |
| CMYK | cmyk(0%, 7%, 41.8%, 4.3%) |
| CIE-LAB | lab(89.92, -5.74, 43.54) |
| CIE-LCH | lch(89.92, 43.92, 97.51°) |
| OKLab | oklab(91.11% -0.0154 0.106) |
| OKLCH | oklch(91.11% 0.107 98.3) |
| XYZ | xyz(69.6614, 76.1265, 36.6103) |
| Luminance | 0.7612 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (CSS)
#F0E68C
ΔE00 2.15
Sandy
#F1DA7A
ΔE00 3.00
Dark Cream
#FFF39A
ΔE00 3.54
Wheat (survey)
#FBDD7E
ΔE00 3.90
Light Tan
#FBEEAC
ΔE00 4.35
Buff
#FEF69E
ΔE00 4.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F4E38E #8E9FF4
analogous
#F4B08E #F4E38E #D2F48E
triadic
#F4E38E #8EF4E3 #E38EF4
tetradic
#F4E38E #8EF4B0 #8E9FF4 #F48ED2
square
#F4E38E #8EF4B0 #8E9FF4 #F48ED2
split-complementary
#F4E38E #8ED2F4 #B08EF4
monochromatic
#E9C71E #EFD556 #F4E38E #F9F1C6 #FCF8E3
Accessibility & contrast
On white
1.29
#F4E38E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.22
#F4E38E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F4E38E
16.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F4E38E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F4E38E | 1.00 | 1.29 | 16.22 | 16.22 |
| #FFFFFF | 1.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F2DF87
Deuteranopia (green-blind)
#F7E591
Tritanopia (blue-blind)
#FFD8CE
Achromatopsia (no color)
#E2E2E2
Design tokens & code
CSS
--color: #f4e38e; /* rgb */ color: rgb(244, 227, 142); /* oklch */ color: oklch(91.1% 0.107 98.3);
Tailwind
colors: {
custom: {
50: '#f9ebb0',
500: '#f4e38e',
950: '#000000',
},
}SCSS
$custom: #f4e38e; $custom-light: #f9ebb0; $custom-dark: #000000;
JSON
{
"hex": "#f4e38e",
"rgb": {
"r": 244,
"g": 227,
"b": 142
},
"hsl": {
"h": 50,
"s": 82.258,
"l": 75.686
},
"oklch": {
"l": 0.91112,
"c": 0.10707,
"h": 98.3
},
"luminance": 0.76124
}Semantic roles & 50–950 ramp
primary
#F4E38E
secondary
#556AD1
accent
#2BDF07
background
#FFFEFD
surface
#FFFDF7
border
#D7D5D0
text
#171610
muted
#858481