#FFFA7E#FFFA7E
#FFFA7E is a very light, vivid yellow. Relative luminance 0.911; OKLCH L 96.5% C 0.146 H 106.8°. Best body text is #000000 at 19.23:1 contrast (WCAG AA passes).
Color values
| HEX | #FFFA7E |
|---|---|
| RGB | rgb(255, 250, 126) |
| HSL | hsl(58, 100%, 75%) |
| HSV | hsv(58, 51%, 100%) |
| CMYK | cmyk(0%, 2%, 50.6%, 0%) |
| CIE-LAB | lab(96.47, -14.28, 59.36) |
| CIE-LCH | lch(96.47, 61.05, 103.53°) |
| OKLab | oklab(96.46% -0.0421 0.1398) |
| OKLCH | oklch(96.46% 0.146 106.8) |
| XYZ | xyz(79.1936, 91.1398, 33.1547) |
| Luminance | 0.9114 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Straw
#FCF679
ΔE00 0.85
Manilla
#FFFA86
ΔE00 1.00
Custard
#FFFD78
ΔE00 1.24
Yellowish Tan
#FCFC81
ΔE00 1.24
Light Yellow
#FFFE7A
ΔE00 1.36
Butter
#FFFF81
ΔE00 1.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FFFA7E #7E83FF
analogous
#FFB97E #FFFA7E #C4FF7E
triadic
#FFFA7E #7EFFFA #FA7EFF
tetradic
#FFFA7E #7EFFB9 #7E83FF #FF7EC4
square
#FFFA7E #7EFFB9 #7E83FF #FF7EC4
split-complementary
#FFFA7E #7EC4FF #B97EFF
monochromatic
#FFF504 #FFF841 #FFFA7E #FFFCBB #FFFEE0
Accessibility & contrast
On white
1.09
#FFFA7E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
19.23
#FFFA7E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FFFA7E
19.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FFFA7E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FFFA7E | 1.00 | 1.09 | 19.23 | 19.23 |
| #FFFFFF | 1.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 19.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 19.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFF272
Deuteranopia (green-blind)
#FFF784
Tritanopia (blue-blind)
#FFECDE
Achromatopsia (no color)
#F5F5F5
Design tokens & code
CSS
--color: #fffa7e; /* rgb */ color: rgb(255, 250, 126); /* oklch */ color: oklch(96.5% 0.146 106.8);
Tailwind
colors: {
custom: {
50: '#fffba6',
500: '#fffa7e',
950: '#000000',
},
}SCSS
$custom: #fffa7e; $custom-light: #fffba6; $custom-dark: #000000;
JSON
{
"hex": "#fffa7e",
"rgb": {
"r": 255,
"g": 250,
"b": 126
},
"hsl": {
"h": 57.674,
"s": 100,
"l": 74.706
},
"oklch": {
"l": 0.96459,
"c": 0.14595,
"h": 106.8
},
"luminance": 0.91138
}Semantic roles & 50–950 ramp
primary
#FFFA7E
secondary
#4349DE
accent
#09E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#181710
muted
#868580