#C4A12F#C4A12F

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

Color values

HEX#C4A12F
RGBrgb(196, 161, 47)
HSLhsl(46, 61%, 48%)
HSVhsv(46, 76%, 77%)
CMYKcmyk(0%, 17.9%, 76%, 23.1%)
CIE-LABlab(67.60, 1.50, 60.31)
CIE-LCHlch(67.60, 60.33, 88.58°)
OKLaboklab(72.13% -0.0022 0.1322)
OKLCHoklch(72.13% 0.132 90.9)
XYZxyz(36.0250, 37.4330, 8.0166)
Luminance0.3743 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4A12F #2F52C4
analogous
#C4562F #C4A12F #9CC42F
triadic
#C4A12F #2FC4A1 #A12FC4
tetradic
#C4A12F #2FC456 #2F52C4 #C42F9C
square
#C4A12F #2FC456 #2F52C4 #C42F9C
split-complementary
#C4A12F #2F9CC4 #562FC4
monochromatic
#615017 #937823 #C4A12F #D7BA59 #E3CE8A

Accessibility & contrast

On white

2.47
#C4A12F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.49
#C4A12F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4A12F
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4A12F#FFFFFF#000000##000000
##C4A12F1.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c4a12f;
/* rgb */ color: rgb(196, 161, 47);
/* oklch */ color: oklch(72.1% 0.132 90.9);
Tailwind
colors: {
  custom: {
    50: '#dabc70',
    500: '#c4a12f',
    950: '#000000',
  },
}
SCSS
$custom: #c4a12f;
$custom-light: #dabc70;
$custom-dark: #000000;
JSON
{
  "hex": "#c4a12f",
  "rgb": {
    "r": 196,
    "g": 161,
    "b": 47
  },
  "hsl": {
    "h": 45.906,
    "s": 61.317,
    "l": 47.647
  },
  "oklch": {
    "l": 0.72132,
    "c": 0.13224,
    "h": 90.9
  },
  "luminance": 0.37431
}

Semantic roles & 50–950 ramp

primary
#C4A12F
secondary
#8293CD
accent
#69E443
background
#FEFBF7
surface
#FCF6ED
border
#D5D0C8
text
#161108
muted
#84807B

Preview Lab

Preview with #C4A12F

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

Preview Lab → · Contrast checker → · Palette generator →

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