#C4C12D#C4C12D

#C4C12D is a light, vivid yellow. Relative luminance 0.501; OKLCH L 78.9% C 0.158 H 108.3°. Best body text is #000000 at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#C4C12D
RGBrgb(196, 193, 45)
HSLhsl(59, 63%, 47%)
HSVhsv(59, 77%, 77%)
CMYKcmyk(0%, 1.5%, 77%, 23.1%)
CIE-LABlab(76.11, -15.25, 68.83)
CIE-LCHlch(76.11, 70.49, 102.50°)
OKLaboklab(78.88% -0.0497 0.15)
OKLCHoklch(78.88% 0.158 108.3)
XYZxyz(42.3102, 50.0666, 9.9172)
Luminance0.5007 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4C12D #2D30C4
analogous
#C4762D #C4C12D #7CC42D
triadic
#C4C12D #2DC4C1 #C12DC4
tetradic
#C4C12D #2DC476 #2D30C4 #C42D7C
square
#C4C12D #2DC476 #2D30C4 #C42D7C
split-complementary
#C4C12D #2D7CC4 #762DC4
monochromatic
#605F16 #929022 #C4C12D #D8D656 #E4E288

Accessibility & contrast

On white

1.91
#C4C12D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.01
#C4C12D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4C12D
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4C12D#FFFFFF#000000##000000
##C4C12D1.001.9111.0111.01
#FFFFFF1.911.0021.0021.00
#00000011.0121.001.001.00
##00000011.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B900
Deuteranopia (green-blind)
#D4BE3A
Tritanopia (blue-blind)
#D2B4A6
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c4c12d;
/* rgb */ color: rgb(196, 193, 45);
/* oklch */ color: oklch(78.9% 0.158 108.3);
Tailwind
colors: {
  custom: {
    50: '#dad373',
    500: '#c4c12d',
    950: '#000000',
  },
}
SCSS
$custom: #c4c12d;
$custom-light: #dad373;
$custom-dark: #000000;
JSON
{
  "hex": "#c4c12d",
  "rgb": {
    "r": 196,
    "g": 193,
    "b": 45
  },
  "hsl": {
    "h": 58.808,
    "s": 62.656,
    "l": 47.255
  },
  "oklch": {
    "l": 0.78883,
    "c": 0.15801,
    "h": 108.3
  },
  "luminance": 0.50065
}

Semantic roles & 50–950 ramp

primary
#C4C12D
secondary
#2A2B6B
accent
#45E642
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C4C12D

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

Preview Lab → · Contrast checker → · Palette generator →

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