#C9B330#C9B330

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

Color values

HEX#C9B330
RGBrgb(201, 179, 48)
HSLhsl(51, 61%, 49%)
HSVhsv(51, 76%, 79%)
CMYKcmyk(0%, 10.9%, 76.1%, 21.2%)
CIE-LABlab(72.81, -5.79, 65.00)
CIE-LCHlch(72.81, 65.26, 95.09°)
OKLaboklab(76.36% -0.0231 0.1422)
OKLCHoklch(76.36% 0.144 99.2)
XYZxyz(40.7430, 44.8731, 9.3111)
Luminance0.4487 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9B330 #3046C9
analogous
#C96730 #C9B330 #93C930
triadic
#C9B330 #30C9B3 #B330C9
tetradic
#C9B330 #30C967 #3046C9 #C93093
square
#C9B330 #30C967 #3046C9 #C93093
split-complementary
#C9B330 #3093C9 #6730C9
monochromatic
#665B18 #988724 #C9B330 #D8C75E #E4D88F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C9B330#FFFFFF#000000##000000
##C9B3301.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)
#C5AE14
Deuteranopia (green-blind)
#CBB639
Tritanopia (blue-blind)
#D9A59A
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #c9b330;
/* rgb */ color: rgb(201, 179, 48);
/* oklch */ color: oklch(76.4% 0.144 99.2);
Tailwind
colors: {
  custom: {
    50: '#dec973',
    500: '#c9b330',
    950: '#000000',
  },
}
SCSS
$custom: #c9b330;
$custom-light: #dec973;
$custom-dark: #000000;
JSON
{
  "hex": "#c9b330",
  "rgb": {
    "r": 201,
    "g": 179,
    "b": 48
  },
  "hsl": {
    "h": 51.373,
    "s": 61.446,
    "l": 48.824
  },
  "oklch": {
    "l": 0.76364,
    "c": 0.14406,
    "h": 99.2
  },
  "luminance": 0.44871
}

Semantic roles & 50–950 ramp

primary
#C9B330
secondary
#8690CF
accent
#5AE543
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161309
muted
#84827B

Preview Lab

Preview with #C9B330

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

Preview Lab → · Contrast checker → · Palette generator →

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