#C0BC2E#C0BC2E

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

Color values

HEX#C0BC2E
RGBrgb(192, 188, 46)
HSLhsl(58, 61%, 47%)
HSVhsv(58, 76%, 75%)
CMYKcmyk(0%, 2.1%, 76%, 24.7%)
CIE-LABlab(74.43, -14.40, 66.86)
CIE-LCHlch(74.43, 68.40, 102.16°)
OKLaboklab(77.46% -0.047 0.1462)
OKLCHoklch(77.46% 0.154 107.8)
XYZxyz(40.2162, 47.3715, 9.6094)
Luminance0.4737 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0BC2E #2E32C0
analogous
#C0732E #C0BC2E #7BC02E
triadic
#C0BC2E #2EC0BC #BC2EC0
tetradic
#C0BC2E #2EC073 #2E32C0 #C02E7B
square
#C0BC2E #2EC073 #2E32C0 #C02E7B
split-complementary
#C0BC2E #2E7BC0 #732EC0
monochromatic
#5D5B16 #8F8C22 #C0BC2E #D6D355 #E2E086

Accessibility & contrast

On white

2.00
#C0BC2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##C0BC2E#FFFFFF#000000##000000
##C0BC2E1.002.0010.4710.47
#FFFFFF2.001.0021.0021.00
#00000010.4721.001.001.00
##00000010.4721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c0bc2e;
/* rgb */ color: rgb(192, 188, 46);
/* oklch */ color: oklch(77.5% 0.154 107.8);
Tailwind
colors: {
  custom: {
    50: '#d7cf72',
    500: '#c0bc2e',
    950: '#000000',
  },
}
SCSS
$custom: #c0bc2e;
$custom-light: #d7cf72;
$custom-dark: #000000;
JSON
{
  "hex": "#c0bc2e",
  "rgb": {
    "r": 192,
    "g": 188,
    "b": 46
  },
  "hsl": {
    "h": 58.356,
    "s": 61.345,
    "l": 46.667
  },
  "oklch": {
    "l": 0.7746,
    "c": 0.15353,
    "h": 107.8
  },
  "luminance": 0.4737
}

Semantic roles & 50–950 ramp

primary
#C0BC2E
secondary
#7E80CC
accent
#48E443
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C0BC2E

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

Preview Lab → · Contrast checker → · Palette generator →

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