#F2DC6C#F2DC6C
#F2DC6C is a very light, vivid yellow. Relative luminance 0.711; OKLCH L 89.1% C 0.134 H 98.4°. Best body text is #000000 at 15.23:1 contrast (WCAG AA passes).
Color values
| HEX | #F2DC6C |
|---|---|
| RGB | rgb(242, 220, 108) |
| HSL | hsl(50, 84%, 69%) |
| HSV | hsv(50, 55%, 95%) |
| CMYK | cmyk(0%, 9.1%, 55.4%, 5.1%) |
| CIE-LAB | lab(87.56, -6.03, 56.90) |
| CIE-LCH | lch(87.56, 57.22, 96.05°) |
| OKLab | oklab(89.07% -0.0196 0.1329) |
| OKLCH | oklch(89.07% 0.134 98.4) |
| XYZ | xyz(64.9203, 71.1490, 24.4979) |
| Luminance | 0.7115 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand Yellow
#FCE166
ΔE00 2.17
Sandy
#F1DA7A
ΔE00 2.26
Dull Yellow
#EEDC5B
ΔE00 2.29
Yellow Tan
#FFE36E
ΔE00 2.39
Pale Gold
#FDDE6C
ΔE00 2.52
Light Gold
#FDDC5C
ΔE00 3.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2DC6C #6C82F2
analogous
#F2996C #F2DC6C #C5F26C
triadic
#F2DC6C #6CF2DC #DC6CF2
tetradic
#F2DC6C #6CF299 #6C82F2 #F26CC5
square
#F2DC6C #6CF299 #6C82F2 #F26CC5
split-complementary
#F2DC6C #6CC5F2 #996CF2
monochromatic
#D1B212 #EDCF34 #F2DC6C #F7E9A4 #FCF7DC
Accessibility & contrast
On white
1.38
#F2DC6C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.23
#F2DC6C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2DC6C
15.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2DC6C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2DC6C | 1.00 | 1.38 | 15.23 | 15.23 |
| #FFFFFF | 1.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EED761
Deuteranopia (green-blind)
#F4DF71
Tritanopia (blue-blind)
#FFCEC3
Achromatopsia (no color)
#DBDBDB
Design tokens & code
CSS
--color: #f2dc6c; /* rgb */ color: rgb(242, 220, 108); /* oklch */ color: oklch(89.1% 0.134 98.4);
Tailwind
colors: {
custom: {
50: '#f9e699',
500: '#f2dc6c',
950: '#000000',
},
}SCSS
$custom: #f2dc6c; $custom-light: #f9e699; $custom-dark: #000000;
JSON
{
"hex": "#f2dc6c",
"rgb": {
"r": 242,
"g": 220,
"b": 108
},
"hsl": {
"h": 50.149,
"s": 83.75,
"l": 68.627
},
"oklch": {
"l": 0.89069,
"c": 0.13433,
"h": 98.4
},
"luminance": 0.71146
}Semantic roles & 50–950 ramp
primary
#F2DC6C
secondary
#3750CB
accent
#29E005
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F