#C4B539#C4B539

#C4B539 is a light, vivid yellow. Relative luminance 0.451; OKLCH L 76.4% C 0.140 H 102.3°. Best body text is #000000 at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#C4B539
RGBrgb(196, 181, 57)
HSLhsl(54, 55%, 50%)
HSVhsv(54, 71%, 77%)
CMYKcmyk(0%, 7.7%, 70.9%, 23.1%)
CIE-LABlab(72.94, -8.60, 61.75)
CIE-LCHlch(72.94, 62.34, 97.93°)
OKLaboklab(76.38% -0.0298 0.1372)
OKLCHoklch(76.38% 0.14 102.3)
XYZxyz(40.0291, 45.0806, 10.4630)
Luminance0.4508 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4B539 #3948C4
analogous
#C46F39 #C4B539 #8EC439
triadic
#C4B539 #39C4B5 #B539C4
tetradic
#C4B539 #39C46F #3948C4 #C4398E
square
#C4B539 #39C46F #3948C4 #C4398E
split-complementary
#C4B539 #398EC4 #6F39C4
monochromatic
#655D1D #95892B #C4B539 #D3C767 #E1D997

Accessibility & contrast

On white

2.10
#C4B539 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.02
#C4B539 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4B539
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4B539#FFFFFF#000000##000000
##C4B5391.002.1010.0210.02
#FFFFFF2.101.0021.0021.00
#00000010.0221.001.001.00
##00000010.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF25
Deuteranopia (green-blind)
#CAB641
Tritanopia (blue-blind)
#D3A89C
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #c4b539;
/* rgb */ color: rgb(196, 181, 57);
/* oklch */ color: oklch(76.4% 0.140 102.3);
Tailwind
colors: {
  custom: {
    50: '#d9ca77',
    500: '#c4b539',
    950: '#000000',
  },
}
SCSS
$custom: #c4b539;
$custom-light: #d9ca77;
$custom-dark: #000000;
JSON
{
  "hex": "#c4b539",
  "rgb": {
    "r": 196,
    "g": 181,
    "b": 57
  },
  "hsl": {
    "h": 53.525,
    "s": 54.941,
    "l": 49.608
  },
  "oklch": {
    "l": 0.76383,
    "c": 0.14038,
    "h": 102.3
  },
  "luminance": 0.45079
}

Semantic roles & 50–950 ramp

primary
#C4B539
secondary
#8D93CC
accent
#5ADE4A
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151309
muted
#83827B

Preview Lab

Preview with #C4B539

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

Preview Lab → · Contrast checker → · Palette generator →

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