#FAF27A#FAF27A
#FAF27A is a very light, vivid yellow. Relative luminance 0.852; OKLCH L 94.4% C 0.142 H 105.4°. Best body text is #000000 at 18.05:1 contrast (WCAG AA passes).
Color values
| HEX | #FAF27A |
|---|---|
| RGB | rgb(250, 242, 122) |
| HSL | hsl(56, 93%, 73%) |
| HSV | hsv(56, 51%, 98%) |
| CMYK | cmyk(0%, 3.2%, 51.2%, 2%) |
| CIE-LAB | lab(93.98, -12.67, 58.16) |
| CIE-LCH | lch(93.98, 59.52, 102.29°) |
| OKLab | oklab(94.38% -0.0376 0.1369) |
| OKLCH | oklch(94.38% 0.142 105.4) |
| XYZ | xyz(74.6914, 85.2356, 30.9262) |
| Luminance | 0.8523 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Straw
#FCF679
ΔE00 1.02
Manilla
#FFFA86
ΔE00 1.85
Sandy Yellow
#FDEE73
ΔE00 1.93
Yellowish
#FAEE66
ΔE00 2.32
Yellowish Tan
#FCFC81
ΔE00 2.60
Custard
#FFFD78
ΔE00 2.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FAF27A #7A82FA
analogous
#FAB27A #FAF27A #C2FA7A
triadic
#FAF27A #7AFAF2 #F27AFA
tetradic
#FAF27A #7AFAB2 #7A82FA #FA7AC2
square
#FAF27A #7AFAB2 #7A82FA #FA7AC2
split-complementary
#FAF27A #7AC2FA #B27AFA
monochromatic
#F1E209 #F8EC3F #FAF27A #FCF8B5 #FEFCE2
Accessibility & contrast
On white
1.16
#FAF27A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.05
#FAF27A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FAF27A
18.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FAF27A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FAF27A | 1.00 | 1.16 | 18.05 | 18.05 |
| #FFFFFF | 1.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEB6F
Deuteranopia (green-blind)
#FFF080
Tritanopia (blue-blind)
#FFE5D7
Achromatopsia (no color)
#EEEEEE
Design tokens & code
CSS
--color: #faf27a; /* rgb */ color: rgb(250, 242, 122); /* oklch */ color: oklch(94.4% 0.142 105.4);
Tailwind
colors: {
custom: {
50: '#fef6a3',
500: '#faf27a',
950: '#000000',
},
}SCSS
$custom: #faf27a; $custom-light: #fef6a3; $custom-dark: #000000;
JSON
{
"hex": "#faf27a",
"rgb": {
"r": 250,
"g": 242,
"b": 122
},
"hsl": {
"h": 56.25,
"s": 92.754,
"l": 72.941
},
"oklch": {
"l": 0.94375,
"c": 0.14194,
"h": 105.4
},
"luminance": 0.85233
}Semantic roles & 50–950 ramp
primary
#FAF27A
secondary
#414BD7
accent
#0EE600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580