#F2C54F#F2C54F
#F2C54F is a very light, vivid orange. Relative luminance 0.594; OKLCH L 84.2% C 0.142 H 87.8°. Best body text is #000000 at 12.87:1 contrast (WCAG AA passes).
Color values
| HEX | #F2C54F |
|---|---|
| RGB | rgb(242, 197, 79) |
| HSL | hsl(43, 86%, 63%) |
| HSV | hsv(43, 67%, 95%) |
| CMYK | cmyk(0%, 18.6%, 67.4%, 5.1%) |
| CIE-LAB | lab(81.50, 3.84, 63.00) |
| CIE-LCH | lch(81.50, 63.12, 86.51°) |
| OKLab | oklab(84.2% 0.0055 0.142) |
| OKLCH | oklch(84.2% 0.142 87.8) |
| XYZ | xyz(57.9987, 59.3779, 15.8019) |
| Luminance | 0.5937 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Maize
#F4D054
ΔE00 3.53
Light Mustard
#F7D560
ΔE00 4.51
Golden
#F5BF03
ΔE00 4.54
Golden Yellow
#FEC615
ΔE00 4.59
Goldenrod (survey)
#FAC205
ΔE00 4.67
Sunflower
#FFC512
ΔE00 4.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2C54F #4F7CF2
analogous
#F2744F #F2C54F #CDF24F
triadic
#F2C54F #4FF2C5 #C54FF2
tetradic
#F2C54F #4FF274 #4F7CF2 #F24FCD
square
#F2C54F #4FF274 #4F7CF2 #F24FCD
split-complementary
#F2C54F #4FCDF2 #744FF2
monochromatic
#B98A0E #EEB216 #F2C54F #F6D888 #FAEBC1
Accessibility & contrast
On white
1.63
#F2C54F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.87
#F2C54F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2C54F
12.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2C54F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2C54F | 1.00 | 1.63 | 12.87 | 12.87 |
| #FFFFFF | 1.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DBC340
Deuteranopia (green-blind)
#E6D054
Tritanopia (blue-blind)
#FFB5AC
Achromatopsia (no color)
#CACACA
Design tokens & code
CSS
--color: #f2c54f; /* rgb */ color: rgb(242, 197, 79); /* oklch */ color: oklch(84.2% 0.142 87.8);
Tailwind
colors: {
custom: {
50: '#fad686',
500: '#f2c54f',
950: '#000000',
},
}SCSS
$custom: #f2c54f; $custom-light: #fad686; $custom-dark: #000000;
JSON
{
"hex": "#f2c54f",
"rgb": {
"r": 242,
"g": 197,
"b": 79
},
"hsl": {
"h": 43.436,
"s": 86.243,
"l": 62.941
},
"oklch": {
"l": 0.84198,
"c": 0.14214,
"h": 87.8
},
"luminance": 0.59374
}Semantic roles & 50–950 ramp
primary
#F2C54F
secondary
#2D54B8
accent
#41E303
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#18140B
muted
#86837E