#FAF55F#FAF55F
#FAF55F is a very light, vivid yellow. Relative luminance 0.865; OKLCH L 94.7% C 0.168 H 107.4°. Best body text is #000000 at 18.29:1 contrast (WCAG AA passes).
Color values
| HEX | #FAF55F |
|---|---|
| RGB | rgb(250, 245, 95) |
| HSL | hsl(58, 94%, 68%) |
| HSV | hsv(58, 62%, 98%) |
| CMYK | cmyk(0%, 2%, 62%, 2%) |
| CIE-LAB | lab(94.51, -16.05, 70.38) |
| CIE-LCH | lch(94.51, 72.19, 102.85°) |
| OKLab | oklab(94.71% -0.05 0.1599) |
| OKLCH | oklch(94.71% 0.168 107.4) |
| XYZ | xyz(74.1448, 86.4574, 23.6065) |
| Luminance | 0.8646 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pastel Yellow
#FFFE71
ΔE00 2.26
Butter Yellow
#FFFD74
ΔE00 2.29
Yellowish
#FAEE66
ΔE00 2.32
Canary
#FDFF63
ΔE00 2.36
Custard
#FFFD78
ΔE00 2.61
Straw
#FCF679
ΔE00 2.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FAF55F #5F64FA
analogous
#FAA85F #FAF55F #B1FA5F
triadic
#FAF55F #5FFAF5 #F55FFA
tetradic
#FAF55F #5FFAA8 #5F64FA #FA5FB1
square
#FAF55F #5FFAA8 #5F64FA #FA5FB1
split-complementary
#FAF55F #5FB1FA #A85FFA
monochromatic
#D8D107 #F8F124 #FAF55F #FCF99A #FEFCD6
Accessibility & contrast
On white
1.15
#FAF55F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.29
#FAF55F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FAF55F
18.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FAF55F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FAF55F | 1.00 | 1.15 | 18.29 | 18.29 |
| #FFFFFF | 1.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEC4C
Deuteranopia (green-blind)
#FFF268
Tritanopia (blue-blind)
#FFE6D6
Achromatopsia (no color)
#EFEFEF
Design tokens & code
CSS
--color: #faf55f; /* rgb */ color: rgb(250, 245, 95); /* oklch */ color: oklch(94.7% 0.168 107.4);
Tailwind
colors: {
custom: {
50: '#fff893',
500: '#faf55f',
950: '#000000',
},
}SCSS
$custom: #faf55f; $custom-light: #fff893; $custom-dark: #000000;
JSON
{
"hex": "#faf55f",
"rgb": {
"r": 250,
"g": 245,
"b": 95
},
"hsl": {
"h": 58.065,
"s": 93.939,
"l": 67.647
},
"oklch": {
"l": 0.94712,
"c": 0.1675,
"h": 107.4
},
"luminance": 0.86455
}Semantic roles & 50–950 ramp
primary
#FAF55F
secondary
#2B31D2
accent
#07E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170D
muted
#86857F