#C9B23B#C9B23B

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

Color values

HEX#C9B23B
RGBrgb(201, 178, 59)
HSLhsl(50, 57%, 51%)
HSVhsv(50, 71%, 79%)
CMYKcmyk(0%, 11.4%, 70.6%, 21.2%)
CIE-LABlab(72.61, -4.77, 60.80)
CIE-LCHlch(72.61, 60.98, 94.49°)
OKLaboklab(76.23% -0.0191 0.1354)
OKLCHoklch(76.23% 0.137 98)
XYZxyz(40.7992, 44.5761, 10.5919)
Luminance0.4457 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9B23B #3B52C9
analogous
#C96B3B #C9B23B #99C93B
triadic
#C9B23B #3BC9B2 #B23BC9
tetradic
#C9B23B #3BC96B #3B52C9 #C93B99
square
#C9B23B #3BC96B #3B52C9 #C93B99
split-complementary
#C9B23B #3B99C9 #6B3BC9
monochromatic
#6C5F1E #9C8A2B #C9B23B #D6C56B #E3D89B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C9B23B#FFFFFF#000000##000000
##C9B23B1.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)
#C3AE29
Deuteranopia (green-blind)
#CAB642
Tritanopia (blue-blind)
#D9A59A
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #c9b23b;
/* rgb */ color: rgb(201, 178, 59);
/* oklch */ color: oklch(76.2% 0.137 98.0);
Tailwind
colors: {
  custom: {
    50: '#ddc878',
    500: '#c9b23b',
    950: '#000000',
  },
}
SCSS
$custom: #c9b23b;
$custom-light: #ddc878;
$custom-dark: #000000;
JSON
{
  "hex": "#c9b23b",
  "rgb": {
    "r": 201,
    "g": 178,
    "b": 59
  },
  "hsl": {
    "h": 50.282,
    "s": 56.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.7623,
    "c": 0.13669,
    "h": 98
  },
  "luminance": 0.44574
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C9B23B

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

Preview Lab → · Contrast checker → · Palette generator →

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