#C4A939#C4A939

#C4A939 is a light, vivid yellow. Relative luminance 0.404; OKLCH L 73.9% C 0.131 H 95.2°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#C4A939
RGBrgb(196, 169, 57)
HSLhsl(48, 55%, 50%)
HSVhsv(48, 71%, 77%)
CMYKcmyk(0%, 13.8%, 70.9%, 23.1%)
CIE-LABlab(69.76, -2.31, 58.59)
CIE-LCHlch(69.76, 58.63, 92.25°)
OKLaboklab(73.86% -0.012 0.1305)
OKLCHoklch(73.86% 0.131 95.2)
XYZxyz(37.6933, 40.4091, 9.6844)
Luminance0.4041 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4A939 #3954C4
analogous
#C46339 #C4A939 #9AC439
triadic
#C4A939 #39C4A9 #A939C4
tetradic
#C4A939 #39C463 #3954C4 #C4399A
square
#C4A939 #39C463 #3954C4 #C4399A
split-complementary
#C4A939 #399AC4 #6339C4
monochromatic
#65571D #95802B #C4A939 #D3BE67 #E1D297

Accessibility & contrast

On white

2.31
#C4A939 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.08
#C4A939 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4A939
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4A939#FFFFFF#000000##000000
##C4A9391.002.319.089.08
#FFFFFF2.311.0021.0021.00
#0000009.0821.001.001.00
##0000009.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA629
Deuteranopia (green-blind)
#C1AE3F
Tritanopia (blue-blind)
#D49C92
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #c4a939;
/* rgb */ color: rgb(196, 169, 57);
/* oklch */ color: oklch(73.9% 0.131 95.2);
Tailwind
colors: {
  custom: {
    50: '#dac276',
    500: '#c4a939',
    950: '#000000',
  },
}
SCSS
$custom: #c4a939;
$custom-light: #dac276;
$custom-dark: #000000;
JSON
{
  "hex": "#c4a939",
  "rgb": {
    "r": 196,
    "g": 169,
    "b": 57
  },
  "hsl": {
    "h": 48.345,
    "s": 54.941,
    "l": 49.608
  },
  "oklch": {
    "l": 0.73858,
    "c": 0.13104,
    "h": 95.2
  },
  "luminance": 0.40407
}

Semantic roles & 50–950 ramp

primary
#C4A939
secondary
#8D99CC
accent
#66DE4A
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C4A939

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

Preview Lab → · Contrast checker → · Palette generator →

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