#C9B23E#C9B23E

#C9B23E is a light, vivid yellow. Relative luminance 0.446; OKLCH L 76.3% C 0.135 H 97.8°. Best body text is #000000 at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#C9B23E
RGBrgb(201, 178, 62)
HSLhsl(50, 56%, 52%)
HSVhsv(50, 69%, 79%)
CMYKcmyk(0%, 11.4%, 69.2%, 21.2%)
CIE-LABlab(72.63, -4.62, 59.63)
CIE-LCHlch(72.63, 59.81, 94.43°)
OKLaboklab(76.25% -0.0183 0.1334)
OKLCHoklch(76.25% 0.135 97.8)
XYZxyz(40.8792, 44.6081, 11.0135)
Luminance0.4461 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9B23E #3E55C9
analogous
#C96D3E #C9B23E #9BC93E
triadic
#C9B23E #3EC9B2 #B23EC9
tetradic
#C9B23E #3EC96D #3E55C9 #C93E9B
square
#C9B23E #3EC96D #3E55C9 #C93E9B
split-complementary
#C9B23E #3E9BC9 #6D3EC9
monochromatic
#6E611F #9E8B2C #C9B23E #D6C56E #E4D89E

Accessibility & contrast

On white

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

On black

9.92
#C9B23E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9B23E
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9B23E#FFFFFF#000000##000000
##C9B23E1.002.129.929.92
#FFFFFF2.121.0021.0021.00
#0000009.9221.001.001.00
##0000009.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c9b23e;
/* rgb */ color: rgb(201, 178, 62);
/* oklch */ color: oklch(76.3% 0.135 97.8);
Tailwind
colors: {
  custom: {
    50: '#ddc87a',
    500: '#c9b23e',
    950: '#000000',
  },
}
SCSS
$custom: #c9b23e;
$custom-light: #ddc87a;
$custom-dark: #000000;
JSON
{
  "hex": "#c9b23e",
  "rgb": {
    "r": 201,
    "g": 178,
    "b": 62
  },
  "hsl": {
    "h": 50.072,
    "s": 56.275,
    "l": 51.569
  },
  "oklch": {
    "l": 0.76253,
    "c": 0.13466,
    "h": 97.8
  },
  "luminance": 0.44606
}

Semantic roles & 50–950 ramp

primary
#C9B23E
secondary
#939DD0
accent
#61E048
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #C9B23E

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

Preview Lab → · Contrast checker → · Palette generator →

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