#FAF27E#FAF27E
#FAF27E is a very light, vivid yellow. Relative luminance 0.853; OKLCH L 94.4% C 0.138 H 105.2°. Best body text is #000000 at 18.07:1 contrast (WCAG AA passes).
Color values
| HEX | #FAF27E |
|---|---|
| RGB | rgb(250, 242, 126) |
| HSL | hsl(56, 93%, 74%) |
| HSV | hsv(56, 50%, 98%) |
| CMYK | cmyk(0%, 3.2%, 49.6%, 2%) |
| CIE-LAB | lab(94.03, -12.34, 56.37) |
| CIE-LCH | lch(94.03, 57.71, 102.34°) |
| OKLab | oklab(94.42% -0.0362 0.1333) |
| OKLCH | oklch(94.42% 0.138 105.2) |
| XYZ | xyz(74.9443, 85.3368, 32.2584) |
| Luminance | 0.8534 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Straw
#FCF679
ΔE00 1.33
Manilla
#FFFA86
ΔE00 1.72
Sandy Yellow
#FDEE73
ΔE00 2.12
Yellowish Tan
#FCFC81
ΔE00 2.65
Yellowish
#FAEE66
ΔE00 2.75
Custard
#FFFD78
ΔE00 2.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FAF27E #7E86FA
analogous
#FAB47E #FAF27E #C4FA7E
triadic
#FAF27E #7EFAF2 #F27EFA
tetradic
#FAF27E #7EFAB4 #7E86FA #FA7EC4
square
#FAF27E #7EFAB4 #7E86FA #FA7EC4
split-complementary
#FAF27E #7EC4FA #B47EFA
monochromatic
#F4E509 #F8EC43 #FAF27E #FCF8B9 #FEFCE2
Accessibility & contrast
On white
1.16
#FAF27E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.07
#FAF27E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FAF27E
18.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FAF27E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FAF27E | 1.00 | 1.16 | 18.07 | 18.07 |
| #FFFFFF | 1.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEB74
Deuteranopia (green-blind)
#FFF084
Tritanopia (blue-blind)
#FFE5D7
Achromatopsia (no color)
#EEEEEE
Design tokens & code
CSS
--color: #faf27e; /* rgb */ color: rgb(250, 242, 126); /* oklch */ color: oklch(94.4% 0.138 105.2);
Tailwind
colors: {
custom: {
50: '#fef6a6',
500: '#faf27e',
950: '#000000',
},
}SCSS
$custom: #faf27e; $custom-light: #fef6a6; $custom-dark: #000000;
JSON
{
"hex": "#faf27e",
"rgb": {
"r": 250,
"g": 242,
"b": 126
},
"hsl": {
"h": 56.129,
"s": 92.537,
"l": 73.725
},
"oklch": {
"l": 0.94424,
"c": 0.13816,
"h": 105.2
},
"luminance": 0.85335
}Semantic roles & 50–950 ramp
primary
#FAF27E
secondary
#454ED7
accent
#0FE600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#181710
muted
#868580