#C9B95A#C9B95A

#C9B95A is a light, moderate yellow. Relative luminance 0.479; OKLCH L 78.0% C 0.118 H 99.9°. Best body text is #000000 at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#C9B95A
RGBrgb(201, 185, 90)
HSLhsl(51, 51%, 57%)
HSVhsv(51, 55%, 79%)
CMYKcmyk(0%, 8%, 55.2%, 21.2%)
CIE-LABlab(74.73, -6.42, 49.53)
CIE-LCHlch(74.73, 49.95, 97.38°)
OKLaboklab(78% -0.0202 0.1158)
OKLCHoklch(78% 0.118 99.9)
XYZxyz(43.2833, 47.8553, 16.6279)
Luminance0.4785 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9B95A #5A6AC9
analogous
#C9815A #C9B95A #A2C95A
triadic
#C9B95A #5AC9B9 #B95AC9
tetradic
#C9B95A #5AC981 #5A6AC9 #C95AA2
square
#C9B95A #5AC981 #5A6AC9 #C95AA2
split-complementary
#C9B95A #5AA2C9 #815AC9
monochromatic
#7F732A #AD9C39 #C9B95A #D8CD88 #E7E0B6

Accessibility & contrast

On white

1.99
#C9B95A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.57
#C9B95A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9B95A
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9B95A#FFFFFF#000000##000000
##C9B95A1.001.9910.5710.57
#FFFFFF1.991.0021.0021.00
#00000010.5721.001.001.00
##00000010.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B451
Deuteranopia (green-blind)
#CDBB5E
Tritanopia (blue-blind)
#D7AEA4
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #c9b95a;
/* rgb */ color: rgb(201, 185, 90);
/* oklch */ color: oklch(78.0% 0.118 99.9);
Tailwind
colors: {
  custom: {
    50: '#dccd8b',
    500: '#c9b95a',
    950: '#000000',
  },
}
SCSS
$custom: #c9b95a;
$custom-light: #dccd8b;
$custom-dark: #000000;
JSON
{
  "hex": "#c9b95a",
  "rgb": {
    "r": 201,
    "g": 185,
    "b": 90
  },
  "hsl": {
    "h": 51.351,
    "s": 50.685,
    "l": 57.059
  },
  "oklch": {
    "l": 0.77999,
    "c": 0.11759,
    "h": 99.9
  },
  "luminance": 0.47854
}

Semantic roles & 50–950 ramp

primary
#C9B95A
secondary
#A9AFD6
accent
#62DA4E
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #C9B95A

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

Preview Lab → · Contrast checker → · Palette generator →

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