#C8AE31#C8AE31

#C8AE31 is a light, vivid yellow. Relative luminance 0.428; OKLCH L 75.2% C 0.140 H 96.8°. Best body text is #000000 at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#C8AE31
RGBrgb(200, 174, 49)
HSLhsl(50, 61%, 49%)
HSVhsv(50, 76%, 78%)
CMYKcmyk(0%, 13%, 75.5%, 21.6%)
CIE-LABlab(71.40, -3.57, 63.31)
CIE-LCHlch(71.40, 63.41, 93.23°)
OKLaboklab(75.23% -0.0166 0.1388)
OKLCHoklch(75.23% 0.14 96.8)
XYZxyz(39.5119, 42.7753, 9.0804)
Luminance0.4277 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8AE31 #314BC8
analogous
#C86331 #C8AE31 #97C831
triadic
#C8AE31 #31C8AE #AE31C8
tetradic
#C8AE31 #31C863 #314BC8 #C83197
square
#C8AE31 #31C863 #314BC8 #C83197
split-complementary
#C8AE31 #3197C8 #6331C8
monochromatic
#665819 #978325 #C8AE31 #D8C35F #E4D590

Accessibility & contrast

On white

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

On black

9.55
#C8AE31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8AE31
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8AE31#FFFFFF#000000##000000
##C8AE311.002.209.559.55
#FFFFFF2.201.0021.0021.00
#0000009.5521.001.001.00
##0000009.5521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c8ae31;
/* rgb */ color: rgb(200, 174, 49);
/* oklch */ color: oklch(75.2% 0.140 96.8);
Tailwind
colors: {
  custom: {
    50: '#ddc572',
    500: '#c8ae31',
    950: '#000000',
  },
}
SCSS
$custom: #c8ae31;
$custom-light: #ddc572;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ae31",
  "rgb": {
    "r": 200,
    "g": 174,
    "b": 49
  },
  "hsl": {
    "h": 49.669,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.7523,
    "c": 0.13983,
    "h": 96.8
  },
  "luminance": 0.42773
}

Semantic roles & 50–950 ramp

primary
#C8AE31
secondary
#8693CE
accent
#60E444
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161208
muted
#84817B

Preview Lab

Preview with #C8AE31

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

Preview Lab → · Contrast checker → · Palette generator →

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