#C9B32F#C9B32F

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

Color values

HEX#C9B32F
RGBrgb(201, 179, 47)
HSLhsl(51, 62%, 49%)
HSVhsv(51, 77%, 79%)
CMYKcmyk(0%, 10.9%, 76.6%, 21.2%)
CIE-LABlab(72.80, -5.83, 65.34)
CIE-LCHlch(72.80, 65.59, 95.10°)
OKLaboklab(76.36% -0.0233 0.1427)
OKLCHoklch(76.36% 0.145 99.3)
XYZxyz(40.7226, 44.8650, 9.2036)
Luminance0.4486 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9B32F #2F45C9
analogous
#C9662F #C9B32F #92C92F
triadic
#C9B32F #2FC9B3 #B32FC9
tetradic
#C9B32F #2FC966 #2F45C9 #C92F92
square
#C9B32F #2FC966 #2F45C9 #C92F92
split-complementary
#C9B32F #2F92C9 #662FC9
monochromatic
#665B18 #978723 #C9B32F #D9C75C #E5D88E

Accessibility & contrast

On white

2.11
#C9B32F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.97
#C9B32F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9B32F
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9B32F#FFFFFF#000000##000000
##C9B32F1.002.119.979.97
#FFFFFF2.111.0021.0021.00
#0000009.9721.001.001.00
##0000009.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c9b32f;
/* rgb */ color: rgb(201, 179, 47);
/* oklch */ color: oklch(76.4% 0.145 99.3);
Tailwind
colors: {
  custom: {
    50: '#dec972',
    500: '#c9b32f',
    950: '#000000',
  },
}
SCSS
$custom: #c9b32f;
$custom-light: #dec972;
$custom-dark: #000000;
JSON
{
  "hex": "#c9b32f",
  "rgb": {
    "r": 201,
    "g": 179,
    "b": 47
  },
  "hsl": {
    "h": 51.429,
    "s": 62.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.76358,
    "c": 0.1446,
    "h": 99.3
  },
  "luminance": 0.44863
}

Semantic roles & 50–950 ramp

primary
#C9B32F
secondary
#858FCF
accent
#5AE543
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161308
muted
#84827B

Preview Lab

Preview with #C9B32F

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

Preview Lab → · Contrast checker → · Palette generator →

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