#C9BD52#C9BD52

#C9BD52 is a light, vivid yellow. Relative luminance 0.494; OKLCH L 78.8% C 0.128 H 102.9°. Best body text is #000000 at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#C9BD52
RGBrgb(201, 189, 82)
HSLhsl(54, 52%, 55%)
HSVhsv(54, 59%, 79%)
CMYKcmyk(0%, 6%, 59.2%, 21.2%)
CIE-LABlab(75.71, -9.09, 54.35)
CIE-LCHlch(75.71, 55.10, 99.49°)
OKLaboklab(78.75% -0.0288 0.1252)
OKLCHoklch(78.75% 0.128 102.9)
XYZxyz(43.8095, 49.4235, 15.2130)
Luminance0.4942 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9BD52 #525EC9
analogous
#C98252 #C9BD52 #99C952
triadic
#C9BD52 #52C9BD #BD52C9
tetradic
#C9BD52 #52C982 #525EC9 #C95299
square
#C9BD52 #52C982 #525EC9 #C95299
split-complementary
#C9BD52 #5299C9 #8252C9
monochromatic
#7A7226 #A99D35 #C9BD52 #D8CF81 #E6E1AF

Accessibility & contrast

On white

1.93
#C9BD52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.88
#C9BD52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9BD52
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9BD52#FFFFFF#000000##000000
##C9BD521.001.9310.8810.88
#FFFFFF1.931.0021.0021.00
#00000010.8821.001.001.00
##00000010.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB746
Deuteranopia (green-blind)
#D0BD58
Tritanopia (blue-blind)
#D7B1A6
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #c9bd52;
/* rgb */ color: rgb(201, 189, 82);
/* oklch */ color: oklch(78.8% 0.128 102.9);
Tailwind
colors: {
  custom: {
    50: '#dcd087',
    500: '#c9bd52',
    950: '#000000',
  },
}
SCSS
$custom: #c9bd52;
$custom-light: #dcd087;
$custom-dark: #000000;
JSON
{
  "hex": "#c9bd52",
  "rgb": {
    "r": 201,
    "g": 189,
    "b": 82
  },
  "hsl": {
    "h": 53.95,
    "s": 52.423,
    "l": 55.49
  },
  "oklch": {
    "l": 0.78751,
    "c": 0.12849,
    "h": 102.9
  },
  "luminance": 0.49422
}

Semantic roles & 50–950 ramp

primary
#C9BD52
secondary
#A3A8D4
accent
#5ADC4C
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15140B
muted
#83827C

Preview Lab

Preview with #C9BD52

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

Preview Lab → · Contrast checker → · Palette generator →

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