#C8AE40#C8AE40

#C8AE40 is a light, vivid yellow. Relative luminance 0.429; OKLCH L 75.3% C 0.130 H 95.7°. Best body text is #000000 at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#C8AE40
RGBrgb(200, 174, 64)
HSLhsl(49, 55%, 52%)
HSVhsv(49, 68%, 78%)
CMYKcmyk(0%, 13%, 68%, 21.6%)
CIE-LABlab(71.50, -2.84, 57.62)
CIE-LCHlch(71.50, 57.69, 92.82°)
OKLaboklab(75.34% -0.0129 0.1295)
OKLCHoklch(75.34% 0.13 95.7)
XYZxyz(39.8828, 42.9237, 11.0339)
Luminance0.4292 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8AE40 #405AC8
analogous
#C86A40 #C8AE40 #9EC840
triadic
#C8AE40 #40C8AE #AE40C8
tetradic
#C8AE40 #40C86A #405AC8 #C8409E
square
#C8AE40 #40C86A #405AC8 #C8409E
split-complementary
#C8AE40 #409EC8 #6A40C8
monochromatic
#6E5F20 #9D882D #C8AE40 #D6C270 #E3D69F

Accessibility & contrast

On white

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

On black

9.58
#C8AE40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8AE40
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8AE40#FFFFFF#000000##000000
##C8AE401.002.199.589.58
#FFFFFF2.191.0021.0021.00
#0000009.5821.001.001.00
##0000009.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA32
Deuteranopia (green-blind)
#C6B346
Tritanopia (blue-blind)
#D8A197
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #c8ae40;
/* rgb */ color: rgb(200, 174, 64);
/* oklch */ color: oklch(75.3% 0.130 95.7);
Tailwind
colors: {
  custom: {
    50: '#dcc57b',
    500: '#c8ae40',
    950: '#000000',
  },
}
SCSS
$custom: #c8ae40;
$custom-light: #dcc57b;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ae40",
  "rgb": {
    "r": 200,
    "g": 174,
    "b": 64
  },
  "hsl": {
    "h": 48.529,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.75342,
    "c": 0.13018,
    "h": 95.7
  },
  "luminance": 0.42922
}

Semantic roles & 50–950 ramp

primary
#C8AE40
secondary
#949FD0
accent
#66DF49
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16120A
muted
#84817C

Preview Lab

Preview with #C8AE40

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

Preview Lab → · Contrast checker → · Palette generator →

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