#F2DD6F#F2DD6F
#F2DD6F is a very light, vivid yellow. Relative luminance 0.717; OKLCH L 89.3% C 0.132 H 98.7°. Best body text is #000000 at 15.35:1 contrast (WCAG AA passes).
Color values
| HEX | #F2DD6F |
|---|---|
| RGB | rgb(242, 221, 111) |
| HSL | hsl(50, 83%, 69%) |
| HSV | hsv(50, 54%, 95%) |
| CMYK | cmyk(0%, 8.7%, 54.1%, 5.1%) |
| CIE-LAB | lab(87.84, -6.31, 55.86) |
| CIE-LCH | lch(87.84, 56.21, 96.44°) |
| OKLab | oklab(89.31% -0.02 0.1309) |
| OKLCH | oklch(89.31% 0.132 98.7) |
| XYZ | xyz(65.3459, 71.7405, 25.4411) |
| Luminance | 0.7174 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 2.11
Sand Yellow
#FCE166
ΔE00 2.38
Dull Yellow
#EEDC5B
ΔE00 2.45
Yellow Tan
#FFE36E
ΔE00 2.50
Pale Gold
#FDDE6C
ΔE00 2.74
Wheat (survey)
#FBDD7E
ΔE00 3.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2DD6F #6F84F2
analogous
#F29C6F #F2DD6F #C5F26F
triadic
#F2DD6F #6FF2DD #DD6FF2
tetradic
#F2DD6F #6FF29C #6F84F2 #F26FC5
square
#F2DD6F #6FF29C #6F84F2 #F26FC5
split-complementary
#F2DD6F #6FC5F2 #9C6FF2
monochromatic
#D4B513 #EDD037 #F2DD6F #F7EAA7 #FCF8DF
Accessibility & contrast
On white
1.37
#F2DD6F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.35
#F2DD6F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2DD6F
15.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2DD6F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2DD6F | 1.00 | 1.37 | 15.35 | 15.35 |
| #FFFFFF | 1.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EFD865
Deuteranopia (green-blind)
#F5E074
Tritanopia (blue-blind)
#FFCFC4
Achromatopsia (no color)
#DCDCDC
Design tokens & code
CSS
--color: #f2dd6f; /* rgb */ color: rgb(242, 221, 111); /* oklch */ color: oklch(89.3% 0.132 98.7);
Tailwind
colors: {
custom: {
50: '#f9e79b',
500: '#f2dd6f',
950: '#000000',
},
}SCSS
$custom: #f2dd6f; $custom-light: #f9e79b; $custom-dark: #000000;
JSON
{
"hex": "#f2dd6f",
"rgb": {
"r": 242,
"g": 221,
"b": 111
},
"hsl": {
"h": 50.382,
"s": 83.439,
"l": 69.216
},
"oklch": {
"l": 0.89306,
"c": 0.13246,
"h": 98.7
},
"luminance": 0.71738
}Semantic roles & 50–950 ramp
primary
#F2DD6F
secondary
#3A51CB
accent
#29E006
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F