#F2CD3F#F2CD3F
#F2CD3F is a very light, vivid yellow. Relative luminance 0.629; OKLCH L 85.7% C 0.157 H 93.8°. Best body text is #000000 at 13.58:1 contrast (WCAG AA passes).
Color values
| HEX | #F2CD3F |
|---|---|
| RGB | rgb(242, 205, 63) |
| HSL | hsl(48, 87%, 60%) |
| HSV | hsv(48, 74%, 95%) |
| CMYK | cmyk(0%, 15.3%, 74%, 5.1%) |
| CIE-LAB | lab(83.39, -1.05, 71.10) |
| CIE-LCH | lch(83.39, 71.11, 90.84°) |
| OKLab | oklab(85.66% -0.0103 0.1564) |
| OKLCH | oklch(85.66% 0.157 93.8) |
| XYZ | xyz(59.3497, 62.9022, 13.7170) |
| Luminance | 0.6290 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Maize
#F4D054
ΔE00 1.88
Light Mustard
#F7D560
ΔE00 3.17
Light Gold
#FDDC5C
ΔE00 3.71
Gold
#FFD700
ΔE00 4.23
Sunflower Yellow
#FFDA03
ΔE00 4.68
Golden Yellow
#FEC615
ΔE00 4.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2CD3F #3F64F2
analogous
#F2743F #F2CD3F #BDF23F
triadic
#F2CD3F #3FF2CD #CD3FF2
tetradic
#F2CD3F #3FF274 #3F64F2 #F23FBD
square
#F2CD3F #3FF274 #3F64F2 #F23FBD
split-complementary
#F2CD3F #3FBDF2 #743FF2
monochromatic
#AB8A0C #E4B80F #F2CD3F #F6DC78 #FAEBB2
Accessibility & contrast
On white
1.55
#F2CD3F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.58
#F2CD3F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2CD3F
13.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2CD3F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2CD3F | 1.00 | 1.55 | 13.58 | 13.58 |
| #FFFFFF | 1.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E3C926
Deuteranopia (green-blind)
#ECD447
Tritanopia (blue-blind)
#FFBDB1
Achromatopsia (no color)
#D0D0D0
Design tokens & code
CSS
--color: #f2cd3f; /* rgb */ color: rgb(242, 205, 63); /* oklch */ color: oklch(85.7% 0.157 93.8);
Tailwind
colors: {
custom: {
50: '#fbdb7e',
500: '#f2cd3f',
950: '#000000',
},
}SCSS
$custom: #f2cd3f; $custom-light: #fbdb7e; $custom-dark: #000000;
JSON
{
"hex": "#f2cd3f",
"rgb": {
"r": 242,
"g": 205,
"b": 63
},
"hsl": {
"h": 47.598,
"s": 87.317,
"l": 59.804
},
"oklch": {
"l": 0.85655,
"c": 0.1567,
"h": 93.8
},
"luminance": 0.62899
}Semantic roles & 50–950 ramp
primary
#F2CD3F
secondary
#2944AC
accent
#56FD2A
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#18140A
muted
#86837D