#C0B533#C0B533

#C0B533 is a light, vivid yellow. Relative luminance 0.445; OKLCH L 76.0% C 0.144 H 104.4°. Best body text is #000000 at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#C0B533
RGBrgb(192, 181, 51)
HSLhsl(55, 58%, 48%)
HSVhsv(55, 73%, 75%)
CMYKcmyk(0%, 5.7%, 73.4%, 24.7%)
CIE-LABlab(72.56, -10.61, 63.45)
CIE-LCHlch(72.56, 64.33, 99.49°)
OKLaboklab(75.98% -0.0359 0.1398)
OKLCHoklch(75.98% 0.144 104.4)
XYZxyz(38.8613, 44.4948, 9.6727)
Luminance0.4449 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0B533 #333EC0
analogous
#C06E33 #C0B533 #85C033
triadic
#C0B533 #33C0B5 #B533C0
tetradic
#C0B533 #33C06E #333EC0 #C03385
square
#C0B533 #33C06E #333EC0 #C03385
split-complementary
#C0B533 #3385C0 #6E33C0
monochromatic
#5F5A19 #908726 #C0B533 #D4CA5C #E1DA8D

Accessibility & contrast

On white

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

On black

9.90
#C0B533 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0B533
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0B533#FFFFFF#000000##000000
##C0B5331.002.129.909.90
#FFFFFF2.121.0021.0021.00
#0000009.9021.001.001.00
##0000009.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF1A
Deuteranopia (green-blind)
#C9B53C
Tritanopia (blue-blind)
#CEA89C
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #c0b533;
/* rgb */ color: rgb(192, 181, 51);
/* oklch */ color: oklch(76.0% 0.144 104.4);
Tailwind
colors: {
  custom: {
    50: '#d7ca74',
    500: '#c0b533',
    950: '#000000',
  },
}
SCSS
$custom: #c0b533;
$custom-light: #d7ca74;
$custom-dark: #000000;
JSON
{
  "hex": "#c0b533",
  "rgb": {
    "r": 192,
    "g": 181,
    "b": 51
  },
  "hsl": {
    "h": 55.319,
    "s": 58.025,
    "l": 47.647
  },
  "oklch": {
    "l": 0.7598,
    "c": 0.14436,
    "h": 104.4
  },
  "luminance": 0.44493
}

Semantic roles & 50–950 ramp

primary
#C0B533
secondary
#8489CB
accent
#53E147
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C0B533

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

Preview Lab → · Contrast checker → · Palette generator →

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