#F5F072#F5F072
#F5F072 is a very light, vivid yellow. Relative luminance 0.829; OKLCH L 93.5% C 0.148 H 106.9°. Best body text is #000000 at 17.59:1 contrast (WCAG AA passes).
Color values
| HEX | #F5F072 |
|---|---|
| RGB | rgb(245, 240, 114) |
| HSL | hsl(58, 87%, 70%) |
| HSV | hsv(58, 53%, 96%) |
| CMYK | cmyk(0%, 2%, 53.5%, 3.9%) |
| CIE-LAB | lab(92.99, -14.31, 60.52) |
| CIE-LCH | lch(92.99, 62.19, 103.30°) |
| OKLab | oklab(93.46% -0.0428 0.1413) |
| OKLCH | oklch(93.46% 0.148 106.9) |
| XYZ | xyz(71.8556, 82.9496, 28.1421) |
| Luminance | 0.8295 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Straw
#FCF679
ΔE00 1.32
Yellowish
#FAEE66
ΔE00 2.16
Sandy Yellow
#FDEE73
ΔE00 2.47
Manilla
#FFFA86
ΔE00 2.51
Yellowish Tan
#FCFC81
ΔE00 2.69
Custard
#FFFD78
ΔE00 2.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F5F072 #7277F5
analogous
#F5AE72 #F5F072 #B8F572
triadic
#F5F072 #72F5F0 #F072F5
tetradic
#F5F072 #72F5AE #7277F5 #F572B8
square
#F5F072 #72F5AE #7277F5 #F572B8
split-complementary
#F5F072 #72B8F5 #AE72F5
monochromatic
#DDD510 #F1EA39 #F5F072 #F9F6AB #FDFCE2
Accessibility & contrast
On white
1.19
#F5F072 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.59
#F5F072 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F5F072
17.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F5F072 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F5F072 | 1.00 | 1.19 | 17.59 | 17.59 |
| #FFFFFF | 1.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFE866
Deuteranopia (green-blind)
#FFED79
Tritanopia (blue-blind)
#FFE2D4
Achromatopsia (no color)
#EBEBEB
Design tokens & code
CSS
--color: #f5f072; /* rgb */ color: rgb(245, 240, 114); /* oklch */ color: oklch(93.5% 0.148 106.9);
Tailwind
colors: {
custom: {
50: '#fbf49e',
500: '#f5f072',
950: '#000000',
},
}SCSS
$custom: #f5f072; $custom-light: #fbf49e; $custom-dark: #000000;
JSON
{
"hex": "#f5f072",
"rgb": {
"r": 245,
"g": 240,
"b": 114
},
"hsl": {
"h": 57.71,
"s": 86.755,
"l": 70.392
},
"oklch": {
"l": 0.93463,
"c": 0.14761,
"h": 106.9
},
"luminance": 0.82948
}Semantic roles & 50–950 ramp
primary
#F5F072
secondary
#3C42CF
accent
#0BE302
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580