#FFC412#FFC412
#FFC412 is a very light, vivid yellow. Relative luminance 0.608; OKLCH L 85.0% C 0.172 H 86.2°. Best body text is #000000 at 13.16:1 contrast (WCAG AA passes).
Color values
| HEX | #FFC412 |
|---|---|
| RGB | rgb(255, 196, 18) |
| HSL | hsl(45, 100%, 54%) |
| HSV | hsv(45, 93%, 100%) |
| CMYK | cmyk(0%, 23.1%, 92.9%, 0%) |
| CIE-LAB | lab(82.26, 7.95, 82.02) |
| CIE-LCH | lch(82.26, 82.40, 84.46°) |
| OKLab | oklab(85.01% 0.0114 0.1712) |
| OKLCH | oklch(85.01% 0.172 86.2) |
| XYZ | xyz(61.0934, 60.7882, 9.0877) |
| Luminance | 0.6078 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sunflower
#FFC512
ΔE00 0.35
Golden Yellow
#FEC615
ΔE00 0.85
Marigold
#FCC006
ΔE00 0.96
Goldenrod (survey)
#FAC205
ΔE00 1.00
Amber
#FFBF00
ΔE00 1.60
Golden
#F5BF03
ΔE00 1.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FFC412 #124DFF
analogous
#FF4D12 #FFC412 #C4FF12
triadic
#FFC412 #12FFC4 #C412FF
tetradic
#FFC412 #12FF4D #124DFF #FF12C4
square
#FFC412 #12FF4D #124DFF #FF12C4
split-complementary
#FFC412 #12C4FF #4D12FF
monochromatic
#977100 #D49F00 #FFC412 #FFD34F #FFE28C
Accessibility & contrast
On white
1.60
#FFC412 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.16
#FFC412 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FFC412
13.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FFC412 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FFC412 | 1.00 | 1.60 | 13.16 | 13.16 |
| #FFFFFF | 1.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DEC400
Deuteranopia (green-blind)
#ECD324
Tritanopia (blue-blind)
#FFB0A7
Achromatopsia (no color)
#CDCDCD
Design tokens & code
CSS
--color: #ffc412; /* rgb */ color: rgb(255, 196, 18); /* oklch */ color: oklch(85.0% 0.172 86.2);
Tailwind
colors: {
custom: {
50: '#ffd56c',
500: '#ffc412',
950: '#000000',
},
}SCSS
$custom: #ffc412; $custom-light: #ffd56c; $custom-dark: #000000;
JSON
{
"hex": "#ffc412",
"rgb": {
"r": 255,
"g": 196,
"b": 18
},
"hsl": {
"h": 45.063,
"s": 100,
"l": 53.529
},
"oklch": {
"l": 0.85005,
"c": 0.17156,
"h": 86.2
},
"luminance": 0.60784
}Semantic roles & 50–950 ramp
primary
#FFC412
secondary
#1B3B9A
accent
#5EFF29
background
#FFFEFB
surface
#FFFBF1
border
#D7D4CB
text
#1A1408
muted
#87837D