#FBF38E#FBF38E
#FBF38E is a very light, vivid yellow. Relative luminance 0.866; OKLCH L 94.9% C 0.123 H 104.5°. Best body text is #000000 at 18.31:1 contrast (WCAG AA passes).
Color values
| HEX | #FBF38E |
|---|---|
| RGB | rgb(251, 243, 142) |
| HSL | hsl(56, 93%, 77%) |
| HSV | hsv(56, 43%, 98%) |
| CMYK | cmyk(0%, 3.2%, 43.4%, 1.6%) |
| CIE-LAB | lab(94.55, -10.98, 49.49) |
| CIE-LCH | lch(94.55, 50.69, 102.51°) |
| OKLab | oklab(94.92% -0.0309 0.1193) |
| OKLCH | oklch(94.92% 0.123 104.5) |
| XYZ | xyz(76.7183, 86.5655, 38.2534) |
| Luminance | 0.8656 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Cream
#FFF39A
ΔE00 2.10
Buff
#FEF69E
ΔE00 2.14
Manilla
#FFFA86
ΔE00 2.40
Khaki (CSS)
#F0E68C
ΔE00 3.07
Straw
#FCF679
ΔE00 3.14
Yellowish Tan
#FCFC81
ΔE00 3.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FBF38E #8E96FB
analogous
#FBBC8E #FBF38E #CDFB8E
triadic
#FBF38E #8EFBF3 #F38EFB
tetradic
#FBF38E #8EFBBC #8E96FB #FB8ECD
square
#FBF38E #8EFBBC #8E96FB #FB8ECD
split-complementary
#FBF38E #8ECDFB #BC8EFB
monochromatic
#F7E618 #F9ED53 #FBF38E #FDF9C9 #FEFCE1
Accessibility & contrast
On white
1.15
#FBF38E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.31
#FBF38E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FBF38E
18.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FBF38E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FBF38E | 1.00 | 1.15 | 18.31 | 18.31 |
| #FFFFFF | 1.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEC86
Deuteranopia (green-blind)
#FFF292
Tritanopia (blue-blind)
#FFE7DB
Achromatopsia (no color)
#EFEFEF
Design tokens & code
CSS
--color: #fbf38e; /* rgb */ color: rgb(251, 243, 142); /* oklch */ color: oklch(94.9% 0.123 104.5);
Tailwind
colors: {
custom: {
50: '#fef6b1',
500: '#fbf38e',
950: '#000000',
},
}SCSS
$custom: #fbf38e; $custom-light: #fef6b1; $custom-dark: #000000;
JSON
{
"hex": "#fbf38e",
"rgb": {
"r": 251,
"g": 243,
"b": 142
},
"hsl": {
"h": 55.596,
"s": 93.162,
"l": 77.059
},
"oklch": {
"l": 0.94923,
"c": 0.12321,
"h": 104.5
},
"luminance": 0.86563
}Semantic roles & 50–950 ramp
primary
#FBF38E
secondary
#535DDB
accent
#11E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581