#C8AF4C#C8AF4C

#C8AF4C is a light, vivid yellow. Relative luminance 0.435; OKLCH L 75.7% C 0.122 H 95.1°. Best body text is #000000 at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#C8AF4C
RGBrgb(200, 175, 76)
HSLhsl(48, 53%, 54%)
HSVhsv(48, 62%, 78%)
CMYKcmyk(0%, 12.5%, 62%, 21.6%)
CIE-LABlab(71.87, -2.63, 52.78)
CIE-LCHlch(71.87, 52.84, 92.85°)
OKLaboklab(75.66% -0.0109 0.1211)
OKLCHoklch(75.66% 0.122 95.1)
XYZxyz(40.4557, 43.4631, 13.0944)
Luminance0.4346 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8AF4C #4C65C8
analogous
#C8714C #C8AF4C #A3C84C
triadic
#C8AF4C #4CC8AF #AF4CC8
tetradic
#C8AF4C #4CC871 #4C65C8 #C84CA3
square
#C8AF4C #4CC871 #4C65C8 #C84CA3
split-complementary
#C8AF4C #4CA3C8 #714CC8
monochromatic
#756524 #A48D32 #C8AF4C #D6C47B #E5D9AA

Accessibility & contrast

On white

2.17
#C8AF4C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.69
#C8AF4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8AF4C
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8AF4C#FFFFFF#000000##000000
##C8AF4C1.002.179.699.69
#FFFFFF2.171.0021.0021.00
#0000009.6921.001.001.00
##0000009.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AC41
Deuteranopia (green-blind)
#C6B351
Tritanopia (blue-blind)
#D7A39A
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c8af4c;
/* rgb */ color: rgb(200, 175, 76);
/* oklch */ color: oklch(75.7% 0.122 95.1);
Tailwind
colors: {
  custom: {
    50: '#dcc682',
    500: '#c8af4c',
    950: '#000000',
  },
}
SCSS
$custom: #c8af4c;
$custom-light: #dcc682;
$custom-dark: #000000;
JSON
{
  "hex": "#c8af4c",
  "rgb": {
    "r": 200,
    "g": 175,
    "b": 76
  },
  "hsl": {
    "h": 47.903,
    "s": 52.991,
    "l": 54.118
  },
  "oklch": {
    "l": 0.75663,
    "c": 0.1216,
    "h": 95.1
  },
  "luminance": 0.43461
}

Semantic roles & 50–950 ramp

primary
#C8AF4C
secondary
#9EA8D2
accent
#69DC4B
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #C8AF4C

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

Preview Lab → · Contrast checker → · Palette generator →

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