#C8AB35#C8AB35

#C8AB35 is a light, vivid yellow. Relative luminance 0.417; OKLCH L 74.6% C 0.135 H 94.8°. Best body text is #000000 at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#C8AB35
RGBrgb(200, 171, 53)
HSLhsl(48, 58%, 50%)
HSVhsv(48, 74%, 78%)
CMYKcmyk(0%, 14.5%, 73.5%, 21.6%)
CIE-LABlab(70.64, -1.81, 61.13)
CIE-LCHlch(70.64, 61.16, 91.70°)
OKLaboklab(74.63% -0.0112 0.135)
OKLCHoklch(74.63% 0.135 94.8)
XYZxyz(39.0270, 41.6644, 9.3539)
Luminance0.4166 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8AB35 #3552C8
analogous
#C86135 #C8AB35 #9CC835
triadic
#C8AB35 #35C8AB #AB35C8
tetradic
#C8AB35 #35C861 #3552C8 #C8359C
square
#C8AB35 #35C861 #3552C8 #C8359C
split-complementary
#C8AB35 #359CC8 #6135C8
monochromatic
#67581B #988228 #C8AB35 #D6C064 #E3D395

Accessibility & contrast

On white

2.25
#C8AB35 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.33
#C8AB35 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8AB35
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8AB35#FFFFFF#000000##000000
##C8AB351.002.259.339.33
#FFFFFF2.251.0021.0021.00
#0000009.3321.001.001.00
##0000009.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA822
Deuteranopia (green-blind)
#C4B13C
Tritanopia (blue-blind)
#D89D94
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #c8ab35;
/* rgb */ color: rgb(200, 171, 53);
/* oklch */ color: oklch(74.6% 0.135 94.8);
Tailwind
colors: {
  custom: {
    50: '#ddc374',
    500: '#c8ab35',
    950: '#000000',
  },
}
SCSS
$custom: #c8ab35;
$custom-light: #ddc374;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ab35",
  "rgb": {
    "r": 200,
    "g": 171,
    "b": 53
  },
  "hsl": {
    "h": 48.163,
    "s": 58.103,
    "l": 49.608
  },
  "oklch": {
    "l": 0.74634,
    "c": 0.13544,
    "h": 94.8
  },
  "luminance": 0.41662
}

Semantic roles & 50–950 ramp

primary
#C8AB35
secondary
#8B98CE
accent
#65E146
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#161209
muted
#84817B

Preview Lab

Preview with #C8AB35

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

Preview Lab → · Contrast checker → · Palette generator →

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