#C4B040#C4B040

#C4B040 is a light, vivid yellow. Relative luminance 0.432; OKLCH L 75.4% C 0.131 H 99.0°. Best body text is #000000 at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#C4B040
RGBrgb(196, 176, 64)
HSLhsl(51, 53%, 51%)
HSVhsv(51, 67%, 77%)
CMYKcmyk(0%, 10.2%, 67.3%, 23.1%)
CIE-LABlab(71.66, -5.62, 57.67)
CIE-LCHlch(71.66, 57.95, 95.57°)
OKLaboklab(75.38% -0.0206 0.1298)
OKLCHoklch(75.38% 0.131 99)
XYZxyz(39.2175, 43.1584, 11.1142)
Luminance0.4316 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4B040 #4054C4
analogous
#C46E40 #C4B040 #96C440
triadic
#C4B040 #40C4B0 #B040C4
tetradic
#C4B040 #40C46E #4054C4 #C44096
square
#C4B040 #40C46E #4054C4 #C44096
split-complementary
#C4B040 #4096C4 #6E40C4
monochromatic
#695E20 #98882F #C4B040 #D2C36F #E1D79E

Accessibility & contrast

On white

2.18
#C4B040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.63
#C4B040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4B040
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4B040#FFFFFF#000000##000000
##C4B0401.002.189.639.63
#FFFFFF2.181.0021.0021.00
#0000009.6321.001.001.00
##0000009.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB31
Deuteranopia (green-blind)
#C6B346
Tritanopia (blue-blind)
#D3A399
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c4b040;
/* rgb */ color: rgb(196, 176, 64);
/* oklch */ color: oklch(75.4% 0.131 99.0);
Tailwind
colors: {
  custom: {
    50: '#d9c77b',
    500: '#c4b040',
    950: '#000000',
  },
}
SCSS
$custom: #c4b040;
$custom-light: #d9c77b;
$custom-dark: #000000;
JSON
{
  "hex": "#c4b040",
  "rgb": {
    "r": 196,
    "g": 176,
    "b": 64
  },
  "hsl": {
    "h": 50.909,
    "s": 52.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.75381,
    "c": 0.13141,
    "h": 99
  },
  "luminance": 0.43157
}

Semantic roles & 50–950 ramp

primary
#C4B040
secondary
#939CCD
accent
#61DC4C
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C4B040

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

Preview Lab → · Contrast checker → · Palette generator →

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