#C9BA45#C9BA45

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

Color values

HEX#C9BA45
RGBrgb(201, 186, 69)
HSLhsl(53, 55%, 53%)
HSVhsv(53, 66%, 79%)
CMYKcmyk(0%, 7.5%, 65.7%, 21.2%)
CIE-LABlab(74.80, -8.39, 59.00)
CIE-LCHlch(74.80, 59.59, 98.09°)
OKLaboklab(77.99% -0.0282 0.1332)
OKLCHoklch(77.99% 0.136 102)
XYZxyz(42.7222, 47.9668, 12.6372)
Luminance0.4797 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9BA45 #4554C9
analogous
#C97845 #C9BA45 #96C945
triadic
#C9BA45 #45C9BA #BA45C9
tetradic
#C9BA45 #45C978 #4554C9 #C94596
square
#C9BA45 #45C978 #4554C9 #C94596
split-complementary
#C9BA45 #4596C9 #7845C9
monochromatic
#726921 #A2952F #C9BA45 #D7CC74 #E5DDA4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C9BA45#FFFFFF#000000##000000
##C9BA451.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)
#CAB436
Deuteranopia (green-blind)
#CFBB4C
Tritanopia (blue-blind)
#D8ADA2
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #c9ba45;
/* rgb */ color: rgb(201, 186, 69);
/* oklch */ color: oklch(78.0% 0.136 102.0);
Tailwind
colors: {
  custom: {
    50: '#ddce7e',
    500: '#c9ba45',
    950: '#000000',
  },
}
SCSS
$custom: #c9ba45;
$custom-light: #ddce7e;
$custom-dark: #000000;
JSON
{
  "hex": "#c9ba45",
  "rgb": {
    "r": 201,
    "g": 186,
    "b": 69
  },
  "hsl": {
    "h": 53.182,
    "s": 55,
    "l": 52.941
  },
  "oklch": {
    "l": 0.77992,
    "c": 0.1362,
    "h": 102
  },
  "luminance": 0.47965
}

Semantic roles & 50–950 ramp

primary
#C9BA45
secondary
#989FD1
accent
#5ADE49
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#15130A
muted
#84827C

Preview Lab

Preview with #C9BA45

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

Preview Lab → · Contrast checker → · Palette generator →

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