#F2DC6A#F2DC6A
#F2DC6A is a very light, vivid yellow. Relative luminance 0.711; OKLCH L 89.0% C 0.136 H 98.5°. Best body text is #000000 at 15.22:1 contrast (WCAG AA passes).
Color values
| HEX | #F2DC6A |
|---|---|
| RGB | rgb(242, 220, 106) |
| HSL | hsl(50, 84%, 68%) |
| HSV | hsv(50, 56%, 95%) |
| CMYK | cmyk(0%, 9.1%, 56.2%, 5.1%) |
| CIE-LAB | lab(87.54, -6.18, 57.79) |
| CIE-LCH | lch(87.54, 58.12, 96.11°) |
| OKLab | oklab(89.05% -0.0202 0.1346) |
| OKLCH | oklch(89.05% 0.136 98.5) |
| XYZ | xyz(64.8151, 71.1069, 23.9438) |
| Luminance | 0.7110 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand Yellow
#FCE166
ΔE00 2.04
Dull Yellow
#EEDC5B
ΔE00 2.06
Yellow Tan
#FFE36E
ΔE00 2.36
Sandy
#F1DA7A
ΔE00 2.50
Pale Gold
#FDDE6C
ΔE00 2.53
Light Gold
#FDDC5C
ΔE00 3.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2DC6A #6A80F2
analogous
#F2986A #F2DC6A #C4F26A
triadic
#F2DC6A #6AF2DC #DC6AF2
tetradic
#F2DC6A #6AF298 #6A80F2 #F26AC4
square
#F2DC6A #6AF298 #6A80F2 #F26AC4
split-complementary
#F2DC6A #6AC4F2 #986AF2
monochromatic
#CFB112 #EDCF32 #F2DC6A #F7E9A2 #FCF6DB
Accessibility & contrast
On white
1.38
#F2DC6A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.22
#F2DC6A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2DC6A
15.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2DC6A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2DC6A | 1.00 | 1.38 | 15.22 | 15.22 |
| #FFFFFF | 1.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EED75F
Deuteranopia (green-blind)
#F5DF6F
Tritanopia (blue-blind)
#FFCEC3
Achromatopsia (no color)
#DBDBDB
Design tokens & code
CSS
--color: #f2dc6a; /* rgb */ color: rgb(242, 220, 106); /* oklch */ color: oklch(89.0% 0.136 98.5);
Tailwind
colors: {
custom: {
50: '#f9e698',
500: '#f2dc6a',
950: '#000000',
},
}SCSS
$custom: #f2dc6a; $custom-light: #f9e698; $custom-dark: #000000;
JSON
{
"hex": "#f2dc6a",
"rgb": {
"r": 242,
"g": 220,
"b": 106
},
"hsl": {
"h": 50.294,
"s": 83.951,
"l": 68.235
},
"oklch": {
"l": 0.89046,
"c": 0.13611,
"h": 98.5
},
"luminance": 0.71104
}Semantic roles & 50–950 ramp
primary
#F2DC6A
secondary
#364ECB
accent
#29E005
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F