#C4B540#C4B540

#C4B540 is a light, vivid yellow. Relative luminance 0.452; OKLCH L 76.4% C 0.136 H 101.9°. Best body text is #000000 at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#C4B540
RGBrgb(196, 181, 64)
HSLhsl(53, 53%, 51%)
HSVhsv(53, 67%, 77%)
CMYKcmyk(0%, 7.7%, 67.3%, 23.1%)
CIE-LABlab(72.99, -8.23, 59.04)
CIE-LCHlch(72.99, 59.62, 97.93°)
OKLaboklab(76.44% -0.028 0.1327)
OKLCHoklch(76.44% 0.136 101.9)
XYZxyz(40.2159, 45.1554, 11.4470)
Luminance0.4515 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4B540 #404FC4
analogous
#C47340 #C4B540 #91C440
triadic
#C4B540 #40C4B5 #B540C4
tetradic
#C4B540 #40C473 #404FC4 #C44091
square
#C4B540 #40C473 #404FC4 #C44091
split-complementary
#C4B540 #4091C4 #7340C4
monochromatic
#696120 #988C2F #C4B540 #D2C76F #E1D99E

Accessibility & contrast

On white

2.09
#C4B540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.03
#C4B540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4B540
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4B540#FFFFFF#000000##000000
##C4B5401.002.0910.0310.03
#FFFFFF2.091.0021.0021.00
#00000010.0321.001.001.00
##00000010.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B030
Deuteranopia (green-blind)
#CAB647
Tritanopia (blue-blind)
#D3A99D
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #c4b540;
/* rgb */ color: rgb(196, 181, 64);
/* oklch */ color: oklch(76.4% 0.136 101.9);
Tailwind
colors: {
  custom: {
    50: '#d9ca7b',
    500: '#c4b540',
    950: '#000000',
  },
}
SCSS
$custom: #c4b540;
$custom-light: #d9ca7b;
$custom-dark: #000000;
JSON
{
  "hex": "#c4b540",
  "rgb": {
    "r": 196,
    "g": 181,
    "b": 64
  },
  "hsl": {
    "h": 53.182,
    "s": 52.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.76438,
    "c": 0.13561,
    "h": 101.9
  },
  "luminance": 0.45154
}

Semantic roles & 50–950 ramp

primary
#C4B540
secondary
#9399CD
accent
#5CDC4C
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C4B540

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

Preview Lab → · Contrast checker → · Palette generator →

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