#C9B256#C9B256

#C9B256 is a light, moderate yellow. Relative luminance 0.449; OKLCH L 76.5% C 0.115 H 95.5°. Best body text is #000000 at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#C9B256
RGBrgb(201, 178, 86)
HSLhsl(48, 52%, 56%)
HSVhsv(48, 57%, 79%)
CMYKcmyk(0%, 11.4%, 57.2%, 21.2%)
CIE-LABlab(72.85, -3.07, 49.25)
CIE-LCHlch(72.85, 49.35, 93.56°)
OKLaboklab(76.49% -0.011 0.1148)
OKLCHoklch(76.49% 0.115 95.5)
XYZxyz(41.6892, 44.9321, 15.2791)
Luminance0.4493 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9B256 #566DC9
analogous
#C97956 #C9B256 #A7C956
triadic
#C9B256 #56C9B2 #B256C9
tetradic
#C9B256 #56C979 #566DC9 #C956A7
square
#C9B256 #56C979 #566DC9 #C956A7
split-complementary
#C9B256 #56A7C9 #7956C9
monochromatic
#7D6C28 #AB9437 #C9B256 #D8C784 #E7DCB3

Accessibility & contrast

On white

2.10
#C9B256 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.99
#C9B256 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9B256
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9B256#FFFFFF#000000##000000
##C9B2561.002.109.999.99
#FFFFFF2.101.0021.0021.00
#0000009.9921.001.001.00
##0000009.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AF4D
Deuteranopia (green-blind)
#C8B65A
Tritanopia (blue-blind)
#D7A69D
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #c9b256;
/* rgb */ color: rgb(201, 178, 86);
/* oklch */ color: oklch(76.5% 0.115 95.5);
Tailwind
colors: {
  custom: {
    50: '#dcc888',
    500: '#c9b256',
    950: '#000000',
  },
}
SCSS
$custom: #c9b256;
$custom-light: #dcc888;
$custom-dark: #000000;
JSON
{
  "hex": "#c9b256",
  "rgb": {
    "r": 201,
    "g": 178,
    "b": 86
  },
  "hsl": {
    "h": 48,
    "s": 51.57,
    "l": 56.275
  },
  "oklch": {
    "l": 0.76492,
    "c": 0.11533,
    "h": 95.5
  },
  "luminance": 0.4493
}

Semantic roles & 50–950 ramp

primary
#C9B256
secondary
#A6AFD5
accent
#69DB4D
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #C9B256

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

Preview Lab → · Contrast checker → · Palette generator →

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