#C0BC34#C0BC34

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

Color values

HEX#C0BC34
RGBrgb(192, 188, 52)
HSLhsl(58, 57%, 48%)
HSVhsv(58, 73%, 75%)
CMYKcmyk(0%, 2.1%, 72.9%, 24.7%)
CIE-LABlab(74.46, -14.15, 64.90)
CIE-LCHlch(74.46, 66.43, 102.30°)
OKLaboklab(77.5% -0.0457 0.1431)
OKLCHoklch(77.5% 0.15 107.7)
XYZxyz(40.3428, 47.4222, 10.2764)
Luminance0.4742 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0BC34 #3438C0
analogous
#C07634 #C0BC34 #7EC034
triadic
#C0BC34 #34C0BC #BC34C0
tetradic
#C0BC34 #34C076 #3438C0 #C0347E
square
#C0BC34 #34C076 #3438C0 #C0347E
split-complementary
#C0BC34 #347EC0 #7634C0
monochromatic
#605E1A #908D27 #C0BC34 #D3D05E #E0DE8E

Accessibility & contrast

On white

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

On black

10.48
#C0BC34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0BC34
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0BC34#FFFFFF#000000##000000
##C0BC341.002.0010.4810.48
#FFFFFF2.001.0021.0021.00
#00000010.4821.001.001.00
##00000010.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB419
Deuteranopia (green-blind)
#CEB93E
Tritanopia (blue-blind)
#CEB0A2
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #c0bc34;
/* rgb */ color: rgb(192, 188, 52);
/* oklch */ color: oklch(77.5% 0.150 107.7);
Tailwind
colors: {
  custom: {
    50: '#d7cf75',
    500: '#c0bc34',
    950: '#000000',
  },
}
SCSS
$custom: #c0bc34;
$custom-light: #d7cf75;
$custom-dark: #000000;
JSON
{
  "hex": "#c0bc34",
  "rgb": {
    "r": 192,
    "g": 188,
    "b": 52
  },
  "hsl": {
    "h": 58.286,
    "s": 57.377,
    "l": 47.843
  },
  "oklch": {
    "l": 0.77496,
    "c": 0.15024,
    "h": 107.7
  },
  "luminance": 0.47421
}

Semantic roles & 50–950 ramp

primary
#C0BC34
secondary
#8587CB
accent
#4CE147
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C0BC34

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

Preview Lab → · Contrast checker → · Palette generator →

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