#C0AB48#C0AB48

#C0AB48 is a light, vivid yellow. Relative luminance 0.408; OKLCH L 74.0% C 0.121 H 97.3°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#C0AB48
RGBrgb(192, 171, 72)
HSLhsl(50, 49%, 52%)
HSVhsv(50, 63%, 75%)
CMYKcmyk(0%, 10.9%, 62.5%, 24.7%)
CIE-LABlab(70.04, -4.22, 52.37)
CIE-LCHlch(70.04, 52.54, 94.61°)
OKLaboklab(74.03% -0.0154 0.1199)
OKLCHoklch(74.03% 0.121 97.3)
XYZxyz(37.4724, 40.8019, 12.0314)
Luminance0.4080 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0AB48 #485DC0
analogous
#C06F48 #C0AB48 #99C048
triadic
#C0AB48 #48C0AB #AB48C0
tetradic
#C0AB48 #48C06F #485DC0 #C04899
square
#C0AB48 #48C06F #485DC0 #C04899
split-complementary
#C0AB48 #4899C0 #6F48C0
monochromatic
#695D24 #978634 #C0AB48 #D0C076 #DFD5A3

Accessibility & contrast

On white

2.29
#C0AB48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.16
#C0AB48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0AB48
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0AB48#FFFFFF#000000##000000
##C0AB481.002.299.169.16
#FFFFFF2.291.0021.0021.00
#0000009.1621.001.001.00
##0000009.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA73D
Deuteranopia (green-blind)
#C0AE4D
Tritanopia (blue-blind)
#CE9F96
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c0ab48;
/* rgb */ color: rgb(192, 171, 72);
/* oklch */ color: oklch(74.0% 0.121 97.3);
Tailwind
colors: {
  custom: {
    50: '#d6c37f',
    500: '#c0ab48',
    950: '#000000',
  },
}
SCSS
$custom: #c0ab48;
$custom-light: #d6c37f;
$custom-dark: #000000;
JSON
{
  "hex": "#c0ab48",
  "rgb": {
    "r": 192,
    "g": 171,
    "b": 72
  },
  "hsl": {
    "h": 49.5,
    "s": 48.78,
    "l": 51.765
  },
  "oklch": {
    "l": 0.74028,
    "c": 0.12087,
    "h": 97.3
  },
  "luminance": 0.408
}

Semantic roles & 50–950 ramp

primary
#C0AB48
secondary
#98A1CC
accent
#67D84F
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#15120A
muted
#83817C

Preview Lab

Preview with #C0AB48

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

Preview Lab → · Contrast checker → · Palette generator →

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