#C9BA42#C9BA42

#C9BA42 is a light, vivid yellow. Relative luminance 0.479; OKLCH L 78.0% C 0.138 H 102.1°. Best body text is #000000 at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#C9BA42
RGBrgb(201, 186, 66)
HSLhsl(53, 56%, 52%)
HSVhsv(53, 67%, 79%)
CMYKcmyk(0%, 7.5%, 67.2%, 21.2%)
CIE-LABlab(74.78, -8.56, 60.21)
CIE-LCHlch(74.78, 60.81, 98.09°)
OKLaboklab(77.97% -0.0291 0.1353)
OKLCHoklch(77.97% 0.138 102.1)
XYZxyz(42.6314, 47.9304, 12.1591)
Luminance0.4793 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9BA42 #4251C9
analogous
#C97642 #C9BA42 #95C942
triadic
#C9BA42 #42C9BA #BA42C9
tetradic
#C9BA42 #42C976 #4251C9 #C94295
square
#C9BA42 #42C976 #4251C9 #C94295
split-complementary
#C9BA42 #4295C9 #7642C9
monochromatic
#706820 #A0932E #C9BA42 #D7CB72 #E4DDA1

Accessibility & contrast

On white

1.98
#C9BA42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.59
#C9BA42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9BA42
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9BA42#FFFFFF#000000##000000
##C9BA421.001.9810.5910.59
#FFFFFF1.981.0021.0021.00
#00000010.5921.001.001.00
##00000010.5921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c9ba42;
/* rgb */ color: rgb(201, 186, 66);
/* oklch */ color: oklch(78.0% 0.138 102.1);
Tailwind
colors: {
  custom: {
    50: '#ddce7d',
    500: '#c9ba42',
    950: '#000000',
  },
}
SCSS
$custom: #c9ba42;
$custom-light: #ddce7d;
$custom-dark: #000000;
JSON
{
  "hex": "#c9ba42",
  "rgb": {
    "r": 201,
    "g": 186,
    "b": 66
  },
  "hsl": {
    "h": 53.333,
    "s": 55.556,
    "l": 52.353
  },
  "oklch": {
    "l": 0.77967,
    "c": 0.1384,
    "h": 102.1
  },
  "luminance": 0.47929
}

Semantic roles & 50–950 ramp

primary
#C9BA42
secondary
#969DD1
accent
#5ADF49
background
#FEFCF7
surface
#FCF9EE
border
#D5D2C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #C9BA42

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

Preview Lab → · Contrast checker → · Palette generator →

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