#F4F278#F4F278
#F4F278 is a very light, vivid yellow. Relative luminance 0.841; OKLCH L 93.9% C 0.144 H 108.0°. Best body text is #000000 at 17.82:1 contrast (WCAG AA passes).
Color values
| HEX | #F4F278 |
|---|---|
| RGB | rgb(244, 242, 120) |
| HSL | hsl(59, 85%, 71%) |
| HSV | hsv(59, 51%, 96%) |
| CMYK | cmyk(0%, 0.8%, 50.8%, 4.3%) |
| CIE-LAB | lab(93.49, -15.20, 58.38) |
| CIE-LCH | lch(93.49, 60.32, 104.60°) |
| OKLab | oklab(93.86% -0.0447 0.1372) |
| OKLCH | oklch(93.86% 0.144 108) |
| XYZ | xyz(72.4523, 84.0953, 30.1811) |
| Luminance | 0.8409 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Straw
#FCF679
ΔE00 1.43
Yellowish Tan
#FCFC81
ΔE00 2.04
Manilla
#FFFA86
ΔE00 2.07
Custard
#FFFD78
ΔE00 2.51
Light Yellow
#FFFE7A
ΔE00 2.60
Butter
#FFFF81
ΔE00 2.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F4F278 #787AF4
analogous
#F4B478 #F4F278 #B8F478
triadic
#F4F278 #78F4F2 #F278F4
tetradic
#F4F278 #78F4B4 #787AF4 #F478B8
square
#F4F278 #78F4B4 #787AF4 #F478B8
split-complementary
#F4F278 #78B8F4 #B478F4
monochromatic
#DFDC12 #EFED3F #F4F278 #F9F7B1 #FDFCE3
Accessibility & contrast
On white
1.18
#F4F278 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.82
#F4F278 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F4F278
17.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F4F278 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F4F278 | 1.00 | 1.18 | 17.82 | 17.82 |
| #FFFFFF | 1.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEA6C
Deuteranopia (green-blind)
#FFEF7E
Tritanopia (blue-blind)
#FFE5D6
Achromatopsia (no color)
#ECECEC
Design tokens & code
CSS
--color: #f4f278; /* rgb */ color: rgb(244, 242, 120); /* oklch */ color: oklch(93.9% 0.144 108.0);
Tailwind
colors: {
custom: {
50: '#faf6a2',
500: '#f4f278',
950: '#000000',
},
}SCSS
$custom: #f4f278; $custom-light: #faf6a2; $custom-dark: #000000;
JSON
{
"hex": "#f4f278",
"rgb": {
"r": 244,
"g": 242,
"b": 120
},
"hsl": {
"h": 59.032,
"s": 84.932,
"l": 71.373
},
"oklch": {
"l": 0.93862,
"c": 0.14433,
"h": 108
},
"luminance": 0.84093
}Semantic roles & 50–950 ramp
primary
#F4F278
secondary
#4144CF
accent
#08E104
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580