#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
RGBrgb(255, 196, 18)
HSLhsl(45, 100%, 54%)
HSVhsv(45, 93%, 100%)
CMYKcmyk(0%, 23.1%, 92.9%, 0%)
CIE-LABlab(82.26, 7.95, 82.02)
CIE-LCHlch(82.26, 82.40, 84.46°)
OKLaboklab(85.01% 0.0114 0.1712)
OKLCHoklch(85.01% 0.172 86.2)
XYZxyz(61.0934, 60.7882, 9.0877)
Luminance0.6078 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

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
##FFC4121.001.6013.1613.16
#FFFFFF1.601.0021.0021.00
#00000013.1621.001.001.00
##00000013.1621.001.001.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

Preview Lab

Preview with #FFC412

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#FFC412 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva