#C0BC2B#C0BC2B

#C0BC2B is a light, vivid yellow. Relative luminance 0.473; 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#C0BC2B
RGBrgb(192, 188, 43)
HSLhsl(58, 63%, 46%)
HSVhsv(58, 78%, 75%)
CMYKcmyk(0%, 2.1%, 77.6%, 24.7%)
CIE-LABlab(74.41, -14.52, 67.78)
CIE-LCHlch(74.41, 69.31, 102.09°)
OKLaboklab(77.44% -0.0476 0.1475)
OKLCHoklch(77.44% 0.155 107.9)
XYZxyz(40.1591, 47.3487, 9.3088)
Luminance0.4735 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0BC2B #2B2FC0
analogous
#C0712B #C0BC2B #79C02B
triadic
#C0BC2B #2BC0BC #BC2BC0
tetradic
#C0BC2B #2BC071 #2B2FC0 #C02B79
square
#C0BC2B #2BC071 #2B2FC0 #C02B79
split-complementary
#C0BC2B #2B79C0 #712BC0
monochromatic
#5C5A15 #8E8B20 #C0BC2B #D8D450 #E3E082

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C0BC2B#FFFFFF#000000##000000
##C0BC2B1.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)
#CCB400
Deuteranopia (green-blind)
#CFB937
Tritanopia (blue-blind)
#CEAFA1
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #c0bc2b;
/* rgb */ color: rgb(192, 188, 43);
/* oklch */ color: oklch(77.4% 0.155 107.9);
Tailwind
colors: {
  custom: {
    50: '#d7cf71',
    500: '#c0bc2b',
    950: '#000000',
  },
}
SCSS
$custom: #c0bc2b;
$custom-light: #d7cf71;
$custom-dark: #000000;
JSON
{
  "hex": "#c0bc2b",
  "rgb": {
    "r": 192,
    "g": 188,
    "b": 43
  },
  "hsl": {
    "h": 58.389,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.77444,
    "c": 0.15503,
    "h": 107.9
  },
  "luminance": 0.47347
}

Semantic roles & 50–950 ramp

primary
#C0BC2B
secondary
#7B7DCC
accent
#46E641
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151308
muted
#83827B

Preview Lab

Preview with #C0BC2B

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

Preview Lab → · Contrast checker → · Palette generator →

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