#C0B540#C0B540

#C0B540 is a light, vivid yellow. Relative luminance 0.446; OKLCH L 76.1% C 0.136 H 103.9°. Best body text is #000000 at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#C0B540
RGBrgb(192, 181, 64)
HSLhsl(55, 50%, 50%)
HSVhsv(55, 67%, 75%)
CMYKcmyk(0%, 5.7%, 66.7%, 24.7%)
CIE-LABlab(72.64, -9.94, 58.58)
CIE-LCHlch(72.64, 59.41, 99.64°)
OKLaboklab(76.08% -0.0327 0.1318)
OKLCHoklch(76.08% 0.136 103.9)
XYZxyz(39.1891, 44.6259, 11.3989)
Luminance0.4462 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0B540 #404BC0
analogous
#C07540 #C0B540 #8BC040
triadic
#C0B540 #40C0B5 #B540C0
tetradic
#C0B540 #40C075 #404BC0 #C0408B
square
#C0B540 #40C075 #404BC0 #C0408B
split-complementary
#C0B540 #408BC0 #7540C0
monochromatic
#645F21 #928A30 #C0B540 #CFC76E #DED99C

Accessibility & contrast

On white

2.12
#C0B540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.92
#C0B540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0B540
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0B540#FFFFFF#000000##000000
##C0B5401.002.129.929.92
#FFFFFF2.121.0021.0021.00
#0000009.9221.001.001.00
##0000009.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF30
Deuteranopia (green-blind)
#C8B547
Tritanopia (blue-blind)
#CEA99D
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #c0b540;
/* rgb */ color: rgb(192, 181, 64);
/* oklch */ color: oklch(76.1% 0.136 103.9);
Tailwind
colors: {
  custom: {
    50: '#d6ca7b',
    500: '#c0b540',
    950: '#000000',
  },
}
SCSS
$custom: #c0b540;
$custom-light: #d6ca7b;
$custom-dark: #000000;
JSON
{
  "hex": "#c0b540",
  "rgb": {
    "r": 192,
    "g": 181,
    "b": 64
  },
  "hsl": {
    "h": 54.844,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.76077,
    "c": 0.1358,
    "h": 103.9
  },
  "luminance": 0.44624
}

Semantic roles & 50–950 ramp

primary
#C0B540
secondary
#9196CB
accent
#5ADA4E
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C0B540

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

Preview Lab → · Contrast checker → · Palette generator →

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