#C0BC30#C0BC30

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

Color values

HEX#C0BC30
RGBrgb(192, 188, 48)
HSLhsl(58, 60%, 47%)
HSVhsv(58, 75%, 75%)
CMYKcmyk(0%, 2.1%, 75%, 24.7%)
CIE-LABlab(74.44, -14.32, 66.23)
CIE-LCHlch(74.44, 67.76, 102.20°)
OKLaboklab(77.47% -0.0466 0.1452)
OKLCHoklch(77.47% 0.152 107.8)
XYZxyz(40.2565, 47.3877, 9.8219)
Luminance0.4739 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0BC30 #3034C0
analogous
#C07430 #C0BC30 #7CC030
triadic
#C0BC30 #30C0BC #BC30C0
tetradic
#C0BC30 #30C074 #3034C0 #C0307C
square
#C0BC30 #30C074 #3034C0 #C0307C
split-complementary
#C0BC30 #307CC0 #7430C0
monochromatic
#5E5C18 #8F8C24 #C0BC30 #D5D258 #E1DF89

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C0BC30#FFFFFF#000000##000000
##C0BC301.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)
#CCB40F
Deuteranopia (green-blind)
#CEB93B
Tritanopia (blue-blind)
#CEAFA2
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #c0bc30;
/* rgb */ color: rgb(192, 188, 48);
/* oklch */ color: oklch(77.5% 0.152 107.8);
Tailwind
colors: {
  custom: {
    50: '#d7cf73',
    500: '#c0bc30',
    950: '#000000',
  },
}
SCSS
$custom: #c0bc30;
$custom-light: #d7cf73;
$custom-dark: #000000;
JSON
{
  "hex": "#c0bc30",
  "rgb": {
    "r": 192,
    "g": 188,
    "b": 48
  },
  "hsl": {
    "h": 58.333,
    "s": 60,
    "l": 47.059
  },
  "oklch": {
    "l": 0.77472,
    "c": 0.15248,
    "h": 107.8
  },
  "luminance": 0.47386
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C0BC30

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

Preview Lab → · Contrast checker → · Palette generator →

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