#C9BD31#C9BD31

#C9BD31 is a light, vivid yellow. Relative luminance 0.490; OKLCH L 78.5% C 0.152 H 104.3°. Best body text is #000000 at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#C9BD31
RGBrgb(201, 189, 49)
HSLhsl(55, 61%, 49%)
HSVhsv(55, 76%, 79%)
CMYKcmyk(0%, 6%, 75.6%, 21.2%)
CIE-LABlab(75.47, -10.92, 67.14)
CIE-LCHlch(75.47, 68.02, 99.24°)
OKLaboklab(78.48% -0.0374 0.1469)
OKLCHoklch(78.48% 0.152 104.3)
XYZxyz(42.8413, 49.0362, 10.1134)
Luminance0.4903 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9BD31 #313DC9
analogous
#C97131 #C9BD31 #89C931
triadic
#C9BD31 #31C9BD #BD31C9
tetradic
#C9BD31 #31C971 #313DC9 #C93189
square
#C9BD31 #31C971 #313DC9 #C93189
split-complementary
#C9BD31 #3189C9 #7131C9
monochromatic
#676019 #988F25 #C9BD31 #D8CE5F #E4DD90

Accessibility & contrast

On white

1.94
#C9BD31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.81
#C9BD31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9BD31
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9BD31#FFFFFF#000000##000000
##C9BD311.001.9410.8110.81
#FFFFFF1.941.0021.0021.00
#00000010.8121.001.001.00
##00000010.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB611
Deuteranopia (green-blind)
#D2BD3C
Tritanopia (blue-blind)
#D8B0A3
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #c9bd31;
/* rgb */ color: rgb(201, 189, 49);
/* oklch */ color: oklch(78.5% 0.152 104.3);
Tailwind
colors: {
  custom: {
    50: '#ddd074',
    500: '#c9bd31',
    950: '#000000',
  },
}
SCSS
$custom: #c9bd31;
$custom-light: #ddd074;
$custom-dark: #000000;
JSON
{
  "hex": "#c9bd31",
  "rgb": {
    "r": 201,
    "g": 189,
    "b": 49
  },
  "hsl": {
    "h": 55.263,
    "s": 60.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.78483,
    "c": 0.15163,
    "h": 104.3
  },
  "luminance": 0.49034
}

Semantic roles & 50–950 ramp

primary
#C9BD31
secondary
#878DCF
accent
#51E444
background
#FEFCF7
surface
#FCF9ED
border
#D5D2C8
text
#161309
muted
#84827B

Preview Lab

Preview with #C9BD31

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

Preview Lab → · Contrast checker → · Palette generator →

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