#C8AE42#C8AE42

#C8AE42 is a light, vivid yellow. Relative luminance 0.429; OKLCH L 75.4% C 0.129 H 95.5°. Best body text is #000000 at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#C8AE42
RGBrgb(200, 174, 66)
HSLhsl(48, 55%, 52%)
HSVhsv(48, 67%, 78%)
CMYKcmyk(0%, 13%, 67%, 21.6%)
CIE-LABlab(71.52, -2.73, 56.80)
CIE-LCHlch(71.52, 56.86, 92.75°)
OKLaboklab(75.36% -0.0124 0.1281)
OKLCHoklch(75.36% 0.129 95.5)
XYZxyz(39.9407, 42.9469, 11.3390)
Luminance0.4294 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8AE42 #425CC8
analogous
#C86B42 #C8AE42 #9FC842
triadic
#C8AE42 #42C8AE #AE42C8
tetradic
#C8AE42 #42C86B #425CC8 #C8429F
square
#C8AE42 #42C86B #425CC8 #C8429F
split-complementary
#C8AE42 #429FC8 #6B42C8
monochromatic
#6F6020 #9F892E #C8AE42 #D6C271 #E4D7A1

Accessibility & contrast

On white

2.19
#C8AE42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.59
#C8AE42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8AE42
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8AE42#FFFFFF#000000##000000
##C8AE421.002.199.599.59
#FFFFFF2.191.0021.0021.00
#0000009.5921.001.001.00
##0000009.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA34
Deuteranopia (green-blind)
#C6B348
Tritanopia (blue-blind)
#D7A198
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #c8ae42;
/* rgb */ color: rgb(200, 174, 66);
/* oklch */ color: oklch(75.4% 0.129 95.5);
Tailwind
colors: {
  custom: {
    50: '#dcc57c',
    500: '#c8ae42',
    950: '#000000',
  },
}
SCSS
$custom: #c8ae42;
$custom-light: #dcc57c;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ae42",
  "rgb": {
    "r": 200,
    "g": 174,
    "b": 66
  },
  "hsl": {
    "h": 48.358,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.75359,
    "c": 0.12873,
    "h": 95.5
  },
  "luminance": 0.42945
}

Semantic roles & 50–950 ramp

primary
#C8AE42
secondary
#96A1D0
accent
#66DE4A
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#15120A
muted
#84817C

Preview Lab

Preview with #C8AE42

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

Preview Lab → · Contrast checker → · Palette generator →

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