#C0B538#C0B538

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

Color values

HEX#C0B538
RGBrgb(192, 181, 56)
HSLhsl(55, 55%, 49%)
HSVhsv(55, 71%, 75%)
CMYKcmyk(0%, 5.7%, 70.8%, 24.7%)
CIE-LABlab(72.59, -10.37, 61.66)
CIE-LCHlch(72.59, 62.52, 99.55°)
OKLaboklab(76.01% -0.0348 0.1369)
OKLCHoklch(76.01% 0.141 104.2)
XYZxyz(38.9775, 44.5413, 10.2848)
Luminance0.4454 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0B538 #3843C0
analogous
#C07138 #C0B538 #87C038
triadic
#C0B538 #38C0B5 #B538C0
tetradic
#C0B538 #38C071 #3843C0 #C03887
square
#C0B538 #38C071 #3843C0 #C03887
split-complementary
#C0B538 #3887C0 #7138C0
monochromatic
#615C1C #91882A #C0B538 #D2C964 #DFD993

Accessibility & contrast

On white

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

On black

9.91
#C0B538 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0B538
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0B538#FFFFFF#000000##000000
##C0B5381.002.129.919.91
#FFFFFF2.121.0021.0021.00
#0000009.9121.001.001.00
##0000009.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF24
Deuteranopia (green-blind)
#C9B540
Tritanopia (blue-blind)
#CEA99C
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #c0b538;
/* rgb */ color: rgb(192, 181, 56);
/* oklch */ color: oklch(76.0% 0.141 104.2);
Tailwind
colors: {
  custom: {
    50: '#d7ca77',
    500: '#c0b538',
    950: '#000000',
  },
}
SCSS
$custom: #c0b538;
$custom-light: #d7ca77;
$custom-dark: #000000;
JSON
{
  "hex": "#c0b538",
  "rgb": {
    "r": 192,
    "g": 181,
    "b": 56
  },
  "hsl": {
    "h": 55.147,
    "s": 54.839,
    "l": 48.627
  },
  "oklch": {
    "l": 0.76014,
    "c": 0.14128,
    "h": 104.2
  },
  "luminance": 0.4454
}

Semantic roles & 50–950 ramp

primary
#C0B538
secondary
#898FCB
accent
#56DE4A
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C0B538

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

Preview Lab → · Contrast checker → · Palette generator →

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