#F2DC6B#F2DC6B
#F2DC6B is a very light, vivid yellow. Relative luminance 0.711; OKLCH L 89.1% C 0.135 H 98.5°. Best body text is #000000 at 15.23:1 contrast (WCAG AA passes).
Color values
| HEX | #F2DC6B |
|---|---|
| RGB | rgb(242, 220, 107) |
| HSL | hsl(50, 84%, 68%) |
| HSV | hsv(50, 56%, 95%) |
| CMYK | cmyk(0%, 9.1%, 55.8%, 5.1%) |
| CIE-LAB | lab(87.55, -6.11, 57.35) |
| CIE-LCH | lch(87.55, 57.67, 96.08°) |
| OKLab | oklab(89.06% -0.0199 0.1338) |
| OKLCH | oklch(89.06% 0.135 98.5) |
| XYZ | xyz(64.8674, 71.1279, 24.2193) |
| Luminance | 0.7113 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand Yellow
#FCE166
ΔE00 2.10
Dull Yellow
#EEDC5B
ΔE00 2.17
Yellow Tan
#FFE36E
ΔE00 2.37
Sandy
#F1DA7A
ΔE00 2.38
Pale Gold
#FDDE6C
ΔE00 2.52
Light Gold
#FDDC5C
ΔE00 3.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2DC6B #6B81F2
analogous
#F2986B #F2DC6B #C4F26B
triadic
#F2DC6B #6BF2DC #DC6BF2
tetradic
#F2DC6B #6BF298 #6B81F2 #F26BC4
square
#F2DC6B #6BF298 #6B81F2 #F26BC4
split-complementary
#F2DC6B #6BC4F2 #986BF2
monochromatic
#D0B112 #EDCF33 #F2DC6B #F7E9A3 #FCF7DC
Accessibility & contrast
On white
1.38
#F2DC6B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.23
#F2DC6B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2DC6B
15.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2DC6B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2DC6B | 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)
#EED760
Deuteranopia (green-blind)
#F4DF70
Tritanopia (blue-blind)
#FFCEC3
Achromatopsia (no color)
#DBDBDB
Design tokens & code
CSS
--color: #f2dc6b; /* rgb */ color: rgb(242, 220, 107); /* oklch */ color: oklch(89.1% 0.135 98.5);
Tailwind
colors: {
custom: {
50: '#f9e699',
500: '#f2dc6b',
950: '#000000',
},
}SCSS
$custom: #f2dc6b; $custom-light: #f9e699; $custom-dark: #000000;
JSON
{
"hex": "#f2dc6b",
"rgb": {
"r": 242,
"g": 220,
"b": 107
},
"hsl": {
"h": 50.222,
"s": 83.851,
"l": 68.431
},
"oklch": {
"l": 0.89057,
"c": 0.13522,
"h": 98.5
},
"luminance": 0.71125
}Semantic roles & 50–950 ramp
primary
#F2DC6B
secondary
#364FCB
accent
#29E005
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F