#C0B045#C0B045

#C0B045 is a light, vivid yellow. Relative luminance 0.427; OKLCH L 75.1% C 0.128 H 100.8°. Best body text is #000000 at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#C0B045
RGBrgb(192, 176, 69)
HSLhsl(52, 49%, 51%)
HSVhsv(52, 64%, 75%)
CMYKcmyk(0%, 8.3%, 64.1%, 24.7%)
CIE-LABlab(71.34, -7.04, 55.11)
CIE-LCHlch(71.34, 55.55, 97.28°)
OKLaboklab(75.06% -0.0239 0.1253)
OKLCHoklch(75.06% 0.128 100.8)
XYZxyz(38.3393, 42.6884, 11.8493)
Luminance0.4269 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0B045 #4555C0
analogous
#C07245 #C0B045 #92C045
triadic
#C0B045 #45C0B0 #B045C0
tetradic
#C0B045 #45C072 #4555C0 #C04592
square
#C0B045 #45C072 #4555C0 #C04592
split-complementary
#C0B045 #4592C0 #7245C0
monochromatic
#685F23 #958833 #C0B045 #CFC373 #DFD7A0

Accessibility & contrast

On white

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

On black

9.54
#C0B045 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0B045
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0B045#FFFFFF#000000##000000
##C0B0451.002.209.549.54
#FFFFFF2.201.0021.0021.00
#0000009.5421.001.001.00
##0000009.5421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c0b045;
/* rgb */ color: rgb(192, 176, 69);
/* oklch */ color: oklch(75.1% 0.128 100.8);
Tailwind
colors: {
  custom: {
    50: '#d6c77e',
    500: '#c0b045',
    950: '#000000',
  },
}
SCSS
$custom: #c0b045;
$custom-light: #d6c77e;
$custom-dark: #000000;
JSON
{
  "hex": "#c0b045",
  "rgb": {
    "r": 192,
    "g": 176,
    "b": 69
  },
  "hsl": {
    "h": 52.195,
    "s": 49.398,
    "l": 51.176
  },
  "oklch": {
    "l": 0.75055,
    "c": 0.1275,
    "h": 100.8
  },
  "luminance": 0.42687
}

Semantic roles & 50–950 ramp

primary
#C0B045
secondary
#959CCC
accent
#61D94F
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C0B045

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

Preview Lab → · Contrast checker → · Palette generator →

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