#C9BB42#C9BB42

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

Color values

HEX#C9BB42
RGBrgb(201, 187, 66)
HSLhsl(54, 56%, 52%)
HSVhsv(54, 67%, 79%)
CMYKcmyk(0%, 7%, 67.2%, 21.2%)
CIE-LABlab(75.05, -9.08, 60.48)
CIE-LCHlch(75.05, 61.16, 98.53°)
OKLaboklab(78.18% -0.0305 0.1359)
OKLCHoklch(78.18% 0.139 102.7)
XYZxyz(42.8429, 48.3532, 12.2296)
Luminance0.4835 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9BB42 #4250C9
analogous
#C97842 #C9BB42 #93C942
triadic
#C9BB42 #42C9BB #BB42C9
tetradic
#C9BB42 #42C978 #4250C9 #C94293
square
#C9BB42 #42C978 #4250C9 #C94293
split-complementary
#C9BB42 #4293C9 #7842C9
monochromatic
#706820 #A0942E #C9BB42 #D7CC72 #E4DDA1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C9BB42#FFFFFF#000000##000000
##C9BB421.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)
#CCB531
Deuteranopia (green-blind)
#D0BC49
Tritanopia (blue-blind)
#D8AEA2
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #c9bb42;
/* rgb */ color: rgb(201, 187, 66);
/* oklch */ color: oklch(78.2% 0.139 102.7);
Tailwind
colors: {
  custom: {
    50: '#ddcf7d',
    500: '#c9bb42',
    950: '#000000',
  },
}
SCSS
$custom: #c9bb42;
$custom-light: #ddcf7d;
$custom-dark: #000000;
JSON
{
  "hex": "#c9bb42",
  "rgb": {
    "r": 201,
    "g": 187,
    "b": 66
  },
  "hsl": {
    "h": 53.778,
    "s": 55.556,
    "l": 52.353
  },
  "oklch": {
    "l": 0.78178,
    "c": 0.13927,
    "h": 102.7
  },
  "luminance": 0.48352
}

Semantic roles & 50–950 ramp

primary
#C9BB42
secondary
#969CD1
accent
#58DF49
background
#FEFCF7
surface
#FCF9EE
border
#D5D2C9
text
#15130A
muted
#84827C

Preview Lab

Preview with #C9BB42

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

Preview Lab → · Contrast checker → · Palette generator →

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