#C9B159#C9B159

#C9B159 is a light, moderate yellow. Relative luminance 0.446; OKLCH L 76.3% C 0.112 H 94.3°. Best body text is #000000 at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#C9B159
RGBrgb(201, 177, 89)
HSLhsl(47, 51%, 57%)
HSVhsv(47, 56%, 79%)
CMYKcmyk(0%, 11.9%, 55.7%, 21.2%)
CIE-LABlab(72.62, -2.30, 47.55)
CIE-LCHlch(72.62, 47.61, 92.77°)
OKLaboklab(76.32% -0.0085 0.1114)
OKLCHoklch(76.32% 0.112 94.3)
XYZxyz(41.6143, 44.5850, 15.8630)
Luminance0.4458 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9B159 #5971C9
analogous
#C97959 #C9B159 #A9C959
triadic
#C9B159 #59C9B1 #B159C9
tetradic
#C9B159 #59C979 #5971C9 #C959A9
square
#C9B159 #59C979 #5971C9 #C959A9
split-complementary
#C9B159 #59A9C9 #7959C9
monochromatic
#7E6C29 #AD9438 #C9B159 #D8C787 #E7DCB5

Accessibility & contrast

On white

2.12
#C9B159 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.92
#C9B159 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9B159
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9B159#FFFFFF#000000##000000
##C9B1591.002.129.929.92
#FFFFFF2.121.0021.0021.00
#0000009.9221.001.001.00
##0000009.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AE51
Deuteranopia (green-blind)
#C7B55D
Tritanopia (blue-blind)
#D7A59D
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #c9b159;
/* rgb */ color: rgb(201, 177, 89);
/* oklch */ color: oklch(76.3% 0.112 94.3);
Tailwind
colors: {
  custom: {
    50: '#dcc88a',
    500: '#c9b159',
    950: '#000000',
  },
}
SCSS
$custom: #c9b159;
$custom-light: #dcc88a;
$custom-dark: #000000;
JSON
{
  "hex": "#c9b159",
  "rgb": {
    "r": 201,
    "g": 177,
    "b": 89
  },
  "hsl": {
    "h": 47.143,
    "s": 50.909,
    "l": 56.863
  },
  "oklch": {
    "l": 0.76321,
    "c": 0.11176,
    "h": 94.3
  },
  "luminance": 0.44583
}

Semantic roles & 50–950 ramp

primary
#C9B159
secondary
#A8B2D6
accent
#6CDA4D
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #C9B159

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

Preview Lab → · Contrast checker → · Palette generator →

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