#C9BA52#C9BA52

#C9BA52 is a light, vivid yellow. Relative luminance 0.481; OKLCH L 78.1% C 0.126 H 101.2°. Best body text is #000000 at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#C9BA52
RGBrgb(201, 186, 82)
HSLhsl(52, 52%, 55%)
HSVhsv(52, 59%, 79%)
CMYKcmyk(0%, 7.5%, 59.2%, 21.2%)
CIE-LABlab(74.92, -7.54, 53.46)
CIE-LCHlch(74.92, 53.99, 98.03°)
OKLaboklab(78.12% -0.0243 0.1233)
OKLCHoklch(78.12% 0.126 101.2)
XYZxyz(43.1709, 48.1462, 15.0001)
Luminance0.4814 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9BA52 #5261C9
analogous
#C97E52 #C9BA52 #9CC952
triadic
#C9BA52 #52C9BA #BA52C9
tetradic
#C9BA52 #52C97E #5261C9 #C9529C
square
#C9BA52 #52C97E #5261C9 #C9529C
split-complementary
#C9BA52 #529CC9 #7E52C9
monochromatic
#7A7026 #A99A35 #C9BA52 #D8CD81 #E6DFAF

Accessibility & contrast

On white

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

On black

10.63
#C9BA52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9BA52
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9BA52#FFFFFF#000000##000000
##C9BA521.001.9810.6310.63
#FFFFFF1.981.0021.0021.00
#00000010.6321.001.001.00
##00000010.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB547
Deuteranopia (green-blind)
#CEBB57
Tritanopia (blue-blind)
#D7AEA3
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #c9ba52;
/* rgb */ color: rgb(201, 186, 82);
/* oklch */ color: oklch(78.1% 0.126 101.2);
Tailwind
colors: {
  custom: {
    50: '#dcce86',
    500: '#c9ba52',
    950: '#000000',
  },
}
SCSS
$custom: #c9ba52;
$custom-light: #dcce86;
$custom-dark: #000000;
JSON
{
  "hex": "#c9ba52",
  "rgb": {
    "r": 201,
    "g": 186,
    "b": 82
  },
  "hsl": {
    "h": 52.437,
    "s": 52.423,
    "l": 55.49
  },
  "oklch": {
    "l": 0.78118,
    "c": 0.12571,
    "h": 101.2
  },
  "luminance": 0.48145
}

Semantic roles & 50–950 ramp

primary
#C9BA52
secondary
#A3A9D4
accent
#5EDC4C
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15130B
muted
#83827C

Preview Lab

Preview with #C9BA52

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

Preview Lab → · Contrast checker → · Palette generator →

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