#C0BC5A#C0BC5A

#C0BC5A is a light, vivid yellow. Relative luminance 0.479; OKLCH L 77.8% C 0.121 H 106.8°. Best body text is #000000 at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#C0BC5A
RGBrgb(192, 188, 90)
HSLhsl(58, 45%, 55%)
HSVhsv(58, 53%, 75%)
CMYKcmyk(0%, 2.1%, 53.1%, 24.7%)
CIE-LABlab(74.77, -11.72, 49.38)
CIE-LCHlch(74.77, 50.75, 103.35°)
OKLaboklab(77.84% -0.0348 0.1157)
OKLCHoklch(77.84% 0.121 106.8)
XYZxyz(41.5680, 47.9123, 16.7292)
Luminance0.4791 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0BC5A #5A5EC0
analogous
#C0895A #C0BC5A #91C05A
triadic
#C0BC5A #5AC0BC #BC5AC0
tetradic
#C0BC5A #5AC089 #5A5EC0 #C05A91
square
#C0BC5A #5AC089 #5A5EC0 #C05A91
split-complementary
#C0BC5A #5A91C0 #895AC0
monochromatic
#73712C #A09C3D #C0BC5A #D1CE86 #E2E0B3

Accessibility & contrast

On white

1.98
#C0BC5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.58
#C0BC5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0BC5A
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0BC5A#FFFFFF#000000##000000
##C0BC5A1.001.9810.5810.58
#FFFFFF1.981.0021.0021.00
#00000010.5821.001.001.00
##00000010.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB651
Deuteranopia (green-blind)
#CCBA5F
Tritanopia (blue-blind)
#CCB1A6
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #c0bc5a;
/* rgb */ color: rgb(192, 188, 90);
/* oklch */ color: oklch(77.8% 0.121 106.8);
Tailwind
colors: {
  custom: {
    50: '#d5d08b',
    500: '#c0bc5a',
    950: '#000000',
  },
}
SCSS
$custom: #c0bc5a;
$custom-light: #d5d08b;
$custom-dark: #000000;
JSON
{
  "hex": "#c0bc5a",
  "rgb": {
    "r": 192,
    "g": 188,
    "b": 90
  },
  "hsl": {
    "h": 57.647,
    "s": 44.737,
    "l": 55.294
  },
  "oklch": {
    "l": 0.77843,
    "c": 0.12082,
    "h": 106.8
  },
  "luminance": 0.47911
}

Semantic roles & 50–950 ramp

primary
#C0BC5A
secondary
#A6A7D0
accent
#58D453
background
#FDFCF8
surface
#FAF9F0
border
#D3D2CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #C0BC5A

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

Preview Lab → · Contrast checker → · Palette generator →

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