#C9B333#C9B333

#C9B333 is a light, vivid yellow. Relative luminance 0.449; OKLCH L 76.4% C 0.142 H 99.1°. Best body text is #000000 at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#C9B333
RGBrgb(201, 179, 51)
HSLhsl(51, 60%, 49%)
HSVhsv(51, 75%, 79%)
CMYKcmyk(0%, 10.9%, 74.6%, 21.2%)
CIE-LABlab(72.83, -5.67, 63.98)
CIE-LCHlch(72.83, 64.23, 95.06°)
OKLaboklab(76.38% -0.0224 0.1406)
OKLCHoklch(76.38% 0.142 99.1)
XYZxyz(40.8070, 44.8987, 9.6482)
Luminance0.4490 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9B333 #3349C9
analogous
#C96833 #C9B333 #94C933
triadic
#C9B333 #33C9B3 #B333C9
tetradic
#C9B333 #33C968 #3349C9 #C93394
square
#C9B333 #33C968 #3349C9 #C93394
split-complementary
#C9B333 #3394C9 #6833C9
monochromatic
#675C1A #988827 #C9B333 #D7C662 #E4D893

Accessibility & contrast

On white

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

On black

9.98
#C9B333 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9B333
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9B333#FFFFFF#000000##000000
##C9B3331.002.109.989.98
#FFFFFF2.101.0021.0021.00
#0000009.9821.001.001.00
##0000009.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE1B
Deuteranopia (green-blind)
#CBB63C
Tritanopia (blue-blind)
#D9A59A
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #c9b333;
/* rgb */ color: rgb(201, 179, 51);
/* oklch */ color: oklch(76.4% 0.142 99.1);
Tailwind
colors: {
  custom: {
    50: '#ddc974',
    500: '#c9b333',
    950: '#000000',
  },
}
SCSS
$custom: #c9b333;
$custom-light: #ddc974;
$custom-dark: #000000;
JSON
{
  "hex": "#c9b333",
  "rgb": {
    "r": 201,
    "g": 179,
    "b": 51
  },
  "hsl": {
    "h": 51.2,
    "s": 59.524,
    "l": 49.412
  },
  "oklch": {
    "l": 0.76383,
    "c": 0.14239,
    "h": 99.1
  },
  "luminance": 0.44897
}

Semantic roles & 50–950 ramp

primary
#C9B333
secondary
#8993CF
accent
#5CE345
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161309
muted
#84827B

Preview Lab

Preview with #C9B333

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

Preview Lab → · Contrast checker → · Palette generator →

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