#C0B040#C0B040

#C0B040 is a light, vivid yellow. Relative luminance 0.426; OKLCH L 75.0% C 0.131 H 101.1°. Best body text is #000000 at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#C0B040
RGBrgb(192, 176, 64)
HSLhsl(53, 50%, 50%)
HSVhsv(53, 67%, 75%)
CMYKcmyk(0%, 8.3%, 66.7%, 24.7%)
CIE-LABlab(71.30, -7.35, 57.19)
CIE-LCHlch(71.30, 57.66, 97.32°)
OKLaboklab(75.01% -0.0253 0.1289)
OKLCHoklch(75.01% 0.131 101.1)
XYZxyz(38.1906, 42.6289, 11.0660)
Luminance0.4263 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0B040 #4050C0
analogous
#C07040 #C0B040 #90C040
triadic
#C0B040 #40C0B0 #B040C0
tetradic
#C0B040 #40C070 #4050C0 #C04090
square
#C0B040 #40C070 #4050C0 #C04090
split-complementary
#C0B040 #4090C0 #7040C0
monochromatic
#645C21 #928630 #C0B040 #CFC36E #DED69C

Accessibility & contrast

On white

2.20
#C0B040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.53
#C0B040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0B040
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0B040#FFFFFF#000000##000000
##C0B0401.002.209.539.53
#FFFFFF2.201.0021.0021.00
#0000009.5321.001.001.00
##0000009.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AB31
Deuteranopia (green-blind)
#C5B146
Tritanopia (blue-blind)
#CEA499
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #c0b040;
/* rgb */ color: rgb(192, 176, 64);
/* oklch */ color: oklch(75.0% 0.131 101.1);
Tailwind
colors: {
  custom: {
    50: '#d6c77b',
    500: '#c0b040',
    950: '#000000',
  },
}
SCSS
$custom: #c0b040;
$custom-light: #d6c77b;
$custom-dark: #000000;
JSON
{
  "hex": "#c0b040",
  "rgb": {
    "r": 192,
    "g": 176,
    "b": 64
  },
  "hsl": {
    "h": 52.5,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.7501,
    "c": 0.13133,
    "h": 101.1
  },
  "luminance": 0.42627
}

Semantic roles & 50–950 ramp

primary
#C0B040
secondary
#9198CB
accent
#5FDA4E
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C0B040

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

Preview Lab → · Contrast checker → · Palette generator →

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