#C9AB30#C9AB30

#C9AB30 is a light, vivid yellow. Relative luminance 0.418; OKLCH L 74.7% C 0.138 H 94.6°. Best body text is #000000 at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#C9AB30
RGBrgb(201, 171, 48)
HSLhsl(48, 61%, 49%)
HSVhsv(48, 76%, 79%)
CMYKcmyk(0%, 14.9%, 76.1%, 21.2%)
CIE-LABlab(70.70, -1.59, 63.05)
CIE-LCHlch(70.70, 63.07, 91.45°)
OKLaboklab(74.7% -0.0112 0.138)
OKLCHoklch(74.7% 0.138 94.6)
XYZxyz(39.1859, 41.7590, 8.7920)
Luminance0.4176 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9AB30 #304EC9
analogous
#C95F30 #C9AB30 #9BC930
triadic
#C9AB30 #30C9AB #AB30C9
tetradic
#C9AB30 #30C95F #304EC9 #C9309B
square
#C9AB30 #30C95F #304EC9 #C9309B
split-complementary
#C9AB30 #309BC9 #5F30C9
monochromatic
#665718 #988124 #C9AB30 #D8C05E #E4D48F

Accessibility & contrast

On white

2.25
#C9AB30 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.35
#C9AB30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9AB30
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9AB30#FFFFFF#000000##000000
##C9AB301.002.259.359.35
#FFFFFF2.251.0021.0021.00
#0000009.3521.001.001.00
##0000009.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA818
Deuteranopia (green-blind)
#C5B138
Tritanopia (blue-blind)
#D99D93
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #c9ab30;
/* rgb */ color: rgb(201, 171, 48);
/* oklch */ color: oklch(74.7% 0.138 94.6);
Tailwind
colors: {
  custom: {
    50: '#dec372',
    500: '#c9ab30',
    950: '#000000',
  },
}
SCSS
$custom: #c9ab30;
$custom-light: #dec372;
$custom-dark: #000000;
JSON
{
  "hex": "#c9ab30",
  "rgb": {
    "r": 201,
    "g": 171,
    "b": 48
  },
  "hsl": {
    "h": 48.235,
    "s": 61.446,
    "l": 48.824
  },
  "oklch": {
    "l": 0.74698,
    "c": 0.13847,
    "h": 94.6
  },
  "luminance": 0.41757
}

Semantic roles & 50–950 ramp

primary
#C9AB30
secondary
#8694CF
accent
#63E543
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#161208
muted
#84817B

Preview Lab

Preview with #C9AB30

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

Preview Lab → · Contrast checker → · Palette generator →

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