#C9B33A#C9B33A

#C9B33A is a light, vivid yellow. Relative luminance 0.450; OKLCH L 76.4% C 0.138 H 98.7°. Best body text is #000000 at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#C9B33A
RGBrgb(201, 179, 58)
HSLhsl(51, 57%, 51%)
HSVhsv(51, 71%, 79%)
CMYKcmyk(0%, 10.9%, 71.1%, 21.2%)
CIE-LABlab(72.87, -5.35, 61.44)
CIE-LCHlch(72.87, 61.67, 94.97°)
OKLaboklab(76.43% -0.0208 0.1365)
OKLCHoklch(76.43% 0.138 98.7)
XYZxyz(40.9732, 44.9652, 10.5231)
Luminance0.4496 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9B33A #3A50C9
analogous
#C96B3A #C9B33A #97C93A
triadic
#C9B33A #3AC9B3 #B33AC9
tetradic
#C9B33A #3AC96B #3A50C9 #C93A97
square
#C9B33A #3AC96B #3A50C9 #C93A97
split-complementary
#C9B33A #3A97C9 #6B3AC9
monochromatic
#6B5F1D #9B8A2B #C9B33A #D6C66A #E3D89A

Accessibility & contrast

On white

2.10
#C9B33A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.99
#C9B33A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9B33A
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9B33A#FFFFFF#000000##000000
##C9B33A1.002.109.999.99
#FFFFFF2.101.0021.0021.00
#0000009.9921.001.001.00
##0000009.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE27
Deuteranopia (green-blind)
#CAB641
Tritanopia (blue-blind)
#D9A69B
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #c9b33a;
/* rgb */ color: rgb(201, 179, 58);
/* oklch */ color: oklch(76.4% 0.138 98.7);
Tailwind
colors: {
  custom: {
    50: '#ddc978',
    500: '#c9b33a',
    950: '#000000',
  },
}
SCSS
$custom: #c9b33a;
$custom-light: #ddc978;
$custom-dark: #000000;
JSON
{
  "hex": "#c9b33a",
  "rgb": {
    "r": 201,
    "g": 179,
    "b": 58
  },
  "hsl": {
    "h": 50.769,
    "s": 56.972,
    "l": 50.784
  },
  "oklch": {
    "l": 0.76431,
    "c": 0.13811,
    "h": 98.7
  },
  "luminance": 0.44963
}

Semantic roles & 50–950 ramp

primary
#C9B33A
secondary
#9099CF
accent
#5FE048
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #C9B33A

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

Preview Lab → · Contrast checker → · Palette generator →

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