#C8AB48#C8AB48

#C8AB48 is a light, vivid yellow. Relative luminance 0.419; OKLCH L 74.8% C 0.122 H 92.8°. Best body text is #000000 at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#C8AB48
RGBrgb(200, 171, 72)
HSLhsl(46, 54%, 53%)
HSVhsv(46, 64%, 78%)
CMYKcmyk(0%, 14.5%, 64%, 21.6%)
CIE-LABlab(70.78, -0.78, 53.40)
CIE-LCHlch(70.78, 53.40, 90.83°)
OKLaboklab(74.8% -0.006 0.1219)
OKLCHoklch(74.8% 0.122 92.8)
XYZxyz(39.5539, 41.8752, 12.1289)
Luminance0.4187 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8AB48 #4865C8
analogous
#C86B48 #C8AB48 #A5C848
triadic
#C8AB48 #48C8AB #AB48C8
tetradic
#C8AB48 #48C86B #4865C8 #C848A5
square
#C8AB48 #48C86B #4865C8 #C848A5
split-complementary
#C8AB48 #48A5C8 #6B48C8
monochromatic
#736123 #A28831 #C8AB48 #D6C177 #E4D6A6

Accessibility & contrast

On white

2.24
#C8AB48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.37
#C8AB48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8AB48
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8AB48#FFFFFF#000000##000000
##C8AB481.002.249.379.37
#FFFFFF2.241.0021.0021.00
#0000009.3721.001.001.00
##0000009.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA83D
Deuteranopia (green-blind)
#C3B14D
Tritanopia (blue-blind)
#D79E96
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #c8ab48;
/* rgb */ color: rgb(200, 171, 72);
/* oklch */ color: oklch(74.8% 0.122 92.8);
Tailwind
colors: {
  custom: {
    50: '#dcc37f',
    500: '#c8ab48',
    950: '#000000',
  },
}
SCSS
$custom: #c8ab48;
$custom-light: #dcc37f;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ab48",
  "rgb": {
    "r": 200,
    "g": 171,
    "b": 72
  },
  "hsl": {
    "h": 46.406,
    "s": 53.782,
    "l": 53.333
  },
  "oklch": {
    "l": 0.74795,
    "c": 0.122,
    "h": 92.8
  },
  "luminance": 0.41873
}

Semantic roles & 50–950 ramp

primary
#C8AB48
secondary
#9AA7D1
accent
#6CDD4B
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#15120A
muted
#83817C

Preview Lab

Preview with #C8AB48

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

Preview Lab → · Contrast checker → · Palette generator →

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