#C4B939#C4B939

#C4B939 is a light, vivid yellow. Relative luminance 0.467; OKLCH L 77.2% C 0.144 H 104.4°. Best body text is #000000 at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#C4B939
RGBrgb(196, 185, 57)
HSLhsl(55, 55%, 50%)
HSVhsv(55, 71%, 77%)
CMYKcmyk(0%, 5.6%, 70.9%, 23.1%)
CIE-LABlab(74.02, -10.66, 62.80)
CIE-LCHlch(74.02, 63.70, 99.64°)
OKLaboklab(77.24% -0.0357 0.1394)
OKLCHoklch(77.24% 0.144 104.4)
XYZxyz(40.8541, 46.7307, 10.7380)
Luminance0.4673 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4B939 #3944C4
analogous
#C47439 #C4B939 #8AC439
triadic
#C4B939 #39C4B9 #B939C4
tetradic
#C4B939 #39C474 #3944C4 #C4398A
square
#C4B939 #39C474 #3944C4 #C4398A
split-complementary
#C4B939 #398AC4 #7439C4
monochromatic
#655F1D #958C2B #C4B939 #D3CA67 #E1DB97

Accessibility & contrast

On white

2.03
#C4B939 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.35
#C4B939 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4B939
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4B939#FFFFFF#000000##000000
##C4B9391.002.0310.3510.35
#FFFFFF2.031.0021.0021.00
#00000010.3521.001.001.00
##00000010.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B324
Deuteranopia (green-blind)
#CDB942
Tritanopia (blue-blind)
#D3ACA0
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #c4b939;
/* rgb */ color: rgb(196, 185, 57);
/* oklch */ color: oklch(77.2% 0.144 104.4);
Tailwind
colors: {
  custom: {
    50: '#d9cd78',
    500: '#c4b939',
    950: '#000000',
  },
}
SCSS
$custom: #c4b939;
$custom-light: #d9cd78;
$custom-dark: #000000;
JSON
{
  "hex": "#c4b939",
  "rgb": {
    "r": 196,
    "g": 185,
    "b": 57
  },
  "hsl": {
    "h": 55.252,
    "s": 54.941,
    "l": 49.608
  },
  "oklch": {
    "l": 0.77236,
    "c": 0.14389,
    "h": 104.4
  },
  "luminance": 0.46729
}

Semantic roles & 50–950 ramp

primary
#C4B939
secondary
#8D92CC
accent
#55DE4A
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151309
muted
#83827B

Preview Lab

Preview with #C4B939

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

Preview Lab → · Contrast checker → · Palette generator →

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