#F2CD45#F2CD45
#F2CD45 is a very light, vivid yellow. Relative luminance 0.630; OKLCH L 85.7% C 0.153 H 93.3°. Best body text is #000000 at 13.59:1 contrast (WCAG AA passes).
Color values
| HEX | #F2CD45 |
|---|---|
| RGB | rgb(242, 205, 69) |
| HSL | hsl(47, 87%, 61%) |
| HSV | hsv(47, 71%, 95%) |
| CMYK | cmyk(0%, 15.3%, 71.5%, 5.1%) |
| CIE-LAB | lab(83.43, -0.78, 68.95) |
| CIE-LCH | lch(83.43, 68.95, 90.65°) |
| OKLab | oklab(85.7% -0.0089 0.1529) |
| OKLCH | oklch(85.7% 0.153 93.3) |
| XYZ | xyz(59.5266, 62.9730, 14.6487) |
| Luminance | 0.6297 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Maize
#F4D054
ΔE00 1.40
Light Mustard
#F7D560
ΔE00 2.76
Light Gold
#FDDC5C
ΔE00 3.56
Pale Gold
#FDDE6C
ΔE00 4.65
Gold
#FFD700
ΔE00 4.67
Golden Yellow
#FEC615
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2CD45 #456AF2
analogous
#F27645 #F2CD45 #C0F245
triadic
#F2CD45 #45F2CD #CD45F2
tetradic
#F2CD45 #45F276 #456AF2 #F245C0
square
#F2CD45 #45F276 #456AF2 #F245C0
split-complementary
#F2CD45 #45C0F2 #7645F2
monochromatic
#B08D0C #E9BB10 #F2CD45 #F6DC7E #FAECB7
Accessibility & contrast
On white
1.54
#F2CD45 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.59
#F2CD45 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2CD45
13.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2CD45 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2CD45 | 1.00 | 1.54 | 13.59 | 13.59 |
| #FFFFFF | 1.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E3CA30
Deuteranopia (green-blind)
#ECD54D
Tritanopia (blue-blind)
#FFBDB2
Achromatopsia (no color)
#D0D0D0
Design tokens & code
CSS
--color: #f2cd45; /* rgb */ color: rgb(242, 205, 69); /* oklch */ color: oklch(85.7% 0.153 93.3);
Tailwind
colors: {
custom: {
50: '#fbdb81',
500: '#f2cd45',
950: '#000000',
},
}SCSS
$custom: #f2cd45; $custom-light: #fbdb81; $custom-dark: #000000;
JSON
{
"hex": "#f2cd45",
"rgb": {
"r": 242,
"g": 205,
"b": 69
},
"hsl": {
"h": 47.168,
"s": 86.935,
"l": 60.98
},
"oklch": {
"l": 0.85697,
"c": 0.15316,
"h": 93.3
},
"luminance": 0.6297
}Semantic roles & 50–950 ramp
primary
#F2CD45
secondary
#2B47B0
accent
#32E302
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#18140B
muted
#86837E