#C0BD31#C0BD31

#C0BD31 is a light, vivid yellow. Relative luminance 0.478; OKLCH L 77.7% C 0.153 H 108.2°. Best body text is #000000 at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#C0BD31
RGBrgb(192, 189, 49)
HSLhsl(59, 59%, 47%)
HSVhsv(59, 74%, 75%)
CMYKcmyk(0%, 1.6%, 74.5%, 24.7%)
CIE-LABlab(74.71, -14.79, 66.16)
CIE-LCHlch(74.71, 67.79, 102.60°)
OKLaboklab(77.7% -0.0478 0.1452)
OKLCHoklch(77.7% 0.153 108.2)
XYZxyz(40.4918, 47.8247, 10.0033)
Luminance0.4782 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0BD31 #3134C0
analogous
#C07531 #C0BD31 #7CC031
triadic
#C0BD31 #31C0BD #BD31C0
tetradic
#C0BD31 #31C075 #3134C0 #C0317C
square
#C0BD31 #31C075 #3134C0 #C0317C
split-complementary
#C0BD31 #317CC0 #7531C0
monochromatic
#5E5D18 #8F8D25 #C0BD31 #D5D259 #E1DF8A

Accessibility & contrast

On white

1.99
#C0BD31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.56
#C0BD31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0BD31
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0BD31#FFFFFF#000000##000000
##C0BD311.001.9910.5610.56
#FFFFFF1.991.0021.0021.00
#00000010.5621.001.001.00
##00000010.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB511
Deuteranopia (green-blind)
#CFBA3C
Tritanopia (blue-blind)
#CEB0A2
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #c0bd31;
/* rgb */ color: rgb(192, 189, 49);
/* oklch */ color: oklch(77.7% 0.153 108.2);
Tailwind
colors: {
  custom: {
    50: '#d7d074',
    500: '#c0bd31',
    950: '#000000',
  },
}
SCSS
$custom: #c0bd31;
$custom-light: #d7d074;
$custom-dark: #000000;
JSON
{
  "hex": "#c0bd31",
  "rgb": {
    "r": 192,
    "g": 189,
    "b": 49
  },
  "hsl": {
    "h": 58.741,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.77695,
    "c": 0.15288,
    "h": 108.2
  },
  "luminance": 0.47823
}

Semantic roles & 50–950 ramp

primary
#C0BD31
secondary
#8283CB
accent
#49E345
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C0BD31

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

Preview Lab → · Contrast checker → · Palette generator →

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