#C4A12D#C4A12D

#C4A12D is a light, vivid yellow. Relative luminance 0.374; OKLCH L 72.1% C 0.133 H 91.1°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#C4A12D
RGBrgb(196, 161, 45)
HSLhsl(46, 63%, 47%)
HSVhsv(46, 77%, 77%)
CMYKcmyk(0%, 17.9%, 77%, 23.1%)
CIE-LABlab(67.59, 1.42, 61.02)
CIE-LCHlch(67.59, 61.04, 88.67°)
OKLaboklab(72.12% -0.0026 0.1333)
OKLCHoklch(72.12% 0.133 91.1)
XYZxyz(35.9856, 37.4172, 7.8090)
Luminance0.3741 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4A12D #2D50C4
analogous
#C4562D #C4A12D #9BC42D
triadic
#C4A12D #2DC4A1 #A12DC4
tetradic
#C4A12D #2DC456 #2D50C4 #C42D9B
square
#C4A12D #2DC456 #2D50C4 #C42D9B
split-complementary
#C4A12D #2D9BC4 #562DC4
monochromatic
#604F16 #927822 #C4A12D #D8BA56 #E4CE88

Accessibility & contrast

On white

2.48
#C4A12D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.48
#C4A12D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4A12D
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4A12D#FFFFFF#000000##000000
##C4A12D1.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F17
Deuteranopia (green-blind)
#BCA934
Tritanopia (blue-blind)
#D4938B
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #c4a12d;
/* rgb */ color: rgb(196, 161, 45);
/* oklch */ color: oklch(72.1% 0.133 91.1);
Tailwind
colors: {
  custom: {
    50: '#dabc6f',
    500: '#c4a12d',
    950: '#000000',
  },
}
SCSS
$custom: #c4a12d;
$custom-light: #dabc6f;
$custom-dark: #000000;
JSON
{
  "hex": "#c4a12d",
  "rgb": {
    "r": 196,
    "g": 161,
    "b": 45
  },
  "hsl": {
    "h": 46.093,
    "s": 62.656,
    "l": 47.255
  },
  "oklch": {
    "l": 0.72119,
    "c": 0.13336,
    "h": 91.1
  },
  "luminance": 0.37415
}

Semantic roles & 50–950 ramp

primary
#C4A12D
secondary
#8092CD
accent
#68E642
background
#FEFBF7
surface
#FCF6ED
border
#D5D0C8
text
#161108
muted
#84807B

Preview Lab

Preview with #C4A12D

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

Preview Lab → · Contrast checker → · Palette generator →

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