#C0B451#C0B451

#C0B451 is a light, vivid yellow. Relative luminance 0.444; OKLCH L 76.0% C 0.121 H 102.4°. Best body text is #000000 at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#C0B451
RGBrgb(192, 180, 81)
HSLhsl(54, 47%, 54%)
HSVhsv(54, 58%, 75%)
CMYKcmyk(0%, 6.2%, 57.8%, 24.7%)
CIE-LABlab(72.52, -8.30, 51.02)
CIE-LCHlch(72.52, 51.69, 99.24°)
OKLaboklab(76.03% -0.0261 0.1182)
OKLCHoklch(76.03% 0.121 102.4)
XYZxyz(39.5461, 44.4445, 14.2785)
Luminance0.4444 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0B451 #515DC0
analogous
#C07C51 #C0B451 #94C051
triadic
#C0B451 #51C0B4 #B451C0
tetradic
#C0B451 #51C07C #515DC0 #C05194
square
#C0B451 #51C07C #515DC0 #C05194
split-complementary
#C0B451 #5194C0 #7C51C0
monochromatic
#6F6728 #9B9138 #C0B451 #D0C77E #E1DBAB

Accessibility & contrast

On white

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

On black

9.89
#C0B451 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0B451
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0B451#FFFFFF#000000##000000
##C0B4511.002.129.899.89
#FFFFFF2.121.0021.0021.00
#0000009.8921.001.001.00
##0000009.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AF47
Deuteranopia (green-blind)
#C6B456
Tritanopia (blue-blind)
#CDA99E
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #c0b451;
/* rgb */ color: rgb(192, 180, 81);
/* oklch */ color: oklch(76.0% 0.121 102.4);
Tailwind
colors: {
  custom: {
    50: '#d6ca85',
    500: '#c0b451',
    950: '#000000',
  },
}
SCSS
$custom: #c0b451;
$custom-light: #d6ca85;
$custom-dark: #000000;
JSON
{
  "hex": "#c0b451",
  "rgb": {
    "r": 192,
    "g": 180,
    "b": 81
  },
  "hsl": {
    "h": 53.514,
    "s": 46.835,
    "l": 53.529
  },
  "oklch": {
    "l": 0.76029,
    "c": 0.12103,
    "h": 102.4
  },
  "luminance": 0.44443
}

Semantic roles & 50–950 ramp

primary
#C0B451
secondary
#9FA4CE
accent
#60D651
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #C0B451

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

Preview Lab → · Contrast checker → · Palette generator →

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