#F2CA4F#F2CA4F
#F2CA4F is a very light, vivid yellow. Relative luminance 0.617; OKLCH L 85.2% C 0.145 H 90.8°. Best body text is #000000 at 13.34:1 contrast (WCAG AA passes).
Color values
| HEX | #F2CA4F |
|---|---|
| RGB | rgb(242, 202, 79) |
| HSL | hsl(45, 86%, 63%) |
| HSV | hsv(45, 67%, 95%) |
| CMYK | cmyk(0%, 16.5%, 67.4%, 5.1%) |
| CIE-LAB | lab(82.75, 1.26, 64.30) |
| CIE-LCH | lch(82.75, 64.32, 88.88°) |
| OKLab | oklab(85.18% -0.0019 0.1448) |
| OKLCH | oklch(85.18% 0.145 90.8) |
| XYZ | xyz(59.1529, 61.6863, 16.1866) |
| Luminance | 0.6168 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Maize
#F4D054
ΔE00 1.69
Light Mustard
#F7D560
ΔE00 2.90
Light Gold
#FDDC5C
ΔE00 4.41
Golden Yellow
#FEC615
ΔE00 4.90
Pale Gold
#FDDE6C
ΔE00 4.99
Golden
#F5BF03
ΔE00 5.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2CA4F #4F77F2
analogous
#F2784F #F2CA4F #C8F24F
triadic
#F2CA4F #4FF2CA #CA4FF2
tetradic
#F2CA4F #4FF278 #4F77F2 #F24FC8
square
#F2CA4F #4FF278 #4F77F2 #F24FC8
split-complementary
#F2CA4F #4FC8F2 #784FF2
monochromatic
#B98F0E #EEB916 #F2CA4F #F6DB88 #FAECC1
Accessibility & contrast
On white
1.57
#F2CA4F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.34
#F2CA4F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2CA4F
13.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2CA4F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2CA4F | 1.00 | 1.57 | 13.34 | 13.34 |
| #FFFFFF | 1.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DFC73F
Deuteranopia (green-blind)
#E9D355
Tritanopia (blue-blind)
#FFBAB0
Achromatopsia (no color)
#CECECE
Design tokens & code
CSS
--color: #f2ca4f; /* rgb */ color: rgb(242, 202, 79); /* oklch */ color: oklch(85.2% 0.145 90.8);
Tailwind
colors: {
custom: {
50: '#fad986',
500: '#f2ca4f',
950: '#000000',
},
}SCSS
$custom: #f2ca4f; $custom-light: #fad986; $custom-dark: #000000;
JSON
{
"hex": "#f2ca4f",
"rgb": {
"r": 242,
"g": 202,
"b": 79
},
"hsl": {
"h": 45.276,
"s": 86.243,
"l": 62.941
},
"oklch": {
"l": 0.85181,
"c": 0.14481,
"h": 90.8
},
"luminance": 0.61683
}Semantic roles & 50–950 ramp
primary
#F2CA4F
secondary
#2D4FB8
accent
#3AE303
background
#FFFEFC
surface
#FFFBF3
border
#D7D4CD
text
#18140C
muted
#86837F