#C0B552#C0B552

#C0B552 is a light, vivid yellow. Relative luminance 0.449; OKLCH L 76.3% C 0.121 H 103.0°. Best body text is #000000 at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#C0B552
RGBrgb(192, 181, 82)
HSLhsl(54, 47%, 54%)
HSVhsv(54, 57%, 75%)
CMYKcmyk(0%, 5.7%, 57.3%, 24.7%)
CIE-LABlab(72.80, -8.74, 50.87)
CIE-LCHlch(72.80, 51.62, 99.75°)
OKLaboklab(76.25% -0.0272 0.118)
OKLCHoklch(76.25% 0.121 103)
XYZxyz(39.7864, 44.8648, 14.5450)
Luminance0.4486 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0B552 #525DC0
analogous
#C07E52 #C0B552 #94C052
triadic
#C0B552 #52C0B5 #B552C0
tetradic
#C0B552 #52C07E #525DC0 #C05294
square
#C0B552 #52C07E #525DC0 #C05294
split-complementary
#C0B552 #5294C0 #7E52C0
monochromatic
#6F6828 #9C9239 #C0B552 #D0C87F #E1DBAC

Accessibility & contrast

On white

2.11
#C0B552 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.97
#C0B552 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0B552
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0B552#FFFFFF#000000##000000
##C0B5521.002.119.979.97
#FFFFFF2.111.0021.0021.00
#0000009.9721.001.001.00
##0000009.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B048
Deuteranopia (green-blind)
#C7B557
Tritanopia (blue-blind)
#CDAA9F
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #c0b552;
/* rgb */ color: rgb(192, 181, 82);
/* oklch */ color: oklch(76.3% 0.121 103.0);
Tailwind
colors: {
  custom: {
    50: '#d5ca86',
    500: '#c0b552',
    950: '#000000',
  },
}
SCSS
$custom: #c0b552;
$custom-light: #d5ca86;
$custom-dark: #000000;
JSON
{
  "hex": "#c0b552",
  "rgb": {
    "r": 192,
    "g": 181,
    "b": 82
  },
  "hsl": {
    "h": 54,
    "s": 46.61,
    "l": 53.725
  },
  "oklch": {
    "l": 0.76253,
    "c": 0.12109,
    "h": 103
  },
  "luminance": 0.44863
}

Semantic roles & 50–950 ramp

primary
#C0B552
secondary
#9FA4CE
accent
#5FD652
background
#FDFCF8
surface
#FAF8F0
border
#D3D1CB
text
#15130B
muted
#83827C

Preview Lab

Preview with #C0B552

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

Preview Lab → · Contrast checker → · Palette generator →

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