#C8AF4F#C8AF4F

#C8AF4F is a light, moderate yellow. Relative luminance 0.435; OKLCH L 75.7% C 0.119 H 94.8°. Best body text is #000000 at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#C8AF4F
RGBrgb(200, 175, 79)
HSLhsl(48, 52%, 55%)
HSVhsv(48, 61%, 78%)
CMYKcmyk(0%, 12.5%, 60.5%, 21.6%)
CIE-LABlab(71.90, -2.42, 51.43)
CIE-LCHlch(71.90, 51.49, 92.70°)
OKLaboklab(75.7% -0.0099 0.1186)
OKLCHoklch(75.7% 0.119 94.8)
XYZxyz(40.5624, 43.5058, 13.6565)
Luminance0.4350 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8AF4F #4F68C8
analogous
#C8724F #C8AF4F #A5C84F
triadic
#C8AF4F #4FC8AF #AF4FC8
tetradic
#C8AF4F #4FC872 #4F68C8 #C84FA5
square
#C8AF4F #4FC872 #4F68C8 #C84FA5
split-complementary
#C8AF4F #4FA5C8 #724FC8
monochromatic
#776625 #A68E34 #C8AF4F #D7C47E #E5D9AC

Accessibility & contrast

On white

2.16
#C8AF4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.70
#C8AF4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8AF4F
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8AF4F#FFFFFF#000000##000000
##C8AF4F1.002.169.709.70
#FFFFFF2.161.0021.0021.00
#0000009.7021.001.001.00
##0000009.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c8af4f;
/* rgb */ color: rgb(200, 175, 79);
/* oklch */ color: oklch(75.7% 0.119 94.8);
Tailwind
colors: {
  custom: {
    50: '#dcc684',
    500: '#c8af4f',
    950: '#000000',
  },
}
SCSS
$custom: #c8af4f;
$custom-light: #dcc684;
$custom-dark: #000000;
JSON
{
  "hex": "#c8af4f",
  "rgb": {
    "r": 200,
    "g": 175,
    "b": 79
  },
  "hsl": {
    "h": 47.603,
    "s": 52.381,
    "l": 54.706
  },
  "oklch": {
    "l": 0.75695,
    "c": 0.11906,
    "h": 94.8
  },
  "luminance": 0.43504
}

Semantic roles & 50–950 ramp

primary
#C8AF4F
secondary
#A0AAD3
accent
#6ADC4C
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #C8AF4F

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

Preview Lab → · Contrast checker → · Palette generator →

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