#C0B052#C0B052

#C0B052 is a light, moderate yellow. Relative luminance 0.429; OKLCH L 75.2% C 0.116 H 99.8°. Best body text is #000000 at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#C0B052
RGBrgb(192, 176, 82)
HSLhsl(51, 47%, 54%)
HSVhsv(51, 57%, 75%)
CMYKcmyk(0%, 8.3%, 57.3%, 24.7%)
CIE-LABlab(71.47, -6.13, 49.35)
CIE-LCHlch(71.47, 49.73, 97.09°)
OKLaboklab(75.19% -0.0197 0.1147)
OKLCHoklch(75.19% 0.116 99.8)
XYZxyz(38.7880, 42.8679, 14.2122)
Luminance0.4287 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0B052 #5262C0
analogous
#C07952 #C0B052 #99C052
triadic
#C0B052 #52C0B0 #B052C0
tetradic
#C0B052 #52C079 #5262C0 #C05299
square
#C0B052 #52C079 #5262C0 #C05299
split-complementary
#C0B052 #5299C0 #7952C0
monochromatic
#6F6528 #9C8E39 #C0B052 #D0C47F #E1D9AC

Accessibility & contrast

On white

2.19
#C0B052 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.57
#C0B052 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0B052
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0B052#FFFFFF#000000##000000
##C0B0521.002.199.579.57
#FFFFFF2.191.0021.0021.00
#0000009.5721.001.001.00
##0000009.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAC49
Deuteranopia (green-blind)
#C3B256
Tritanopia (blue-blind)
#CDA59B
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #c0b052;
/* rgb */ color: rgb(192, 176, 82);
/* oklch */ color: oklch(75.2% 0.116 99.8);
Tailwind
colors: {
  custom: {
    50: '#d5c786',
    500: '#c0b052',
    950: '#000000',
  },
}
SCSS
$custom: #c0b052;
$custom-light: #d5c786;
$custom-dark: #000000;
JSON
{
  "hex": "#c0b052",
  "rgb": {
    "r": 192,
    "g": 176,
    "b": 82
  },
  "hsl": {
    "h": 51.273,
    "s": 46.61,
    "l": 53.725
  },
  "oklch": {
    "l": 0.75191,
    "c": 0.11642,
    "h": 99.8
  },
  "luminance": 0.42866
}

Semantic roles & 50–950 ramp

primary
#C0B052
secondary
#9FA6CE
accent
#65D652
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #C0B052

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

Preview Lab → · Contrast checker → · Palette generator →

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