#F2CF4F#F2CF4F
#F2CF4F is a very light, vivid yellow. Relative luminance 0.641; OKLCH L 86.2% C 0.148 H 93.6°. Best body text is #000000 at 13.81:1 contrast (WCAG AA passes).
Color values
| HEX | #F2CF4F |
|---|---|
| RGB | rgb(242, 207, 79) |
| HSL | hsl(47, 86%, 63%) |
| HSV | hsv(47, 67%, 95%) |
| CMYK | cmyk(0%, 14.5%, 67.4%, 5.1%) |
| CIE-LAB | lab(84.00, -1.31, 65.61) |
| CIE-LCH | lch(84.00, 65.62, 91.14°) |
| OKLab | oklab(86.17% -0.0093 0.1476) |
| OKLCH | oklch(86.17% 0.148 93.6) |
| XYZ | xyz(60.3451, 64.0707, 16.5840) |
| Luminance | 0.6407 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Maize
#F4D054
ΔE00 0.61
Light Mustard
#F7D560
ΔE00 1.87
Light Gold
#FDDC5C
ΔE00 2.96
Pale Gold
#FDDE6C
ΔE00 3.82
Sand Yellow
#FCE166
ΔE00 4.40
Yellow Tan
#FFE36E
ΔE00 4.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2CF4F #4F72F2
analogous
#F27E4F #F2CF4F #C3F24F
triadic
#F2CF4F #4FF2CF #CF4FF2
tetradic
#F2CF4F #4FF27E #4F72F2 #F24FC3
square
#F2CF4F #4FF27E #4F72F2 #F24FC3
split-complementary
#F2CF4F #4FC3F2 #7E4FF2
monochromatic
#B9940E #EEBF16 #F2CF4F #F6DF88 #FAEEC1
Accessibility & contrast
On white
1.52
#F2CF4F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.81
#F2CF4F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2CF4F
13.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2CF4F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2CF4F | 1.00 | 1.52 | 13.81 | 13.81 |
| #FFFFFF | 1.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E4CB3E
Deuteranopia (green-blind)
#EDD656
Tritanopia (blue-blind)
#FFBFB5
Achromatopsia (no color)
#D1D1D1
Design tokens & code
CSS
--color: #f2cf4f; /* rgb */ color: rgb(242, 207, 79); /* oklch */ color: oklch(86.2% 0.148 93.6);
Tailwind
colors: {
custom: {
50: '#fadd87',
500: '#f2cf4f',
950: '#000000',
},
}SCSS
$custom: #f2cf4f; $custom-light: #fadd87; $custom-dark: #000000;
JSON
{
"hex": "#f2cf4f",
"rgb": {
"r": 242,
"g": 207,
"b": 79
},
"hsl": {
"h": 47.117,
"s": 86.243,
"l": 62.941
},
"oklch": {
"l": 0.86173,
"c": 0.14785,
"h": 93.6
},
"luminance": 0.64067
}Semantic roles & 50–950 ramp
primary
#F2CF4F
secondary
#2D4BB8
accent
#33E303
background
#FFFEFC
surface
#FFFCF3
border
#D7D5CD
text
#18150C
muted
#86847F