#C9B539#C9B539

#C9B539 is a light, vivid yellow. Relative luminance 0.458; OKLCH L 76.8% C 0.140 H 99.9°. Best body text is #000000 at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#C9B539
RGBrgb(201, 181, 57)
HSLhsl(52, 57%, 51%)
HSVhsv(52, 72%, 79%)
CMYKcmyk(0%, 10%, 71.6%, 21.2%)
CIE-LABlab(73.39, -6.44, 62.34)
CIE-LCHlch(73.39, 62.67, 95.90°)
OKLaboklab(76.84% -0.024 0.1382)
OKLCHoklch(76.84% 0.14 99.9)
XYZxyz(41.3517, 45.7626, 10.5250)
Luminance0.4576 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9B539 #394DC9
analogous
#C96D39 #C9B539 #95C939
triadic
#C9B539 #39C9B5 #B539C9
tetradic
#C9B539 #39C96D #394DC9 #C93995
square
#C9B539 #39C96D #394DC9 #C93995
split-complementary
#C9B539 #3995C9 #6D39C9
monochromatic
#6B601D #9B8B2A #C9B539 #D6C769 #E3D999

Accessibility & contrast

On white

2.07
#C9B539 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.15
#C9B539 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9B539
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9B539#FFFFFF#000000##000000
##C9B5391.002.0710.1510.15
#FFFFFF2.071.0021.0021.00
#00000010.1521.001.001.00
##00000010.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B025
Deuteranopia (green-blind)
#CCB741
Tritanopia (blue-blind)
#D9A89C
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #c9b539;
/* rgb */ color: rgb(201, 181, 57);
/* oklch */ color: oklch(76.8% 0.140 99.9);
Tailwind
colors: {
  custom: {
    50: '#ddca77',
    500: '#c9b539',
    950: '#000000',
  },
}
SCSS
$custom: #c9b539;
$custom-light: #ddca77;
$custom-dark: #000000;
JSON
{
  "hex": "#c9b539",
  "rgb": {
    "r": 201,
    "g": 181,
    "b": 57
  },
  "hsl": {
    "h": 51.667,
    "s": 57.143,
    "l": 50.588
  },
  "oklch": {
    "l": 0.76843,
    "c": 0.14031,
    "h": 99.9
  },
  "luminance": 0.45761
}

Semantic roles & 50–950 ramp

primary
#C9B539
secondary
#8F98CF
accent
#5DE047
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #C9B539

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

Preview Lab → · Contrast checker → · Palette generator →

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