#FAF372#FAF372
#FAF372 is a very light, vivid yellow. Relative luminance 0.856; OKLCH L 94.5% C 0.150 H 106.1°. Best body text is #000000 at 18.13:1 contrast (WCAG AA passes).
Color values
| HEX | #FAF372 |
|---|---|
| RGB | rgb(250, 243, 114) |
| HSL | hsl(57, 93%, 71%) |
| HSV | hsv(57, 54%, 98%) |
| CMYK | cmyk(0%, 2.8%, 54.4%, 2%) |
| CIE-LAB | lab(94.16, -13.79, 61.96) |
| CIE-LCH | lch(94.16, 63.48, 102.54°) |
| OKLab | oklab(94.49% -0.0416 0.1443) |
| OKLCH | oklch(94.49% 0.15 106.1) |
| XYZ | xyz(74.5144, 85.6423, 28.5218) |
| Luminance | 0.8564 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Straw
#FCF679
ΔE00 0.84
Yellowish
#FAEE66
ΔE00 1.78
Sandy Yellow
#FDEE73
ΔE00 2.17
Custard
#FFFD78
ΔE00 2.21
Butter Yellow
#FFFD74
ΔE00 2.27
Manilla
#FFFA86
ΔE00 2.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FAF372 #7279FA
analogous
#FAAF72 #FAF372 #BDFA72
triadic
#FAF372 #72FAF3 #F372FA
tetradic
#FAF372 #72FAAF #7279FA #FA72BD
square
#FAF372 #72FAAF #7279FA #FA72BD
split-complementary
#FAF372 #72BDFA #AF72FA
monochromatic
#E9DE08 #F8EE37 #FAF372 #FCF8AD #FEFCE1
Accessibility & contrast
On white
1.16
#FAF372 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.13
#FAF372 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FAF372
18.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FAF372 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FAF372 | 1.00 | 1.16 | 18.13 | 18.13 |
| #FFFFFF | 1.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEB65
Deuteranopia (green-blind)
#FFF179
Tritanopia (blue-blind)
#FFE5D6
Achromatopsia (no color)
#EEEEEE
Design tokens & code
CSS
--color: #faf372; /* rgb */ color: rgb(250, 243, 114); /* oklch */ color: oklch(94.5% 0.150 106.1);
Tailwind
colors: {
custom: {
50: '#fff69e',
500: '#faf372',
950: '#000000',
},
}SCSS
$custom: #faf372; $custom-light: #fff69e; $custom-dark: #000000;
JSON
{
"hex": "#faf372",
"rgb": {
"r": 250,
"g": 243,
"b": 114
},
"hsl": {
"h": 56.912,
"s": 93.151,
"l": 71.373
},
"oklch": {
"l": 0.94488,
"c": 0.15016,
"h": 106.1
},
"luminance": 0.8564
}Semantic roles & 50–950 ramp
primary
#FAF372
secondary
#3B43D6
accent
#0CE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580