#C0B151#C0B151

#C0B151 is a light, moderate yellow. Relative luminance 0.432; OKLCH L 75.4% C 0.118 H 100.5°. Best body text is #000000 at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#C0B151
RGBrgb(192, 177, 81)
HSLhsl(52, 47%, 54%)
HSVhsv(52, 58%, 75%)
CMYKcmyk(0%, 7.8%, 57.8%, 24.7%)
CIE-LABlab(71.72, -6.73, 50.11)
CIE-LCHlch(71.72, 50.56, 97.65°)
OKLaboklab(75.39% -0.0216 0.1162)
OKLCHoklch(75.39% 0.118 100.5)
XYZxyz(38.9470, 43.2464, 14.0788)
Luminance0.4325 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0B151 #5160C0
analogous
#C07951 #C0B151 #97C051
triadic
#C0B151 #51C0B1 #B151C0
tetradic
#C0B151 #51C079 #5160C0 #C05197
square
#C0B151 #51C079 #5160C0 #C05197
split-complementary
#C0B151 #5197C0 #7951C0
monochromatic
#6F6528 #9B8E38 #C0B151 #D0C57E #E1D9AB

Accessibility & contrast

On white

2.18
#C0B151 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.65
#C0B151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0B151
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0B151#FFFFFF#000000##000000
##C0B1511.002.189.659.65
#FFFFFF2.181.0021.0021.00
#0000009.6521.001.001.00
##0000009.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AC47
Deuteranopia (green-blind)
#C4B256
Tritanopia (blue-blind)
#CDA69C
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c0b151;
/* rgb */ color: rgb(192, 177, 81);
/* oklch */ color: oklch(75.4% 0.118 100.5);
Tailwind
colors: {
  custom: {
    50: '#d6c885',
    500: '#c0b151',
    950: '#000000',
  },
}
SCSS
$custom: #c0b151;
$custom-light: #d6c885;
$custom-dark: #000000;
JSON
{
  "hex": "#c0b151",
  "rgb": {
    "r": 192,
    "g": 177,
    "b": 81
  },
  "hsl": {
    "h": 51.892,
    "s": 46.835,
    "l": 53.529
  },
  "oklch": {
    "l": 0.75392,
    "c": 0.11823,
    "h": 100.5
  },
  "luminance": 0.43245
}

Semantic roles & 50–950 ramp

primary
#C0B151
secondary
#9FA5CE
accent
#63D651
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #C0B151

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

Preview Lab → · Contrast checker → · Palette generator →

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