#C8AF31#C8AF31

#C8AF31 is a light, vivid yellow. Relative luminance 0.432; OKLCH L 75.4% C 0.141 H 97.4°. Best body text is #000000 at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#C8AF31
RGBrgb(200, 175, 49)
HSLhsl(50, 61%, 49%)
HSVhsv(50, 76%, 78%)
CMYKcmyk(0%, 12.5%, 75.5%, 21.6%)
CIE-LABlab(71.67, -4.10, 63.56)
CIE-LCHlch(71.67, 63.69, 93.69°)
OKLaboklab(75.44% -0.0181 0.1394)
OKLCHoklch(75.44% 0.141 97.4)
XYZxyz(39.7058, 43.1631, 9.1450)
Luminance0.4316 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8AF31 #314AC8
analogous
#C86431 #C8AF31 #96C831
triadic
#C8AF31 #31C8AF #AF31C8
tetradic
#C8AF31 #31C864 #314AC8 #C83196
square
#C8AF31 #31C864 #314AC8 #C83196
split-complementary
#C8AF31 #3196C8 #6431C8
monochromatic
#665919 #978425 #C8AF31 #D8C45F #E4D690

Accessibility & contrast

On white

2.18
#C8AF31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.63
#C8AF31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8AF31
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8AF31#FFFFFF#000000##000000
##C8AF311.002.189.639.63
#FFFFFF2.181.0021.0021.00
#0000009.6321.001.001.00
##0000009.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB19
Deuteranopia (green-blind)
#C7B339
Tritanopia (blue-blind)
#D8A197
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c8af31;
/* rgb */ color: rgb(200, 175, 49);
/* oklch */ color: oklch(75.4% 0.141 97.4);
Tailwind
colors: {
  custom: {
    50: '#ddc673',
    500: '#c8af31',
    950: '#000000',
  },
}
SCSS
$custom: #c8af31;
$custom-light: #ddc673;
$custom-dark: #000000;
JSON
{
  "hex": "#c8af31",
  "rgb": {
    "r": 200,
    "g": 175,
    "b": 49
  },
  "hsl": {
    "h": 50.066,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.75438,
    "c": 0.14053,
    "h": 97.4
  },
  "luminance": 0.43161
}

Semantic roles & 50–950 ramp

primary
#C8AF31
secondary
#8692CE
accent
#5EE444
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161209
muted
#84817B

Preview Lab

Preview with #C8AF31

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

Preview Lab → · Contrast checker → · Palette generator →

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