#C0AB38#C0AB38

#C0AB38 is a light, vivid yellow. Relative luminance 0.406; OKLCH L 73.9% C 0.133 H 98.6°. Best body text is #000000 at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#C0AB38
RGBrgb(192, 171, 56)
HSLhsl(51, 55%, 49%)
HSVhsv(51, 71%, 75%)
CMYKcmyk(0%, 10.9%, 70.8%, 24.7%)
CIE-LABlab(69.91, -5.16, 59.01)
CIE-LCHlch(69.91, 59.23, 95.00°)
OKLaboklab(73.89% -0.02 0.1313)
OKLCHoklch(73.89% 0.133 98.6)
XYZxyz(37.0167, 40.6196, 9.6312)
Luminance0.4062 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0AB38 #384DC0
analogous
#C06738 #C0AB38 #91C038
triadic
#C0AB38 #38C0AB #AB38C0
tetradic
#C0AB38 #38C067 #384DC0 #C03891
square
#C0AB38 #38C067 #384DC0 #C03891
split-complementary
#C0AB38 #3891C0 #6738C0
monochromatic
#61571C #91812A #C0AB38 #D2C164 #DFD493

Accessibility & contrast

On white

2.30
#C0AB38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.12
#C0AB38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0AB38
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0AB38#FFFFFF#000000##000000
##C0AB381.002.309.129.12
#FFFFFF2.301.0021.0021.00
#0000009.1221.001.001.00
##0000009.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA727
Deuteranopia (green-blind)
#C1AE3F
Tritanopia (blue-blind)
#CF9E94
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c0ab38;
/* rgb */ color: rgb(192, 171, 56);
/* oklch */ color: oklch(73.9% 0.133 98.6);
Tailwind
colors: {
  custom: {
    50: '#d7c376',
    500: '#c0ab38',
    950: '#000000',
  },
}
SCSS
$custom: #c0ab38;
$custom-light: #d7c376;
$custom-dark: #000000;
JSON
{
  "hex": "#c0ab38",
  "rgb": {
    "r": 192,
    "g": 171,
    "b": 56
  },
  "hsl": {
    "h": 50.735,
    "s": 54.839,
    "l": 48.627
  },
  "oklch": {
    "l": 0.73886,
    "c": 0.13285,
    "h": 98.6
  },
  "luminance": 0.40618
}

Semantic roles & 50–950 ramp

primary
#C0AB38
secondary
#8993CB
accent
#61DE4A
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C0AB38

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

Preview Lab → · Contrast checker → · Palette generator →

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