#C4B13B#C4B13B

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

Color values

HEX#C4B13B
RGBrgb(196, 177, 59)
HSLhsl(52, 54%, 50%)
HSVhsv(52, 70%, 77%)
CMYKcmyk(0%, 9.7%, 69.9%, 23.1%)
CIE-LABlab(71.89, -6.42, 59.93)
CIE-LCHlch(71.89, 60.27, 96.11°)
OKLaboklab(75.55% -0.0234 0.1337)
OKLCHoklch(75.55% 0.136 99.9)
XYZxyz(39.2783, 43.4976, 10.4638)
Luminance0.4350 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4B13B #3B4EC4
analogous
#C46D3B #C4B13B #92C43B
triadic
#C4B13B #3BC4B1 #B13BC4
tetradic
#C4B13B #3BC46D #3B4EC4 #C43B92
square
#C4B13B #3BC46D #3B4EC4 #C43B92
split-complementary
#C4B13B #3B92C4 #6D3BC4
monochromatic
#665C1F #95872D #C4B13B #D2C46A #E0D699

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C4B13B#FFFFFF#000000##000000
##C4B13B1.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)
#C2AC2A
Deuteranopia (green-blind)
#C7B342
Tritanopia (blue-blind)
#D3A499
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c4b13b;
/* rgb */ color: rgb(196, 177, 59);
/* oklch */ color: oklch(75.6% 0.136 99.9);
Tailwind
colors: {
  custom: {
    50: '#d9c878',
    500: '#c4b13b',
    950: '#000000',
  },
}
SCSS
$custom: #c4b13b;
$custom-light: #d9c878;
$custom-dark: #000000;
JSON
{
  "hex": "#c4b13b",
  "rgb": {
    "r": 196,
    "g": 177,
    "b": 59
  },
  "hsl": {
    "h": 51.679,
    "s": 53.725,
    "l": 50
  },
  "oklch": {
    "l": 0.75551,
    "c": 0.13573,
    "h": 99.9
  },
  "luminance": 0.43496
}

Semantic roles & 50–950 ramp

primary
#C4B13B
secondary
#8F97CC
accent
#5FDD4B
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151309
muted
#83827B

Preview Lab

Preview with #C4B13B

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

Preview Lab → · Contrast checker → · Palette generator →

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