#C9BB40#C9BB40

#C9BB40 is a light, vivid yellow. Relative luminance 0.483; OKLCH L 78.2% C 0.141 H 102.8°. Best body text is #000000 at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#C9BB40
RGBrgb(201, 187, 64)
HSLhsl(54, 56%, 52%)
HSVhsv(54, 68%, 79%)
CMYKcmyk(0%, 7%, 68.2%, 21.2%)
CIE-LABlab(75.03, -9.19, 61.27)
CIE-LCHlch(75.03, 61.95, 98.53°)
OKLaboklab(78.16% -0.0311 0.1372)
OKLCHoklch(78.16% 0.141 102.8)
XYZxyz(42.7849, 48.3301, 11.9245)
Luminance0.4833 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9BB40 #404EC9
analogous
#C97740 #C9BB40 #92C940
triadic
#C9BB40 #40C9BB #BB40C9
tetradic
#C9BB40 #40C977 #404EC9 #C94092
square
#C9BB40 #40C977 #404EC9 #C94092
split-complementary
#C9BB40 #4092C9 #7740C9
monochromatic
#6F671F #9F932D #C9BB40 #D6CC70 #E4DD9F

Accessibility & contrast

On white

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

On black

10.67
#C9BB40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9BB40
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9BB40#FFFFFF#000000##000000
##C9BB401.001.9710.6710.67
#FFFFFF1.971.0021.0021.00
#00000010.6721.001.001.00
##00000010.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c9bb40;
/* rgb */ color: rgb(201, 187, 64);
/* oklch */ color: oklch(78.2% 0.141 102.8);
Tailwind
colors: {
  custom: {
    50: '#ddcf7c',
    500: '#c9bb40',
    950: '#000000',
  },
}
SCSS
$custom: #c9bb40;
$custom-light: #ddcf7c;
$custom-dark: #000000;
JSON
{
  "hex": "#c9bb40",
  "rgb": {
    "r": 201,
    "g": 187,
    "b": 64
  },
  "hsl": {
    "h": 53.869,
    "s": 55.918,
    "l": 51.961
  },
  "oklch": {
    "l": 0.78162,
    "c": 0.14068,
    "h": 102.8
  },
  "luminance": 0.48328
}

Semantic roles & 50–950 ramp

primary
#C9BB40
secondary
#949BD0
accent
#58DF49
background
#FEFCF7
surface
#FCF9EE
border
#D5D2C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #C9BB40

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

Preview Lab → · Contrast checker → · Palette generator →

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