#C4A12E#C4A12E

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

Color values

HEX#C4A12E
RGBrgb(196, 161, 46)
HSLhsl(46, 62%, 47%)
HSVhsv(46, 77%, 77%)
CMYKcmyk(0%, 17.9%, 76.5%, 23.1%)
CIE-LABlab(67.59, 1.46, 60.67)
CIE-LCHlch(67.59, 60.69, 88.62°)
OKLaboklab(72.13% -0.0024 0.1328)
OKLCHoklch(72.13% 0.133 91)
XYZxyz(36.0051, 37.4250, 7.9116)
Luminance0.3742 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4A12E #2E51C4
analogous
#C4562E #C4A12E #9CC42E
triadic
#C4A12E #2EC4A1 #A12EC4
tetradic
#C4A12E #2EC456 #2E51C4 #C42E9C
square
#C4A12E #2EC456 #2E51C4 #C42E9C
split-complementary
#C4A12E #2E9CC4 #562EC4
monochromatic
#615017 #927822 #C4A12E #D8BA58 #E3CE89

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C4A12E#FFFFFF#000000##000000
##C4A12E1.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)
#B49F19
Deuteranopia (green-blind)
#BCA935
Tritanopia (blue-blind)
#D4938B
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #c4a12e;
/* rgb */ color: rgb(196, 161, 46);
/* oklch */ color: oklch(72.1% 0.133 91.0);
Tailwind
colors: {
  custom: {
    50: '#dabc6f',
    500: '#c4a12e',
    950: '#000000',
  },
}
SCSS
$custom: #c4a12e;
$custom-light: #dabc6f;
$custom-dark: #000000;
JSON
{
  "hex": "#c4a12e",
  "rgb": {
    "r": 196,
    "g": 161,
    "b": 46
  },
  "hsl": {
    "h": 46,
    "s": 61.983,
    "l": 47.451
  },
  "oklch": {
    "l": 0.72125,
    "c": 0.1328,
    "h": 91
  },
  "luminance": 0.37423
}

Semantic roles & 50–950 ramp

primary
#C4A12E
secondary
#8193CD
accent
#69E543
background
#FEFBF7
surface
#FCF6ED
border
#D5D0C8
text
#161108
muted
#84807B

Preview Lab

Preview with #C4A12E

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

Preview Lab → · Contrast checker → · Palette generator →

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