#C9AB3D#C9AB3D

#C9AB3D is a light, vivid yellow. Relative luminance 0.419; OKLCH L 74.8% C 0.130 H 93.5°. Best body text is #000000 at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#C9AB3D
RGBrgb(201, 171, 61)
HSLhsl(47, 56%, 51%)
HSVhsv(47, 70%, 79%)
CMYKcmyk(0%, 14.9%, 69.7%, 21.2%)
CIE-LABlab(70.79, -0.98, 58.16)
CIE-LCHlch(70.79, 58.17, 90.97°)
OKLaboklab(74.79% -0.008 0.1301)
OKLCHoklch(74.79% 0.13 93.5)
XYZxyz(39.4946, 41.8824, 10.4178)
Luminance0.4188 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9AB3D #3D5BC9
analogous
#C9653D #C9AB3D #A1C93D
triadic
#C9AB3D #3DC9AB #AB3DC9
tetradic
#C9AB3D #3DC965 #3D5BC9 #C93DA1
square
#C9AB3D #3DC965 #3D5BC9 #C93DA1
split-complementary
#C9AB3D #3DA1C9 #653DC9
monochromatic
#6D5C1E #9D852C #C9AB3D #D6C06D #E4D49D

Accessibility & contrast

On white

2.24
#C9AB3D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.38
#C9AB3D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9AB3D
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9AB3D#FFFFFF#000000##000000
##C9AB3D1.002.249.389.38
#FFFFFF2.241.0021.0021.00
#0000009.3821.001.001.00
##0000009.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA82E
Deuteranopia (green-blind)
#C4B143
Tritanopia (blue-blind)
#D99E95
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #c9ab3d;
/* rgb */ color: rgb(201, 171, 61);
/* oklch */ color: oklch(74.8% 0.130 93.5);
Tailwind
colors: {
  custom: {
    50: '#ddc379',
    500: '#c9ab3d',
    950: '#000000',
  },
}
SCSS
$custom: #c9ab3d;
$custom-light: #ddc379;
$custom-dark: #000000;
JSON
{
  "hex": "#c9ab3d",
  "rgb": {
    "r": 201,
    "g": 171,
    "b": 61
  },
  "hsl": {
    "h": 47.143,
    "s": 56.452,
    "l": 51.373
  },
  "oklch": {
    "l": 0.74793,
    "c": 0.13038,
    "h": 93.5
  },
  "luminance": 0.4188
}

Semantic roles & 50–950 ramp

primary
#C9AB3D
secondary
#929FD0
accent
#69E048
background
#FEFBF7
surface
#FCF7EE
border
#D5D0C9
text
#161209
muted
#84817B

Preview Lab

Preview with #C9AB3D

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

Preview Lab → · Contrast checker → · Palette generator →

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