#FAF47E#FAF47E
#FAF47E is a very light, vivid yellow. Relative luminance 0.865; OKLCH L 94.8% C 0.140 H 106.2°. Best body text is #000000 at 18.31:1 contrast (WCAG AA passes).
Color values
| HEX | #FAF47E |
|---|---|
| RGB | rgb(250, 244, 126) |
| HSL | hsl(57, 93%, 74%) |
| HSV | hsv(57, 50%, 98%) |
| CMYK | cmyk(0%, 2.4%, 49.6%, 2%) |
| CIE-LAB | lab(94.54, -13.32, 56.98) |
| CIE-LCH | lch(94.54, 58.52, 103.15°) |
| OKLab | oklab(94.83% -0.039 0.1347) |
| OKLCH | oklch(94.83% 0.14 106.2) |
| XYZ | xyz(75.5428, 86.5338, 32.4580) |
| Luminance | 0.8653 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Straw
#FCF679
ΔE00 0.92
Manilla
#FFFA86
ΔE00 1.28
Yellowish Tan
#FCFC81
ΔE00 2.03
Custard
#FFFD78
ΔE00 2.45
Pale Yellow
#FFFF84
ΔE00 2.48
Butter
#FFFF81
ΔE00 2.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FAF47E #7E84FA
analogous
#FAB67E #FAF47E #C2FA7E
triadic
#FAF47E #7EFAF4 #F47EFA
tetradic
#FAF47E #7EFAB6 #7E84FA #FA7EC2
square
#FAF47E #7EFAB6 #7E84FA #FA7EC2
split-complementary
#FAF47E #7EC2FA #B67EFA
monochromatic
#F4E909 #F8EF43 #FAF47E #FCF9B9 #FEFCE2
Accessibility & contrast
On white
1.15
#FAF47E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.31
#FAF47E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FAF47E
18.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FAF47E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FAF47E | 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)
#FFEC73
Deuteranopia (green-blind)
#FFF284
Tritanopia (blue-blind)
#FFE7D9
Achromatopsia (no color)
#EFEFEF
Design tokens & code
CSS
--color: #faf47e; /* rgb */ color: rgb(250, 244, 126); /* oklch */ color: oklch(94.8% 0.140 106.2);
Tailwind
colors: {
custom: {
50: '#fef7a6',
500: '#faf47e',
950: '#000000',
},
}SCSS
$custom: #faf47e; $custom-light: #fef7a6; $custom-dark: #000000;
JSON
{
"hex": "#faf47e",
"rgb": {
"r": 250,
"g": 244,
"b": 126
},
"hsl": {
"h": 57.097,
"s": 92.537,
"l": 73.725
},
"oklch": {
"l": 0.94831,
"c": 0.1402,
"h": 106.2
},
"luminance": 0.86532
}Semantic roles & 50–950 ramp
primary
#FAF47E
secondary
#454CD7
accent
#0BE600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#181710
muted
#868580