#FFFA7F#FFFA7F
#FFFA7F is a very light, vivid yellow. Relative luminance 0.912; OKLCH L 96.5% C 0.145 H 106.7°. Best body text is #000000 at 19.23:1 contrast (WCAG AA passes).
Color values
| HEX | #FFFA7F |
|---|---|
| RGB | rgb(255, 250, 127) |
| HSL | hsl(58, 100%, 75%) |
| HSV | hsv(58, 50%, 100%) |
| CMYK | cmyk(0%, 2%, 50.2%, 0%) |
| CIE-LAB | lab(96.48, -14.20, 58.92) |
| CIE-LCH | lch(96.48, 60.60, 103.55°) |
| OKLab | oklab(96.47% -0.0417 0.1389) |
| OKLCH | oklch(96.47% 0.145 106.7) |
| XYZ | xyz(79.2584, 91.1657, 33.4962) |
| Luminance | 0.9116 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Manilla
#FFFA86
ΔE00 0.88
Straw
#FCF679
ΔE00 0.89
Yellowish Tan
#FCFC81
ΔE00 1.22
Custard
#FFFD78
ΔE00 1.33
Light Yellow
#FFFE7A
ΔE00 1.43
Butter
#FFFF81
ΔE00 1.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FFFA7F #7F84FF
analogous
#FFBA7F #FFFA7F #C4FF7F
triadic
#FFFA7F #7FFFFA #FA7FFF
tetradic
#FFFA7F #7FFFBA #7F84FF #FF7FC4
square
#FFFA7F #7FFFBA #7F84FF #FF7FC4
split-complementary
#FFFA7F #7FC4FF #BA7FFF
monochromatic
#FFF505 #FFF842 #FFFA7F #FFFCBC #FFFEE0
Accessibility & contrast
On white
1.09
#FFFA7F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
19.23
#FFFA7F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FFFA7F
19.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FFFA7F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FFFA7F | 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)
#FFF274
Deuteranopia (green-blind)
#FFF785
Tritanopia (blue-blind)
#FFECDE
Achromatopsia (no color)
#F5F5F5
Design tokens & code
CSS
--color: #fffa7f; /* rgb */ color: rgb(255, 250, 127); /* oklch */ color: oklch(96.5% 0.145 106.7);
Tailwind
colors: {
custom: {
50: '#fffba7',
500: '#fffa7f',
950: '#000000',
},
}SCSS
$custom: #fffa7f; $custom-light: #fffba7; $custom-dark: #000000;
JSON
{
"hex": "#fffa7f",
"rgb": {
"r": 255,
"g": 250,
"b": 127
},
"hsl": {
"h": 57.656,
"s": 100,
"l": 74.902
},
"oklch": {
"l": 0.96471,
"c": 0.14501,
"h": 106.7
},
"luminance": 0.91164
}Semantic roles & 50–950 ramp
primary
#FFFA7F
secondary
#444ADE
accent
#09E600
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581