#C0B548#C0B548

#C0B548 is a light, vivid yellow. Relative luminance 0.447; OKLCH L 76.1% C 0.130 H 103.6°. Best body text is #000000 at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#C0B548
RGBrgb(192, 181, 72)
HSLhsl(55, 49%, 52%)
HSVhsv(55, 63%, 75%)
CMYKcmyk(0%, 5.7%, 62.5%, 24.7%)
CIE-LABlab(72.71, -9.45, 55.27)
CIE-LCHlch(72.71, 56.07, 99.71°)
OKLaboklab(76.15% -0.0304 0.126)
OKLCHoklch(76.15% 0.13 103.6)
XYZxyz(39.4333, 44.7236, 12.6850)
Luminance0.4472 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0B548 #4853C0
analogous
#C07948 #C0B548 #8FC048
triadic
#C0B548 #48C0B5 #B548C0
tetradic
#C0B548 #48C079 #4853C0 #C0488F
square
#C0B548 #48C079 #4853C0 #C0488F
split-complementary
#C0B548 #488FC0 #7948C0
monochromatic
#696324 #978E34 #C0B548 #D0C776 #DFDAA3

Accessibility & contrast

On white

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

On black

9.94
#C0B548 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0B548
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0B548#FFFFFF#000000##000000
##C0B5481.002.119.949.94
#FFFFFF2.111.0021.0021.00
#0000009.9421.001.001.00
##0000009.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AF3B
Deuteranopia (green-blind)
#C8B54E
Tritanopia (blue-blind)
#CEA99E
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #c0b548;
/* rgb */ color: rgb(192, 181, 72);
/* oklch */ color: oklch(76.1% 0.130 103.6);
Tailwind
colors: {
  custom: {
    50: '#d6ca80',
    500: '#c0b548',
    950: '#000000',
  },
}
SCSS
$custom: #c0b548;
$custom-light: #d6ca80;
$custom-dark: #000000;
JSON
{
  "hex": "#c0b548",
  "rgb": {
    "r": 192,
    "g": 181,
    "b": 72
  },
  "hsl": {
    "h": 54.5,
    "s": 48.78,
    "l": 51.765
  },
  "oklch": {
    "l": 0.76149,
    "c": 0.12965,
    "h": 103.6
  },
  "luminance": 0.44722
}

Semantic roles & 50–950 ramp

primary
#C0B548
secondary
#989CCC
accent
#5CD84F
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130A
muted
#83827C

Preview Lab

Preview with #C0B548

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

Preview Lab → · Contrast checker → · Palette generator →

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