#C9BF52#C9BF52

#C9BF52 is a light, vivid yellow. Relative luminance 0.503; OKLCH L 79.2% C 0.130 H 104.1°. Best body text is #000000 at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#C9BF52
RGBrgb(201, 191, 82)
HSLhsl(55, 52%, 55%)
HSVhsv(55, 59%, 79%)
CMYKcmyk(0%, 5%, 59.2%, 21.2%)
CIE-LABlab(76.25, -10.12, 54.94)
CIE-LCHlch(76.25, 55.86, 100.43°)
OKLaboklab(79.18% -0.0317 0.1265)
OKLCHoklch(79.18% 0.13 104.1)
XYZxyz(44.2427, 50.2899, 15.3574)
Luminance0.5029 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9BF52 #525CC9
analogous
#C98352 #C9BF52 #97C952
triadic
#C9BF52 #52C9BF #BF52C9
tetradic
#C9BF52 #52C983 #525CC9 #C95297
square
#C9BF52 #52C983 #525CC9 #C95297
split-complementary
#C9BF52 #5297C9 #8352C9
monochromatic
#7A7326 #A99F35 #C9BF52 #D8D081 #E6E2AF

Accessibility & contrast

On white

1.90
#C9BF52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.06
#C9BF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9BF52
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9BF52#FFFFFF#000000##000000
##C9BF521.001.9011.0611.06
#FFFFFF1.901.0021.0021.00
#00000011.0621.001.001.00
##00000011.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB946
Deuteranopia (green-blind)
#D2BF58
Tritanopia (blue-blind)
#D7B3A7
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c9bf52;
/* rgb */ color: rgb(201, 191, 82);
/* oklch */ color: oklch(79.2% 0.130 104.1);
Tailwind
colors: {
  custom: {
    50: '#dcd287',
    500: '#c9bf52',
    950: '#000000',
  },
}
SCSS
$custom: #c9bf52;
$custom-light: #dcd287;
$custom-dark: #000000;
JSON
{
  "hex": "#c9bf52",
  "rgb": {
    "r": 201,
    "g": 191,
    "b": 82
  },
  "hsl": {
    "h": 54.958,
    "s": 52.423,
    "l": 55.49
  },
  "oklch": {
    "l": 0.79175,
    "c": 0.1304,
    "h": 104.1
  },
  "luminance": 0.50288
}

Semantic roles & 50–950 ramp

primary
#C9BF52
secondary
#3D4283
accent
#58DC4C
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C9BF52

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

Preview Lab → · Contrast checker → · Palette generator →

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