#C9BB31#C9BB31

#C9BB31 is a light, vivid yellow. Relative luminance 0.482; OKLCH L 78.1% C 0.150 H 103.3°. Best body text is #000000 at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#C9BB31
RGBrgb(201, 187, 49)
HSLhsl(54, 61%, 49%)
HSVhsv(54, 76%, 79%)
CMYKcmyk(0%, 7%, 75.6%, 21.2%)
CIE-LABlab(74.94, -9.89, 66.64)
CIE-LCHlch(74.94, 67.37, 98.45°)
OKLaboklab(78.06% -0.0346 0.1459)
OKLCHoklch(78.06% 0.15 103.3)
XYZxyz(42.4140, 48.1817, 9.9710)
Luminance0.4818 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9BB31 #313FC9
analogous
#C96F31 #C9BB31 #8BC931
triadic
#C9BB31 #31C9BB #BB31C9
tetradic
#C9BB31 #31C96F #313FC9 #C9318B
square
#C9BB31 #31C96F #313FC9 #C9318B
split-complementary
#C9BB31 #318BC9 #6F31C9
monochromatic
#675F19 #988D25 #C9BB31 #D8CD5F #E4DC90

Accessibility & contrast

On white

1.97
#C9BB31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.64
#C9BB31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9BB31
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9BB31#FFFFFF#000000##000000
##C9BB311.001.9710.6410.64
#FFFFFF1.971.0021.0021.00
#00000010.6421.001.001.00
##00000010.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB512
Deuteranopia (green-blind)
#D1BB3B
Tritanopia (blue-blind)
#D8AEA1
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #c9bb31;
/* rgb */ color: rgb(201, 187, 49);
/* oklch */ color: oklch(78.1% 0.150 103.3);
Tailwind
colors: {
  custom: {
    50: '#ddcf74',
    500: '#c9bb31',
    950: '#000000',
  },
}
SCSS
$custom: #c9bb31;
$custom-light: #ddcf74;
$custom-dark: #000000;
JSON
{
  "hex": "#c9bb31",
  "rgb": {
    "r": 201,
    "g": 187,
    "b": 49
  },
  "hsl": {
    "h": 54.474,
    "s": 60.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.78058,
    "c": 0.14993,
    "h": 103.3
  },
  "luminance": 0.4818
}

Semantic roles & 50–950 ramp

primary
#C9BB31
secondary
#878ECF
accent
#53E444
background
#FEFCF7
surface
#FCF9ED
border
#D5D2C8
text
#161309
muted
#84827B

Preview Lab

Preview with #C9BB31

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

Preview Lab → · Contrast checker → · Palette generator →

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