#FDF27C#FDF27C
#FDF27C is a very light, vivid yellow. Relative luminance 0.858; OKLCH L 94.6% C 0.140 H 103.9°. Best body text is #000000 at 18.17:1 contrast (WCAG AA passes).
Color values
| HEX | #FDF27C |
|---|---|
| RGB | rgb(253, 242, 124) |
| HSL | hsl(55, 97%, 74%) |
| HSV | hsv(55, 51%, 99%) |
| CMYK | cmyk(0%, 4.3%, 51%, 0.8%) |
| CIE-LAB | lab(94.25, -11.32, 57.61) |
| CIE-LCH | lch(94.25, 58.71, 101.11°) |
| OKLab | oklab(94.65% -0.0337 0.1358) |
| OKLCH | oklch(94.65% 0.14 103.9) |
| XYZ | xyz(75.9004, 85.8446, 31.6364) |
| Luminance | 0.8584 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy Yellow
#FDEE73
ΔE00 1.42
Straw
#FCF679
ΔE00 1.54
Manilla
#FFFA86
ΔE00 2.13
Yellowish
#FAEE66
ΔE00 2.31
Yellowish Tan
#FCFC81
ΔE00 3.14
Custard
#FFFD78
ΔE00 3.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FDF27C #7C87FD
analogous
#FDB27C #FDF27C #C8FD7C
triadic
#FDF27C #7CFDF2 #F27CFD
tetradic
#FDF27C #7CFDB2 #7C87FD #FD7CC8
square
#FDF27C #7CFDB2 #7C87FD #FD7CC8
split-complementary
#FDF27C #7CC8FD #B27CFD
monochromatic
#FBE604 #FCEC40 #FDF27C #FEF8B8 #FFFCE1
Accessibility & contrast
On white
1.16
#FDF27C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.17
#FDF27C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FDF27C
18.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FDF27C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FDF27C | 1.00 | 1.16 | 18.17 | 18.17 |
| #FFFFFF | 1.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEB71
Deuteranopia (green-blind)
#FFF182
Tritanopia (blue-blind)
#FFE4D7
Achromatopsia (no color)
#EEEEEE
Design tokens & code
CSS
--color: #fdf27c; /* rgb */ color: rgb(253, 242, 124); /* oklch */ color: oklch(94.6% 0.140 103.9);
Tailwind
colors: {
custom: {
50: '#fff6a5',
500: '#fdf27c',
950: '#000000',
},
}SCSS
$custom: #fdf27c; $custom-light: #fff6a5; $custom-dark: #000000;
JSON
{
"hex": "#fdf27c",
"rgb": {
"r": 253,
"g": 242,
"b": 124
},
"hsl": {
"h": 54.884,
"s": 96.992,
"l": 73.922
},
"oklch": {
"l": 0.94648,
"c": 0.13992,
"h": 103.9
},
"luminance": 0.85842
}Semantic roles & 50–950 ramp
primary
#FDF27C
secondary
#424FDB
accent
#14E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580