#FAE798#FAE798
#FAE798 is a very light, moderate yellow. Relative luminance 0.797; OKLCH L 92.6% C 0.101 H 96.3°. Best body text is #000000 at 16.95:1 contrast (WCAG AA passes).
Color values
| HEX | #FAE798 |
|---|---|
| RGB | rgb(250, 231, 152) |
| HSL | hsl(48, 91%, 79%) |
| HSV | hsv(48, 39%, 98%) |
| CMYK | cmyk(0%, 7.6%, 39.2%, 2%) |
| CIE-LAB | lab(91.57, -4.38, 40.79) |
| CIE-LCH | lch(91.57, 41.03, 96.12°) |
| OKLab | oklab(92.58% -0.011 0.1001) |
| OKLCH | oklch(92.58% 0.101 96.3) |
| XYZ | xyz(73.6693, 79.7452, 41.2114) |
| Luminance | 0.7974 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Tan
#FBEEAC
ΔE00 3.20
Khaki (CSS)
#F0E68C
ΔE00 3.26
Dark Cream
#FFF39A
ΔE00 3.40
Sandy
#F1DA7A
ΔE00 4.11
Vanilla
#F3E5AB
ΔE00 4.18
Wheat (survey)
#FBDD7E
ΔE00 4.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FAE798 #98ABFA
analogous
#FAB698 #FAE798 #DCFA98
triadic
#FAE798 #98FAE7 #E798FA
tetradic
#FAE798 #98FAB6 #98ABFA #FA98DC
square
#FAE798 #98FAB6 #98ABFA #FA98DC
split-complementary
#FAE798 #98DCFA #B698FA
monochromatic
#F4CC23 #F7D95E #FAE798 #FDF5D2 #FEF8E2
Accessibility & contrast
On white
1.24
#FAE798 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.95
#FAE798 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FAE798
16.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FAE798 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FAE798 | 1.00 | 1.24 | 16.95 | 16.95 |
| #FFFFFF | 1.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F6E392
Deuteranopia (green-blind)
#FBEA9B
Tritanopia (blue-blind)
#FFDCD3
Achromatopsia (no color)
#E7E7E7
Design tokens & code
CSS
--color: #fae798; /* rgb */ color: rgb(250, 231, 152); /* oklch */ color: oklch(92.6% 0.101 96.3);
Tailwind
colors: {
custom: {
50: '#fdeeb7',
500: '#fae798',
950: '#000000',
},
}SCSS
$custom: #fae798; $custom-light: #fdeeb7; $custom-dark: #000000;
JSON
{
"hex": "#fae798",
"rgb": {
"r": 250,
"g": 231,
"b": 152
},
"hsl": {
"h": 48.367,
"s": 90.741,
"l": 78.824
},
"oklch": {
"l": 0.92584,
"c": 0.10069,
"h": 96.3
},
"luminance": 0.79743
}Semantic roles & 50–950 ramp
primary
#FAE798
secondary
#5C74DB
accent
#2CE600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181611
muted
#868581