#C8A538#C8A538

#C8A538 is a light, vivid yellow. Relative luminance 0.395; OKLCH L 73.4% C 0.130 H 90.6°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#C8A538
RGBrgb(200, 165, 56)
HSLhsl(45, 57%, 50%)
HSVhsv(45, 72%, 78%)
CMYKcmyk(0%, 17.5%, 72%, 21.6%)
CIE-LABlab(69.10, 1.52, 58.45)
CIE-LCHlch(69.10, 58.47, 88.51°)
OKLaboklab(73.42% -0.0014 0.1299)
OKLCHoklch(73.42% 0.13 90.6)
XYZxyz(37.9905, 39.4775, 9.3595)
Luminance0.3947 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A538 #385BC8
analogous
#C85D38 #C8A538 #A3C838
triadic
#C8A538 #38C8A5 #A538C8
tetradic
#C8A538 #38C85D #385BC8 #C838A3
square
#C8A538 #38C85D #385BC8 #C838A3
split-complementary
#C8A538 #38A3C8 #5D38C8
monochromatic
#69561D #997E2A #C8A538 #D5BB68 #E3D098

Accessibility & contrast

On white

2.36
#C8A538 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.90
#C8A538 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A538
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A538#FFFFFF#000000##000000
##C8A5381.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A328
Deuteranopia (green-blind)
#C0AD3E
Tritanopia (blue-blind)
#D8978F
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #c8a538;
/* rgb */ color: rgb(200, 165, 56);
/* oklch */ color: oklch(73.4% 0.130 90.6);
Tailwind
colors: {
  custom: {
    50: '#ddbf75',
    500: '#c8a538',
    950: '#000000',
  },
}
SCSS
$custom: #c8a538;
$custom-light: #ddbf75;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a538",
  "rgb": {
    "r": 200,
    "g": 165,
    "b": 56
  },
  "hsl": {
    "h": 45.417,
    "s": 56.693,
    "l": 50.196
  },
  "oklch": {
    "l": 0.73421,
    "c": 0.12987,
    "h": 90.6
  },
  "luminance": 0.39475
}

Semantic roles & 50–950 ramp

primary
#C8A538
secondary
#8E9DCE
accent
#6DE048
background
#FEFBF7
surface
#FCF6ED
border
#D5D0C8
text
#161209
muted
#84817B

Preview Lab

Preview with #C8A538

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

Preview Lab → · Contrast checker → · Palette generator →

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