#F9F273#F9F273
#F9F273 is a very light, vivid yellow. Relative luminance 0.849; OKLCH L 94.2% C 0.148 H 106.0°. Best body text is #000000 at 17.98:1 contrast (WCAG AA passes).
Color values
| HEX | #F9F273 |
|---|---|
| RGB | rgb(249, 242, 115) |
| HSL | hsl(57, 92%, 71%) |
| HSV | hsv(57, 54%, 98%) |
| CMYK | cmyk(0%, 2.8%, 53.8%, 2.4%) |
| CIE-LAB | lab(93.83, -13.62, 61.12) |
| CIE-LCH | lch(93.83, 62.62, 102.56°) |
| OKLab | oklab(94.21% -0.041 0.1426) |
| OKLCH | oklch(94.21% 0.148 106) |
| XYZ | xyz(73.9157, 84.8840, 28.7070) |
| Luminance | 0.8488 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Straw
#FCF679
ΔE00 0.89
Yellowish
#FAEE66
ΔE00 1.82
Sandy Yellow
#FDEE73
ΔE00 2.07
Manilla
#FFFA86
ΔE00 2.26
Custard
#FFFD78
ΔE00 2.41
Butter Yellow
#FFFD74
ΔE00 2.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F9F273 #737AF9
analogous
#F9AF73 #F9F273 #BDF973
triadic
#F9F273 #73F9F2 #F273F9
tetradic
#F9F273 #73F9AF #737AF9 #F973BD
square
#F9F273 #73F9AF #737AF9 #F973BD
split-complementary
#F9F273 #73BDF9 #AF73F9
monochromatic
#E8DC0A #F6ED38 #F9F273 #FCF7AE #FEFCE2
Accessibility & contrast
On white
1.17
#F9F273 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.98
#F9F273 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F9F273
17.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F9F273 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F9F273 | 1.00 | 1.17 | 17.98 | 17.98 |
| #FFFFFF | 1.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEA66
Deuteranopia (green-blind)
#FFF07A
Tritanopia (blue-blind)
#FFE4D6
Achromatopsia (no color)
#EDEDED
Design tokens & code
CSS
--color: #f9f273; /* rgb */ color: rgb(249, 242, 115); /* oklch */ color: oklch(94.2% 0.148 106.0);
Tailwind
colors: {
custom: {
50: '#fef69f',
500: '#f9f273',
950: '#000000',
},
}SCSS
$custom: #f9f273; $custom-light: #fef69f; $custom-dark: #000000;
JSON
{
"hex": "#f9f273",
"rgb": {
"r": 249,
"g": 242,
"b": 115
},
"hsl": {
"h": 56.866,
"s": 91.781,
"l": 71.373
},
"oklch": {
"l": 0.94212,
"c": 0.14837,
"h": 106
},
"luminance": 0.84882
}Semantic roles & 50–950 ramp
primary
#F9F273
secondary
#3C44D4
accent
#0CE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580