#C8A638#C8A638

#C8A638 is a light, vivid yellow. Relative luminance 0.398; OKLCH L 73.6% C 0.130 H 91.3°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#C8A638
RGBrgb(200, 166, 56)
HSLhsl(46, 57%, 50%)
HSVhsv(46, 72%, 78%)
CMYKcmyk(0%, 17%, 72%, 21.6%)
CIE-LABlab(69.36, 0.99, 58.71)
CIE-LCHlch(69.36, 58.72, 89.04°)
OKLaboklab(73.63% -0.0029 0.1304)
OKLCHoklch(73.63% 0.13 91.3)
XYZxyz(38.1715, 39.8396, 9.4199)
Luminance0.3984 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A638 #385AC8
analogous
#C85E38 #C8A638 #A2C838
triadic
#C8A638 #38C8A6 #A638C8
tetradic
#C8A638 #38C85E #385AC8 #C838A2
square
#C8A638 #38C85E #385AC8 #C838A2
split-complementary
#C8A638 #38A2C8 #5E38C8
monochromatic
#69571D #997F2A #C8A638 #D5BB68 #E3D198

Accessibility & contrast

On white

2.34
#C8A638 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.97
#C8A638 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A638
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A638#FFFFFF#000000##000000
##C8A6381.002.348.978.97
#FFFFFF2.341.0021.0021.00
#0000008.9721.001.001.00
##0000008.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A428
Deuteranopia (green-blind)
#C1AD3E
Tritanopia (blue-blind)
#D89890
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #c8a638;
/* rgb */ color: rgb(200, 166, 56);
/* oklch */ color: oklch(73.6% 0.130 91.3);
Tailwind
colors: {
  custom: {
    50: '#ddc075',
    500: '#c8a638',
    950: '#000000',
  },
}
SCSS
$custom: #c8a638;
$custom-light: #ddc075;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a638",
  "rgb": {
    "r": 200,
    "g": 166,
    "b": 56
  },
  "hsl": {
    "h": 45.833,
    "s": 56.693,
    "l": 50.196
  },
  "oklch": {
    "l": 0.73626,
    "c": 0.13044,
    "h": 91.3
  },
  "luminance": 0.39837
}

Semantic roles & 50–950 ramp

primary
#C8A638
secondary
#8E9DCE
accent
#6CE048
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#161209
muted
#84817B

Preview Lab

Preview with #C8A638

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

Preview Lab → · Contrast checker → · Palette generator →

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