#F4E78F#F4E78F
#F4E78F is a very light, moderate yellow. Relative luminance 0.784; OKLCH L 91.9% C 0.110 H 100.9°. Best body text is #000000 at 16.67:1 contrast (WCAG AA passes).
Color values
| HEX | #F4E78F |
|---|---|
| RGB | rgb(244, 231, 143) |
| HSL | hsl(52, 82%, 76%) |
| HSV | hsv(52, 41%, 96%) |
| CMYK | cmyk(0%, 5.3%, 41.4%, 4.3%) |
| CIE-LAB | lab(90.95, -7.65, 44.36) |
| CIE-LCH | lch(90.95, 45.01, 99.78°) |
| OKLab | oklab(91.93% -0.0209 0.1078) |
| OKLCH | oklch(91.93% 0.11 100.9) |
| XYZ | xyz(70.8435, 78.3702, 37.3764) |
| Luminance | 0.7837 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (CSS)
#F0E68C
ΔE00 0.95
Dark Cream
#FFF39A
ΔE00 2.52
Buff
#FEF69E
ΔE00 3.29
Sandy
#F1DA7A
ΔE00 3.96
Light Tan
#FBEEAC
ΔE00 4.34
Sandy Yellow
#FDEE73
ΔE00 4.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F4E78F #8F9CF4
analogous
#F4B48F #F4E78F #CEF48F
triadic
#F4E78F #8FF4E7 #E78FF4
tetradic
#F4E78F #8FF4B4 #8F9CF4 #F48FCE
square
#F4E78F #8FF4B4 #8F9CF4 #F48FCE
split-complementary
#F4E78F #8FCEF4 #B48FF4
monochromatic
#E9CF20 #EFDB57 #F4E78F #F9F3C7 #FCF9E3
Accessibility & contrast
On white
1.26
#F4E78F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.67
#F4E78F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F4E78F
16.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F4E78F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F4E78F | 1.00 | 1.26 | 16.67 | 16.67 |
| #FFFFFF | 1.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F6E288
Deuteranopia (green-blind)
#FAE893
Tritanopia (blue-blind)
#FFDCD1
Achromatopsia (no color)
#E5E5E5
Design tokens & code
CSS
--color: #f4e78f; /* rgb */ color: rgb(244, 231, 143); /* oklch */ color: oklch(91.9% 0.110 100.9);
Tailwind
colors: {
custom: {
50: '#f9eeb1',
500: '#f4e78f',
950: '#000000',
},
}SCSS
$custom: #f4e78f; $custom-light: #f9eeb1; $custom-dark: #000000;
JSON
{
"hex": "#f4e78f",
"rgb": {
"r": 244,
"g": 231,
"b": 143
},
"hsl": {
"h": 52.277,
"s": 82.114,
"l": 75.882
},
"oklch": {
"l": 0.91932,
"c": 0.10984,
"h": 100.9
},
"luminance": 0.78368
}Semantic roles & 50–950 ramp
primary
#F4E78F
secondary
#5666D1
accent
#23DF07
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#171611
muted
#858581