#C0BC52#C0BC52

#C0BC52 is a light, vivid yellow. Relative luminance 0.478; OKLCH L 77.8% C 0.128 H 107.0°. Best body text is #000000 at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#C0BC52
RGBrgb(192, 188, 82)
HSLhsl(58, 47%, 54%)
HSVhsv(58, 57%, 75%)
CMYKcmyk(0%, 2.1%, 57.3%, 24.7%)
CIE-LABlab(74.69, -12.35, 52.99)
CIE-LCHlch(74.69, 54.41, 103.12°)
OKLaboklab(77.75% -0.0375 0.1225)
OKLCHoklch(77.75% 0.128 107)
XYZxyz(41.2457, 47.7833, 15.0314)
Luminance0.4778 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0BC52 #5256C0
analogous
#C08552 #C0BC52 #8DC052
triadic
#C0BC52 #52C0BC #BC52C0
tetradic
#C0BC52 #52C085 #5256C0 #C0528D
square
#C0BC52 #52C085 #5256C0 #C0528D
split-complementary
#C0BC52 #528DC0 #8552C0
monochromatic
#6F6D28 #9C9839 #C0BC52 #D0CD7F #E1DFAC

Accessibility & contrast

On white

1.99
#C0BC52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.56
#C0BC52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0BC52
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0BC52#FFFFFF#000000##000000
##C0BC521.001.9910.5610.56
#FFFFFF1.991.0021.0021.00
#00000010.5621.001.001.00
##00000010.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB547
Deuteranopia (green-blind)
#CDBA58
Tritanopia (blue-blind)
#CDB1A5
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #c0bc52;
/* rgb */ color: rgb(192, 188, 82);
/* oklch */ color: oklch(77.8% 0.128 107.0);
Tailwind
colors: {
  custom: {
    50: '#d5d086',
    500: '#c0bc52',
    950: '#000000',
  },
}
SCSS
$custom: #c0bc52;
$custom-light: #d5d086;
$custom-dark: #000000;
JSON
{
  "hex": "#c0bc52",
  "rgb": {
    "r": 192,
    "g": 188,
    "b": 82
  },
  "hsl": {
    "h": 57.818,
    "s": 46.61,
    "l": 53.725
  },
  "oklch": {
    "l": 0.77752,
    "c": 0.12815,
    "h": 107
  },
  "luminance": 0.47782
}

Semantic roles & 50–950 ramp

primary
#C0BC52
secondary
#9FA1CE
accent
#56D652
background
#FDFCF8
surface
#FAF9F0
border
#D3D2CB
text
#15130B
muted
#83827C

Preview Lab

Preview with #C0BC52

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

Preview Lab → · Contrast checker → · Palette generator →

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