#C9B336#C9B336

#C9B336 is a light, vivid yellow. Relative luminance 0.449; OKLCH L 76.4% C 0.141 H 98.9°. Best body text is #000000 at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#C9B336
RGBrgb(201, 179, 54)
HSLhsl(51, 58%, 50%)
HSVhsv(51, 73%, 79%)
CMYKcmyk(0%, 10.9%, 73.1%, 21.2%)
CIE-LABlab(72.84, -5.54, 62.92)
CIE-LCHlch(72.84, 63.16, 95.03°)
OKLaboklab(76.4% -0.0218 0.1389)
OKLCHoklch(76.4% 0.141 98.9)
XYZxyz(40.8753, 44.9261, 10.0079)
Luminance0.4492 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9B336 #364CC9
analogous
#C96936 #C9B336 #96C936
triadic
#C9B336 #36C9B3 #B336C9
tetradic
#C9B336 #36C969 #364CC9 #C93696
square
#C9B336 #36C969 #364CC9 #C93696
split-complementary
#C9B336 #3696C9 #6936C9
monochromatic
#695D1C #998829 #C9B336 #D6C566 #E3D796

Accessibility & contrast

On white

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

On black

9.98
#C9B336 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9B336
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9B336#FFFFFF#000000##000000
##C9B3361.002.109.989.98
#FFFFFF2.101.0021.0021.00
#0000009.9821.001.001.00
##0000009.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE21
Deuteranopia (green-blind)
#CBB63E
Tritanopia (blue-blind)
#D9A69B
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #c9b336;
/* rgb */ color: rgb(201, 179, 54);
/* oklch */ color: oklch(76.4% 0.141 98.9);
Tailwind
colors: {
  custom: {
    50: '#ddc976',
    500: '#c9b336',
    950: '#000000',
  },
}
SCSS
$custom: #c9b336;
$custom-light: #ddc976;
$custom-dark: #000000;
JSON
{
  "hex": "#c9b336",
  "rgb": {
    "r": 201,
    "g": 179,
    "b": 54
  },
  "hsl": {
    "h": 51.02,
    "s": 57.647,
    "l": 50
  },
  "oklch": {
    "l": 0.76403,
    "c": 0.14062,
    "h": 98.9
  },
  "luminance": 0.44924
}

Semantic roles & 50–950 ramp

primary
#C9B336
secondary
#8C96CE
accent
#5EE147
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161309
muted
#84827B

Preview Lab

Preview with #C9B336

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

Preview Lab → · Contrast checker → · Palette generator →

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