#C9BA3A#C9BA3A

#C9BA3A is a light, vivid yellow. Relative luminance 0.478; OKLCH L 77.9% C 0.144 H 102.5°. Best body text is #000000 at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#C9BA3A
RGBrgb(201, 186, 58)
HSLhsl(54, 57%, 51%)
HSVhsv(54, 71%, 79%)
CMYKcmyk(0%, 7.5%, 71.1%, 21.2%)
CIE-LABlab(74.73, -8.98, 63.27)
CIE-LCHlch(74.73, 63.90, 98.08°)
OKLaboklab(77.91% -0.0311 0.1404)
OKLCHoklch(77.91% 0.144 102.5)
XYZxyz(42.4119, 47.8426, 11.0027)
Luminance0.4784 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9BA3A #3A49C9
analogous
#C9723A #C9BA3A #90C93A
triadic
#C9BA3A #3AC9BA #BA3AC9
tetradic
#C9BA3A #3AC972 #3A49C9 #C93A90
square
#C9BA3A #3AC972 #3A49C9 #C93A90
split-complementary
#C9BA3A #3A90C9 #723AC9
monochromatic
#6B631D #9B8F2B #C9BA3A #D6CB6A #E3DC9A

Accessibility & contrast

On white

1.99
#C9BA3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.57
#C9BA3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9BA3A
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9BA3A#FFFFFF#000000##000000
##C9BA3A1.001.9910.5710.57
#FFFFFF1.991.0021.0021.00
#00000010.5721.001.001.00
##00000010.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB425
Deuteranopia (green-blind)
#D0BB42
Tritanopia (blue-blind)
#D8ADA1
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #c9ba3a;
/* rgb */ color: rgb(201, 186, 58);
/* oklch */ color: oklch(77.9% 0.144 102.5);
Tailwind
colors: {
  custom: {
    50: '#ddce78',
    500: '#c9ba3a',
    950: '#000000',
  },
}
SCSS
$custom: #c9ba3a;
$custom-light: #ddce78;
$custom-dark: #000000;
JSON
{
  "hex": "#c9ba3a",
  "rgb": {
    "r": 201,
    "g": 186,
    "b": 58
  },
  "hsl": {
    "h": 53.706,
    "s": 56.972,
    "l": 50.784
  },
  "oklch": {
    "l": 0.77905,
    "c": 0.14379,
    "h": 102.5
  },
  "luminance": 0.47841
}

Semantic roles & 50–950 ramp

primary
#C9BA3A
secondary
#9096CF
accent
#58E048
background
#FEFCF7
surface
#FCF9EE
border
#D5D2C9
text
#161309
muted
#84827B

Preview Lab

Preview with #C9BA3A

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

Preview Lab → · Contrast checker → · Palette generator →

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