#C4B139#C4B139

#C4B139 is a light, vivid yellow. Relative luminance 0.435; OKLCH L 75.5% C 0.137 H 100.1°. Best body text is #000000 at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#C4B139
RGBrgb(196, 177, 57)
HSLhsl(52, 55%, 50%)
HSVhsv(52, 71%, 77%)
CMYKcmyk(0%, 9.7%, 70.9%, 23.1%)
CIE-LABlab(71.88, -6.52, 60.69)
CIE-LCHlch(71.88, 61.04, 96.13°)
OKLaboklab(75.54% -0.0239 0.1349)
OKLCHoklch(75.54% 0.137 100.1)
XYZxyz(39.2274, 43.4773, 10.1958)
Luminance0.4348 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4B139 #394CC4
analogous
#C46C39 #C4B139 #91C439
triadic
#C4B139 #39C4B1 #B139C4
tetradic
#C4B139 #39C46C #394CC4 #C43991
square
#C4B139 #39C46C #394CC4 #C43991
split-complementary
#C4B139 #3991C4 #6C39C4
monochromatic
#655B1D #95862B #C4B139 #D3C467 #E1D797

Accessibility & contrast

On white

2.17
#C4B139 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.70
#C4B139 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4B139
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4B139#FFFFFF#000000##000000
##C4B1391.002.179.709.70
#FFFFFF2.171.0021.0021.00
#0000009.7021.001.001.00
##0000009.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC26
Deuteranopia (green-blind)
#C7B340
Tritanopia (blue-blind)
#D3A499
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c4b139;
/* rgb */ color: rgb(196, 177, 57);
/* oklch */ color: oklch(75.5% 0.137 100.1);
Tailwind
colors: {
  custom: {
    50: '#dac877',
    500: '#c4b139',
    950: '#000000',
  },
}
SCSS
$custom: #c4b139;
$custom-light: #dac877;
$custom-dark: #000000;
JSON
{
  "hex": "#c4b139",
  "rgb": {
    "r": 196,
    "g": 177,
    "b": 57
  },
  "hsl": {
    "h": 51.799,
    "s": 54.941,
    "l": 49.608
  },
  "oklch": {
    "l": 0.75536,
    "c": 0.13706,
    "h": 100.1
  },
  "luminance": 0.43475
}

Semantic roles & 50–950 ramp

primary
#C4B139
secondary
#8D95CC
accent
#5EDE4A
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C4B139

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

Preview Lab → · Contrast checker → · Palette generator →

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