#FEF39B#FEF39B
#FEF39B is a very light, moderate yellow. Relative luminance 0.875; OKLCH L 95.4% C 0.109 H 102.1°. Best body text is #000000 at 18.51:1 contrast (WCAG AA passes).
Color values
| HEX | #FEF39B |
|---|---|
| RGB | rgb(254, 243, 155) |
| HSL | hsl(53, 98%, 80%) |
| HSV | hsv(53, 39%, 100%) |
| CMYK | cmyk(0%, 4.3%, 39%, 0.4%) |
| CIE-LAB | lab(94.97, -8.51, 43.74) |
| CIE-LCH | lch(94.97, 44.56, 101.01°) |
| OKLab | oklab(95.37% -0.0229 0.1069) |
| OKLCH | oklch(95.37% 0.109 102.1) |
| XYZ | xyz(78.8414, 87.5407, 43.7479) |
| Luminance | 0.8754 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Cream
#FFF39A
ΔE00 0.31
Buff
#FEF69E
ΔE00 0.96
Khaki (CSS)
#F0E68C
ΔE00 2.87
Parchment
#FEFCAF
ΔE00 3.55
Light Tan
#FBEEAC
ΔE00 4.03
Manilla
#FFFA86
ΔE00 4.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FEF39B #9BA6FE
analogous
#FEC19B #FEF39B #D8FE9B
triadic
#FEF39B #9BFEF3 #F39BFE
tetradic
#FEF39B #9BFEC1 #9BA6FE #FE9BD8
square
#FEF39B #9BFEC1 #9BA6FE #FE9BD8
split-complementary
#FEF39B #9BD8FE #C19BFE
monochromatic
#FDE422 #FDEC5E #FEF39B #FFFAD8 #FFFBE1
Accessibility & contrast
On white
1.13
#FEF39B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.51
#FEF39B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FEF39B
18.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FEF39B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FEF39B | 1.00 | 1.13 | 18.51 | 18.51 |
| #FFFFFF | 1.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFED94
Deuteranopia (green-blind)
#FFF39F
Tritanopia (blue-blind)
#FFE8DD
Achromatopsia (no color)
#F0F0F0
Design tokens & code
CSS
--color: #fef39b; /* rgb */ color: rgb(254, 243, 155); /* oklch */ color: oklch(95.4% 0.109 102.1);
Tailwind
colors: {
custom: {
50: '#fff6b9',
500: '#fef39b',
950: '#000000',
},
}SCSS
$custom: #fef39b; $custom-light: #fff6b9; $custom-dark: #000000;
JSON
{
"hex": "#fef39b",
"rgb": {
"r": 254,
"g": 243,
"b": 155
},
"hsl": {
"h": 53.333,
"s": 98.02,
"l": 80.196
},
"oklch": {
"l": 0.95365,
"c": 0.10936,
"h": 102.1
},
"luminance": 0.87539
}Semantic roles & 50–950 ramp
primary
#FEF39B
secondary
#5C6BE1
accent
#1AE600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581