#C4C12A#C4C12A

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

Color values

HEX#C4C12A
RGBrgb(196, 193, 42)
HSLhsl(59, 65%, 47%)
HSVhsv(59, 79%, 77%)
CMYKcmyk(0%, 1.5%, 78.6%, 23.1%)
CIE-LABlab(76.10, -15.36, 69.70)
CIE-LCHlch(76.10, 71.37, 102.43°)
OKLaboklab(78.87% -0.0502 0.1513)
OKLCHoklch(78.87% 0.159 108.4)
XYZxyz(42.2545, 50.0443, 9.6238)
Luminance0.5004 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4C12A #2A2DC4
analogous
#C4742A #C4C12A #7AC42A
triadic
#C4C12A #2AC4C1 #C12AC4
tetradic
#C4C12A #2AC474 #2A2DC4 #C42A7A
square
#C4C12A #2AC474 #2A2DC4 #C42A7A
split-complementary
#C4C12A #2A7AC4 #742AC4
monochromatic
#5F5E14 #928F1F #C4C12A #DAD751 #E5E384

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C4C12A#FFFFFF#000000##000000
##C4C12A1.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)
#D4BE37
Tritanopia (blue-blind)
#D3B4A5
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c4c12a;
/* rgb */ color: rgb(196, 193, 42);
/* oklch */ color: oklch(78.9% 0.159 108.4);
Tailwind
colors: {
  custom: {
    50: '#dad371',
    500: '#c4c12a',
    950: '#000000',
  },
}
SCSS
$custom: #c4c12a;
$custom-light: #dad371;
$custom-dark: #000000;
JSON
{
  "hex": "#c4c12a",
  "rgb": {
    "r": 196,
    "g": 193,
    "b": 42
  },
  "hsl": {
    "h": 58.831,
    "s": 64.706,
    "l": 46.667
  },
  "oklch": {
    "l": 0.78867,
    "c": 0.15943,
    "h": 108.4
  },
  "luminance": 0.50043
}

Semantic roles & 50–950 ramp

primary
#C4C12A
secondary
#28296A
accent
#43E840
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C4C12A

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

Preview Lab → · Contrast checker → · Palette generator →

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