#C9B73A#C9B73A

#C9B73A is a light, vivid yellow. Relative luminance 0.466; OKLCH L 77.3% C 0.141 H 100.9°. Best body text is #000000 at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#C9B73A
RGBrgb(201, 183, 58)
HSLhsl(52, 57%, 51%)
HSVhsv(52, 71%, 79%)
CMYKcmyk(0%, 9%, 71.1%, 21.2%)
CIE-LABlab(73.93, -7.43, 62.48)
CIE-LCHlch(73.93, 62.92, 96.78°)
OKLaboklab(77.27% -0.0267 0.1387)
OKLCHoklch(77.27% 0.141 100.9)
XYZxyz(41.7865, 46.5919, 10.7942)
Luminance0.4659 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9B73A #3A4CC9
analogous
#C9703A #C9B73A #93C93A
triadic
#C9B73A #3AC9B7 #B73AC9
tetradic
#C9B73A #3AC970 #3A4CC9 #C93A93
square
#C9B73A #3AC970 #3A4CC9 #C93A93
split-complementary
#C9B73A #3A93C9 #703AC9
monochromatic
#6B611D #9B8D2B #C9B73A #D6C96A #E3DA9A

Accessibility & contrast

On white

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

On black

10.32
#C9B73A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9B73A
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9B73A#FFFFFF#000000##000000
##C9B73A1.002.0410.3210.32
#FFFFFF2.041.0021.0021.00
#00000010.3221.001.001.00
##00000010.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B226
Deuteranopia (green-blind)
#CDB942
Tritanopia (blue-blind)
#D8AA9E
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #c9b73a;
/* rgb */ color: rgb(201, 183, 58);
/* oklch */ color: oklch(77.3% 0.141 100.9);
Tailwind
colors: {
  custom: {
    50: '#ddcc78',
    500: '#c9b73a',
    950: '#000000',
  },
}
SCSS
$custom: #c9b73a;
$custom-light: #ddcc78;
$custom-dark: #000000;
JSON
{
  "hex": "#c9b73a",
  "rgb": {
    "r": 201,
    "g": 183,
    "b": 58
  },
  "hsl": {
    "h": 52.448,
    "s": 56.972,
    "l": 50.784
  },
  "oklch": {
    "l": 0.77271,
    "c": 0.14129,
    "h": 100.9
  },
  "luminance": 0.4659
}

Semantic roles & 50–950 ramp

primary
#C9B73A
secondary
#9098CF
accent
#5BE048
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #C9B73A

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

Preview Lab → · Contrast checker → · Palette generator →

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