#C9BC2D#C9BC2D

#C9BC2D is a light, vivid yellow. Relative luminance 0.486; OKLCH L 78.2% C 0.153 H 103.9°. Best body text is #000000 at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#C9BC2D
RGBrgb(201, 188, 45)
HSLhsl(55, 63%, 48%)
HSVhsv(55, 78%, 79%)
CMYKcmyk(0%, 6.5%, 77.6%, 21.2%)
CIE-LABlab(75.19, -10.56, 68.15)
CIE-LCHlch(75.19, 68.96, 98.81°)
OKLaboklab(78.25% -0.0368 0.1484)
OKLCHoklch(78.25% 0.153 103.9)
XYZxyz(42.5462, 48.5752, 9.6170)
Luminance0.4857 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9BC2D #2D3AC9
analogous
#C96E2D #C9BC2D #88C92D
triadic
#C9BC2D #2DC9BC #BC2DC9
tetradic
#C9BC2D #2DC96E #2D3AC9 #C92D88
square
#C9BC2D #2DC96E #2D3AC9 #C92D88
split-complementary
#C9BC2D #2D88C9 #6E2DC9
monochromatic
#655E17 #978D22 #C9BC2D #DACF59 #E5DE8B

Accessibility & contrast

On white

1.96
#C9BC2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.71
#C9BC2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9BC2D
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9BC2D#FFFFFF#000000##000000
##C9BC2D1.001.9610.7110.71
#FFFFFF1.961.0021.0021.00
#00000010.7121.001.001.00
##00000010.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB504
Deuteranopia (green-blind)
#D2BC38
Tritanopia (blue-blind)
#D8AFA1
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #c9bc2d;
/* rgb */ color: rgb(201, 188, 45);
/* oklch */ color: oklch(78.2% 0.153 103.9);
Tailwind
colors: {
  custom: {
    50: '#decf72',
    500: '#c9bc2d',
    950: '#000000',
  },
}
SCSS
$custom: #c9bc2d;
$custom-light: #decf72;
$custom-dark: #000000;
JSON
{
  "hex": "#c9bc2d",
  "rgb": {
    "r": 201,
    "g": 188,
    "b": 45
  },
  "hsl": {
    "h": 55,
    "s": 63.415,
    "l": 48.235
  },
  "oklch": {
    "l": 0.78248,
    "c": 0.15284,
    "h": 103.9
  },
  "luminance": 0.48573
}

Semantic roles & 50–950 ramp

primary
#C9BC2D
secondary
#8389CF
accent
#4FE641
background
#FEFCF7
surface
#FCF9ED
border
#D5D2C8
text
#161309
muted
#84827B

Preview Lab

Preview with #C9BC2D

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

Preview Lab → · Contrast checker → · Palette generator →

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