#C9B732#C9B732

#C9B732 is a light, vivid yellow. Relative luminance 0.465; OKLCH L 77.2% C 0.146 H 101.3°. Best body text is #000000 at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#C9B732
RGBrgb(201, 183, 50)
HSLhsl(53, 60%, 49%)
HSVhsv(53, 75%, 79%)
CMYKcmyk(0%, 9%, 75.1%, 21.2%)
CIE-LABlab(73.88, -7.79, 65.32)
CIE-LCHlch(73.88, 65.78, 96.80°)
OKLaboklab(77.22% -0.0285 0.1433)
OKLCHoklch(77.22% 0.146 101.3)
XYZxyz(41.5986, 46.5167, 9.8045)
Luminance0.4652 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9B732 #3244C9
analogous
#C96C32 #C9B732 #90C932
triadic
#C9B732 #32C9B7 #B732C9
tetradic
#C9B732 #32C96C #3244C9 #C93290
square
#C9B732 #32C96C #3244C9 #C93290
split-complementary
#C9B732 #3290C9 #6C32C9
monochromatic
#675E1A #988A26 #C9B732 #D8C961 #E4DA92

Accessibility & contrast

On white

2.04
#C9B732 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.30
#C9B732 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9B732
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9B732#FFFFFF#000000##000000
##C9B7321.002.0410.3010.30
#FFFFFF2.041.0021.0021.00
#00000010.3021.001.001.00
##00000010.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B117
Deuteranopia (green-blind)
#CEB93B
Tritanopia (blue-blind)
#D9AA9E
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #c9b732;
/* rgb */ color: rgb(201, 183, 50);
/* oklch */ color: oklch(77.2% 0.146 101.3);
Tailwind
colors: {
  custom: {
    50: '#ddcc74',
    500: '#c9b732',
    950: '#000000',
  },
}
SCSS
$custom: #c9b732;
$custom-light: #ddcc74;
$custom-dark: #000000;
JSON
{
  "hex": "#c9b732",
  "rgb": {
    "r": 201,
    "g": 183,
    "b": 50
  },
  "hsl": {
    "h": 52.848,
    "s": 60.159,
    "l": 49.216
  },
  "oklch": {
    "l": 0.77218,
    "c": 0.14608,
    "h": 101.3
  },
  "luminance": 0.46515
}

Semantic roles & 50–950 ramp

primary
#C9B732
secondary
#8891CF
accent
#57E344
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161309
muted
#84827B

Preview Lab

Preview with #C9B732

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

Preview Lab → · Contrast checker → · Palette generator →

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