#C4A837#C4A837

#C4A837 is a light, vivid yellow. Relative luminance 0.400; OKLCH L 73.6% C 0.132 H 94.8°. Best body text is #000000 at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#C4A837
RGBrgb(196, 168, 55)
HSLhsl(48, 56%, 49%)
HSVhsv(48, 72%, 77%)
CMYKcmyk(0%, 14.3%, 71.9%, 23.1%)
CIE-LABlab(69.48, -1.87, 59.10)
CIE-LCHlch(69.48, 59.13, 91.82°)
OKLaboklab(73.63% -0.011 0.1312)
OKLCHoklch(73.63% 0.132 94.8)
XYZxyz(37.4591, 40.0189, 9.3651)
Luminance0.4002 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4A837 #3753C4
analogous
#C46237 #C4A837 #9AC437
triadic
#C4A837 #37C4A8 #A837C4
tetradic
#C4A837 #37C462 #3753C4 #C4379A
square
#C4A837 #37C462 #3753C4 #C4379A
split-complementary
#C4A837 #379AC4 #6237C4
monochromatic
#64561C #947F2A #C4A837 #D4BE65 #E1D294

Accessibility & contrast

On white

2.33
#C4A837 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.00
#C4A837 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4A837
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4A837#FFFFFF#000000##000000
##C4A8371.002.339.009.00
#FFFFFF2.331.0021.0021.00
#0000009.0021.001.001.00
##0000009.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA526
Deuteranopia (green-blind)
#C1AD3D
Tritanopia (blue-blind)
#D49B91
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #c4a837;
/* rgb */ color: rgb(196, 168, 55);
/* oklch */ color: oklch(73.6% 0.132 94.8);
Tailwind
colors: {
  custom: {
    50: '#dac175',
    500: '#c4a837',
    950: '#000000',
  },
}
SCSS
$custom: #c4a837;
$custom-light: #dac175;
$custom-dark: #000000;
JSON
{
  "hex": "#c4a837",
  "rgb": {
    "r": 196,
    "g": 168,
    "b": 55
  },
  "hsl": {
    "h": 48.085,
    "s": 56.175,
    "l": 49.216
  },
  "oklch": {
    "l": 0.73635,
    "c": 0.13167,
    "h": 94.8
  },
  "luminance": 0.40017
}

Semantic roles & 50–950 ramp

primary
#C4A837
secondary
#8B98CC
accent
#66DF48
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C4A837

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

Preview Lab → · Contrast checker → · Palette generator →

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