#C0BC2C#C0BC2C

#C0BC2C is a light, vivid yellow. Relative luminance 0.474; OKLCH L 77.4% C 0.155 H 107.9°. Best body text is #000000 at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#C0BC2C
RGBrgb(192, 188, 44)
HSLhsl(58, 63%, 46%)
HSVhsv(58, 77%, 75%)
CMYKcmyk(0%, 2.1%, 77.1%, 24.7%)
CIE-LABlab(74.42, -14.48, 67.48)
CIE-LCHlch(74.42, 69.01, 102.11°)
OKLaboklab(77.45% -0.0474 0.1471)
OKLCHoklch(77.45% 0.155 107.9)
XYZxyz(40.1777, 47.3561, 9.4066)
Luminance0.4736 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0BC2C #2C30C0
analogous
#C0722C #C0BC2C #7AC02C
triadic
#C0BC2C #2CC0BC #BC2CC0
tetradic
#C0BC2C #2CC072 #2C30C0 #C02C7A
square
#C0BC2C #2CC072 #2C30C0 #C02C7A
split-complementary
#C0BC2C #2C7AC0 #722CC0
monochromatic
#5C5A15 #8E8B21 #C0BC2C #D7D452 #E3E084

Accessibility & contrast

On white

2.01
#C0BC2C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.47
#C0BC2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0BC2C
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0BC2C#FFFFFF#000000##000000
##C0BC2C1.002.0110.4710.47
#FFFFFF2.011.0021.0021.00
#00000010.4721.001.001.00
##00000010.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB401
Deuteranopia (green-blind)
#CFB938
Tritanopia (blue-blind)
#CEAFA1
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #c0bc2c;
/* rgb */ color: rgb(192, 188, 44);
/* oklch */ color: oklch(77.4% 0.155 107.9);
Tailwind
colors: {
  custom: {
    50: '#d7cf72',
    500: '#c0bc2c',
    950: '#000000',
  },
}
SCSS
$custom: #c0bc2c;
$custom-light: #d7cf72;
$custom-dark: #000000;
JSON
{
  "hex": "#c0bc2c",
  "rgb": {
    "r": 192,
    "g": 188,
    "b": 44
  },
  "hsl": {
    "h": 58.378,
    "s": 62.712,
    "l": 46.275
  },
  "oklch": {
    "l": 0.77449,
    "c": 0.15454,
    "h": 107.9
  },
  "luminance": 0.47355
}

Semantic roles & 50–950 ramp

primary
#C0BC2C
secondary
#7C7ECC
accent
#46E642
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C0BC2C

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

Preview Lab → · Contrast checker → · Palette generator →

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