#C9B34A#C9B34A

#C9B34A is a light, vivid yellow. Relative luminance 0.452; OKLCH L 76.6% C 0.126 H 97.4°. Best body text is #000000 at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#C9B34A
RGBrgb(201, 179, 74)
HSLhsl(50, 54%, 54%)
HSVhsv(50, 63%, 79%)
CMYKcmyk(0%, 10.9%, 63.2%, 21.2%)
CIE-LABlab(72.99, -4.44, 54.93)
CIE-LCHlch(72.99, 55.11, 94.62°)
OKLaboklab(76.57% -0.0164 0.1254)
OKLCHoklch(76.57% 0.126 97.4)
XYZxyz(41.4453, 45.1541, 13.0098)
Luminance0.4515 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9B34A #4A60C9
analogous
#C9744A #C9B34A #A0C94A
triadic
#C9B34A #4AC9B3 #B34AC9
tetradic
#C9B34A #4AC974 #4A60C9 #C94AA0
square
#C9B34A #4AC974 #4A60C9 #C94AA0
split-complementary
#C9B34A #4AA0C9 #744AC9
monochromatic
#766723 #A59131 #C9B34A #D7C779 #E5DBA8

Accessibility & contrast

On white

2.09
#C9B34A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.03
#C9B34A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9B34A
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9B34A#FFFFFF#000000##000000
##C9B34A1.002.0910.0310.03
#FFFFFF2.091.0021.0021.00
#00000010.0321.001.001.00
##00000010.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AF3E
Deuteranopia (green-blind)
#C9B64F
Tritanopia (blue-blind)
#D8A79D
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #c9b34a;
/* rgb */ color: rgb(201, 179, 74);
/* oklch */ color: oklch(76.6% 0.126 97.4);
Tailwind
colors: {
  custom: {
    50: '#dcc981',
    500: '#c9b34a',
    950: '#000000',
  },
}
SCSS
$custom: #c9b34a;
$custom-light: #dcc981;
$custom-dark: #000000;
JSON
{
  "hex": "#c9b34a",
  "rgb": {
    "r": 201,
    "g": 179,
    "b": 74
  },
  "hsl": {
    "h": 49.606,
    "s": 54.043,
    "l": 53.922
  },
  "oklch": {
    "l": 0.7657,
    "c": 0.12645,
    "h": 97.4
  },
  "luminance": 0.45152
}

Semantic roles & 50–950 ramp

primary
#C9B34A
secondary
#9CA6D2
accent
#64DD4A
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #C9B34A

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

Preview Lab → · Contrast checker → · Palette generator →

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