#C0B042#C0B042

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

Color values

HEX#C0B042
RGBrgb(192, 176, 66)
HSLhsl(52, 50%, 51%)
HSVhsv(52, 66%, 75%)
CMYKcmyk(0%, 8.3%, 65.6%, 24.7%)
CIE-LABlab(71.32, -7.23, 56.36)
CIE-LCHlch(71.32, 56.83, 97.31°)
OKLaboklab(75.03% -0.0247 0.1275)
OKLCHoklch(75.03% 0.13 101)
XYZxyz(38.2485, 42.6521, 11.3712)
Luminance0.4265 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0B042 #4252C0
analogous
#C07142 #C0B042 #91C042
triadic
#C0B042 #42C0B0 #B042C0
tetradic
#C0B042 #42C071 #4252C0 #C04291
square
#C0B042 #42C071 #4252C0 #C04291
split-complementary
#C0B042 #4291C0 #7142C0
monochromatic
#665D22 #948731 #C0B042 #CFC370 #DFD69E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C0B042#FFFFFF#000000##000000
##C0B0421.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)
#C0AB34
Deuteranopia (green-blind)
#C4B148
Tritanopia (blue-blind)
#CEA499
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #c0b042;
/* rgb */ color: rgb(192, 176, 66);
/* oklch */ color: oklch(75.0% 0.130 101.0);
Tailwind
colors: {
  custom: {
    50: '#d6c77c',
    500: '#c0b042',
    950: '#000000',
  },
}
SCSS
$custom: #c0b042;
$custom-light: #d6c77c;
$custom-dark: #000000;
JSON
{
  "hex": "#c0b042",
  "rgb": {
    "r": 192,
    "g": 176,
    "b": 66
  },
  "hsl": {
    "h": 52.381,
    "s": 50,
    "l": 50.588
  },
  "oklch": {
    "l": 0.75028,
    "c": 0.12984,
    "h": 101
  },
  "luminance": 0.4265
}

Semantic roles & 50–950 ramp

primary
#C0B042
secondary
#939ACB
accent
#60DA4E
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C0B042

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

Preview Lab → · Contrast checker → · Palette generator →

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