#C9B23A#C9B23A

#C9B23A is a light, vivid yellow. Relative luminance 0.446; OKLCH L 76.2% C 0.137 H 98.1°. Best body text is #000000 at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#C9B23A
RGBrgb(201, 178, 58)
HSLhsl(50, 57%, 51%)
HSVhsv(50, 71%, 79%)
CMYKcmyk(0%, 11.4%, 71.1%, 21.2%)
CIE-LABlab(72.61, -4.82, 61.18)
CIE-LCHlch(72.61, 61.37, 94.51°)
OKLaboklab(76.22% -0.0193 0.136)
OKLCHoklch(76.22% 0.137 98.1)
XYZxyz(40.7735, 44.5658, 10.4566)
Luminance0.4456 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9B23A #3A51C9
analogous
#C96A3A #C9B23A #98C93A
triadic
#C9B23A #3AC9B2 #B23AC9
tetradic
#C9B23A #3AC96A #3A51C9 #C93A98
square
#C9B23A #3AC96A #3A51C9 #C93A98
split-complementary
#C9B23A #3A98C9 #6A3AC9
monochromatic
#6B5F1D #9B892B #C9B23A #D6C56A #E3D89A

Accessibility & contrast

On white

2.12
#C9B23A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.91
#C9B23A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9B23A
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9B23A#FFFFFF#000000##000000
##C9B23A1.002.129.919.91
#FFFFFF2.121.0021.0021.00
#0000009.9121.001.001.00
##0000009.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE28
Deuteranopia (green-blind)
#CAB641
Tritanopia (blue-blind)
#D9A59A
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #c9b23a;
/* rgb */ color: rgb(201, 178, 58);
/* oklch */ color: oklch(76.2% 0.137 98.1);
Tailwind
colors: {
  custom: {
    50: '#ddc878',
    500: '#c9b23a',
    950: '#000000',
  },
}
SCSS
$custom: #c9b23a;
$custom-light: #ddc878;
$custom-dark: #000000;
JSON
{
  "hex": "#c9b23a",
  "rgb": {
    "r": 201,
    "g": 178,
    "b": 58
  },
  "hsl": {
    "h": 50.35,
    "s": 56.972,
    "l": 50.784
  },
  "oklch": {
    "l": 0.76222,
    "c": 0.13734,
    "h": 98.1
  },
  "luminance": 0.44564
}

Semantic roles & 50–950 ramp

primary
#C9B23A
secondary
#909ACF
accent
#60E048
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #C9B23A

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

Preview Lab → · Contrast checker → · Palette generator →

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