#C0B255#C0B255

#C0B255 is a light, moderate yellow. Relative luminance 0.437; OKLCH L 75.6% C 0.115 H 100.9°. Best body text is #000000 at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#C0B255
RGBrgb(192, 178, 85)
HSLhsl(52, 46%, 54%)
HSVhsv(52, 56%, 75%)
CMYKcmyk(0%, 7.3%, 55.7%, 24.7%)
CIE-LABlab(72.03, -6.95, 48.58)
CIE-LCHlch(72.03, 49.07, 98.14°)
OKLaboklab(75.65% -0.0217 0.1134)
OKLCHoklch(75.65% 0.115 100.9)
XYZxyz(39.2997, 43.7046, 14.9583)
Luminance0.4370 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0B255 #5563C0
analogous
#C07D55 #C0B255 #98C055
triadic
#C0B255 #55C0B2 #B255C0
tetradic
#C0B255 #55C07D #5563C0 #C05598
square
#C0B255 #55C07D #5563C0 #C05598
split-complementary
#C0B255 #5598C0 #7D55C0
monochromatic
#71682A #9D903A #C0B255 #D1C682 #E1DAAE

Accessibility & contrast

On white

2.16
#C0B255 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.74
#C0B255 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0B255
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0B255#FFFFFF#000000##000000
##C0B2551.002.169.749.74
#FFFFFF2.161.0021.0021.00
#0000009.7421.001.001.00
##0000009.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AD4C
Deuteranopia (green-blind)
#C5B359
Tritanopia (blue-blind)
#CDA79D
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #c0b255;
/* rgb */ color: rgb(192, 178, 85);
/* oklch */ color: oklch(75.6% 0.115 100.9);
Tailwind
colors: {
  custom: {
    50: '#d5c888',
    500: '#c0b255',
    950: '#000000',
  },
}
SCSS
$custom: #c0b255;
$custom-light: #d5c888;
$custom-dark: #000000;
JSON
{
  "hex": "#c0b255",
  "rgb": {
    "r": 192,
    "g": 178,
    "b": 85
  },
  "hsl": {
    "h": 52.15,
    "s": 45.923,
    "l": 54.314
  },
  "oklch": {
    "l": 0.7565,
    "c": 0.11547,
    "h": 100.9
  },
  "luminance": 0.43703
}

Semantic roles & 50–950 ramp

primary
#C0B255
secondary
#A2A8CF
accent
#63D652
background
#FDFCF8
surface
#FAF8F0
border
#D3D1CB
text
#15130B
muted
#83827C

Preview Lab

Preview with #C0B255

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

Preview Lab → · Contrast checker → · Palette generator →

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