#C8AE34#C8AE34

#C8AE34 is a light, vivid yellow. Relative luminance 0.428; OKLCH L 75.3% C 0.138 H 96.6°. Best body text is #000000 at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#C8AE34
RGBrgb(200, 174, 52)
HSLhsl(49, 59%, 49%)
HSVhsv(49, 74%, 78%)
CMYKcmyk(0%, 13%, 74%, 21.6%)
CIE-LABlab(71.42, -3.44, 62.25)
CIE-LCHlch(71.42, 62.35, 93.16°)
OKLaboklab(75.25% -0.016 0.1372)
OKLCHoklch(75.25% 0.138 96.6)
XYZxyz(39.5773, 42.8015, 9.4250)
Luminance0.4280 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8AE34 #344EC8
analogous
#C86434 #C8AE34 #98C834
triadic
#C8AE34 #34C8AE #AE34C8
tetradic
#C8AE34 #34C864 #344EC8 #C83498
square
#C8AE34 #34C864 #344EC8 #C83498
split-complementary
#C8AE34 #3498C8 #6434C8
monochromatic
#67591B #978427 #C8AE34 #D6C263 #E3D593

Accessibility & contrast

On white

2.20
#C8AE34 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.56
#C8AE34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8AE34
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8AE34#FFFFFF#000000##000000
##C8AE341.002.209.569.56
#FFFFFF2.201.0021.0021.00
#0000009.5621.001.001.00
##0000009.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA1F
Deuteranopia (green-blind)
#C7B33C
Tritanopia (blue-blind)
#D8A096
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #c8ae34;
/* rgb */ color: rgb(200, 174, 52);
/* oklch */ color: oklch(75.3% 0.138 96.6);
Tailwind
colors: {
  custom: {
    50: '#ddc574',
    500: '#c8ae34',
    950: '#000000',
  },
}
SCSS
$custom: #c8ae34;
$custom-light: #ddc574;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ae34",
  "rgb": {
    "r": 200,
    "g": 174,
    "b": 52
  },
  "hsl": {
    "h": 49.459,
    "s": 58.73,
    "l": 49.412
  },
  "oklch": {
    "l": 0.7525,
    "c": 0.1381,
    "h": 96.6
  },
  "luminance": 0.42799
}

Semantic roles & 50–950 ramp

primary
#C8AE34
secondary
#8A96CE
accent
#61E246
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161209
muted
#84817B

Preview Lab

Preview with #C8AE34

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

Preview Lab → · Contrast checker → · Palette generator →

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