#F2DC6D#F2DC6D
#F2DC6D is a very light, vivid yellow. Relative luminance 0.712; OKLCH L 89.1% C 0.133 H 98.3°. Best body text is #000000 at 15.23:1 contrast (WCAG AA passes).
Color values
| HEX | #F2DC6D |
|---|---|
| RGB | rgb(242, 220, 109) |
| HSL | hsl(50, 84%, 69%) |
| HSV | hsv(50, 55%, 95%) |
| CMYK | cmyk(0%, 9.1%, 55%, 5.1%) |
| CIE-LAB | lab(87.57, -5.96, 56.46) |
| CIE-LCH | lch(87.57, 56.77, 96.02°) |
| OKLab | oklab(89.08% -0.0192 0.132) |
| OKLCH | oklch(89.08% 0.133 98.3) |
| XYZ | xyz(64.9738, 71.1704, 24.7798) |
| Luminance | 0.7117 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 2.13
Sand Yellow
#FCE166
ΔE00 2.24
Dull Yellow
#EEDC5B
ΔE00 2.40
Yellow Tan
#FFE36E
ΔE00 2.41
Pale Gold
#FDDE6C
ΔE00 2.52
Light Gold
#FDDC5C
ΔE00 3.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2DC6D #6D83F2
analogous
#F29A6D #F2DC6D #C6F26D
triadic
#F2DC6D #6DF2DC #DC6DF2
tetradic
#F2DC6D #6DF29A #6D83F2 #F26DC6
square
#F2DC6D #6DF29A #6D83F2 #F26DC6
split-complementary
#F2DC6D #6DC6F2 #9A6DF2
monochromatic
#D2B213 #EDCF35 #F2DC6D #F7E9A5 #FCF7DD
Accessibility & contrast
On white
1.38
#F2DC6D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.23
#F2DC6D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2DC6D
15.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2DC6D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2DC6D | 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)
#EED762
Deuteranopia (green-blind)
#F4DF72
Tritanopia (blue-blind)
#FFCEC3
Achromatopsia (no color)
#DBDBDB
Design tokens & code
CSS
--color: #f2dc6d; /* rgb */ color: rgb(242, 220, 109); /* oklch */ color: oklch(89.1% 0.133 98.3);
Tailwind
colors: {
custom: {
50: '#f9e69a',
500: '#f2dc6d',
950: '#000000',
},
}SCSS
$custom: #f2dc6d; $custom-light: #f9e69a; $custom-dark: #000000;
JSON
{
"hex": "#f2dc6d",
"rgb": {
"r": 242,
"g": 220,
"b": 109
},
"hsl": {
"h": 50.075,
"s": 83.648,
"l": 68.824
},
"oklch": {
"l": 0.8908,
"c": 0.13343,
"h": 98.3
},
"luminance": 0.71168
}Semantic roles & 50–950 ramp
primary
#F2DC6D
secondary
#3850CB
accent
#2AE005
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F