#F2DF6C#F2DF6C
#F2DF6C is a very light, vivid yellow. Relative luminance 0.727; OKLCH L 89.7% C 0.137 H 100.1°. Best body text is #000000 at 15.55:1 contrast (WCAG AA passes).
Color values
| HEX | #F2DF6C |
|---|---|
| RGB | rgb(242, 223, 108) |
| HSL | hsl(51, 84%, 69%) |
| HSV | hsv(51, 55%, 95%) |
| CMYK | cmyk(0%, 7.9%, 55.4%, 5.1%) |
| CIE-LAB | lab(88.32, -7.54, 57.79) |
| CIE-LCH | lch(88.32, 58.28, 97.44°) |
| OKLab | oklab(89.68% -0.0239 0.1348) |
| OKLCH | oklch(89.68% 0.137 100.1) |
| XYZ | xyz(65.7147, 72.7379, 24.7627) |
| Luminance | 0.7274 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 1.84
Sand Yellow
#FCE166
ΔE00 2.36
Yellow Tan
#FFE36E
ΔE00 2.65
Sandy
#F1DA7A
ΔE00 2.97
Pale Gold
#FDDE6C
ΔE00 3.23
Sandy Yellow
#FDEE73
ΔE00 3.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2DF6C #6C7FF2
analogous
#F29C6C #F2DF6C #C2F26C
triadic
#F2DF6C #6CF2DF #DF6CF2
tetradic
#F2DF6C #6CF29C #6C7FF2 #F26CC2
square
#F2DF6C #6CF29C #6C7FF2 #F26CC2
split-complementary
#F2DF6C #6CC2F2 #9C6CF2
monochromatic
#D1B612 #EDD334 #F2DF6C #F7EBA4 #FCF7DC
Accessibility & contrast
On white
1.35
#F2DF6C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.55
#F2DF6C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2DF6C
15.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2DF6C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2DF6C | 1.00 | 1.35 | 15.55 | 15.55 |
| #FFFFFF | 1.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F1D961
Deuteranopia (green-blind)
#F7E171
Tritanopia (blue-blind)
#FFD1C5
Achromatopsia (no color)
#DEDEDE
Design tokens & code
CSS
--color: #f2df6c; /* rgb */ color: rgb(242, 223, 108); /* oklch */ color: oklch(89.7% 0.137 100.1);
Tailwind
colors: {
custom: {
50: '#f9e899',
500: '#f2df6c',
950: '#000000',
},
}SCSS
$custom: #f2df6c; $custom-light: #f9e899; $custom-dark: #000000;
JSON
{
"hex": "#f2df6c",
"rgb": {
"r": 242,
"g": 223,
"b": 108
},
"hsl": {
"h": 51.493,
"s": 83.75,
"l": 68.627
},
"oklch": {
"l": 0.89675,
"c": 0.1369,
"h": 100.1
},
"luminance": 0.72735
}Semantic roles & 50–950 ramp
primary
#F2DF6C
secondary
#374CCB
accent
#24E005
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F