#C9BB3A#C9BB3A

#C9BB3A is a light, vivid yellow. Relative luminance 0.483; OKLCH L 78.1% C 0.145 H 103.0°. Best body text is #000000 at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#C9BB3A
RGBrgb(201, 187, 58)
HSLhsl(54, 57%, 51%)
HSVhsv(54, 71%, 79%)
CMYKcmyk(0%, 7%, 71.1%, 21.2%)
CIE-LABlab(74.99, -9.49, 63.53)
CIE-LCHlch(74.99, 64.23, 98.50°)
OKLaboklab(78.12% -0.0326 0.1409)
OKLCHoklch(78.12% 0.145 103)
XYZxyz(42.6233, 48.2654, 11.0732)
Luminance0.4826 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9BB3A #3A48C9
analogous
#C9733A #C9BB3A #8FC93A
triadic
#C9BB3A #3AC9BB #BB3AC9
tetradic
#C9BB3A #3AC973 #3A48C9 #C93A8F
square
#C9BB3A #3AC973 #3A48C9 #C93A8F
split-complementary
#C9BB3A #3A8FC9 #733AC9
monochromatic
#6B641D #9B902B #C9BB3A #D6CC6A #E3DC9A

Accessibility & contrast

On white

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

On black

10.65
#C9BB3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9BB3A
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9BB3A#FFFFFF#000000##000000
##C9BB3A1.001.9710.6510.65
#FFFFFF1.971.0021.0021.00
#00000010.6521.001.001.00
##00000010.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB525
Deuteranopia (green-blind)
#D0BB43
Tritanopia (blue-blind)
#D8AEA2
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #c9bb3a;
/* rgb */ color: rgb(201, 187, 58);
/* oklch */ color: oklch(78.1% 0.145 103.0);
Tailwind
colors: {
  custom: {
    50: '#ddcf78',
    500: '#c9bb3a',
    950: '#000000',
  },
}
SCSS
$custom: #c9bb3a;
$custom-light: #ddcf78;
$custom-dark: #000000;
JSON
{
  "hex": "#c9bb3a",
  "rgb": {
    "r": 201,
    "g": 187,
    "b": 58
  },
  "hsl": {
    "h": 54.126,
    "s": 56.972,
    "l": 50.784
  },
  "oklch": {
    "l": 0.78117,
    "c": 0.14465,
    "h": 103
  },
  "luminance": 0.48264
}

Semantic roles & 50–950 ramp

primary
#C9BB3A
secondary
#9096CF
accent
#57E048
background
#FEFCF7
surface
#FCF9EE
border
#D5D2C9
text
#161309
muted
#84827B

Preview Lab

Preview with #C9BB3A

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

Preview Lab → · Contrast checker → · Palette generator →

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