#C4B140#C4B140

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

Color values

HEX#C4B140
RGBrgb(196, 177, 64)
HSLhsl(51, 53%, 51%)
HSVhsv(51, 67%, 77%)
CMYKcmyk(0%, 9.7%, 67.3%, 23.1%)
CIE-LABlab(71.93, -6.14, 57.95)
CIE-LCHlch(71.93, 58.27, 96.05°)
OKLaboklab(75.59% -0.0221 0.1304)
OKLCHoklch(75.59% 0.132 99.6)
XYZxyz(39.4142, 43.5520, 11.1798)
Luminance0.4355 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4B140 #4053C4
analogous
#C46F40 #C4B140 #95C440
triadic
#C4B140 #40C4B1 #B140C4
tetradic
#C4B140 #40C46F #4053C4 #C44095
square
#C4B140 #40C46F #4053C4 #C44095
split-complementary
#C4B140 #4095C4 #6F40C4
monochromatic
#695F20 #98892F #C4B140 #D2C46F #E1D79E

Accessibility & contrast

On white

2.16
#C4B140 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.71
#C4B140 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4B140
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4B140#FFFFFF#000000##000000
##C4B1401.002.169.719.71
#FFFFFF2.161.0021.0021.00
#0000009.7121.001.001.00
##0000009.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AC31
Deuteranopia (green-blind)
#C7B346
Tritanopia (blue-blind)
#D3A49A
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c4b140;
/* rgb */ color: rgb(196, 177, 64);
/* oklch */ color: oklch(75.6% 0.132 99.6);
Tailwind
colors: {
  custom: {
    50: '#d9c87b',
    500: '#c4b140',
    950: '#000000',
  },
}
SCSS
$custom: #c4b140;
$custom-light: #d9c87b;
$custom-dark: #000000;
JSON
{
  "hex": "#c4b140",
  "rgb": {
    "r": 196,
    "g": 177,
    "b": 64
  },
  "hsl": {
    "h": 51.364,
    "s": 52.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.75592,
    "c": 0.13222,
    "h": 99.6
  },
  "luminance": 0.4355
}

Semantic roles & 50–950 ramp

primary
#C4B140
secondary
#939BCD
accent
#60DC4C
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C4B140

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

Preview Lab → · Contrast checker → · Palette generator →

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