#C8AE4F#C8AE4F

#C8AE4F is a light, moderate yellow. Relative luminance 0.431; OKLCH L 75.5% C 0.118 H 94.1°. Best body text is #000000 at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#C8AE4F
RGBrgb(200, 174, 79)
HSLhsl(47, 52%, 55%)
HSVhsv(47, 61%, 78%)
CMYKcmyk(0%, 13%, 60.5%, 21.6%)
CIE-LABlab(71.64, -1.90, 51.14)
CIE-LCHlch(71.64, 51.18, 92.12°)
OKLaboklab(75.49% -0.0084 0.118)
OKLCHoklch(75.49% 0.118 94.1)
XYZxyz(40.3685, 43.1180, 13.5919)
Luminance0.4312 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8AE4F #4F69C8
analogous
#C8714F #C8AE4F #A6C84F
triadic
#C8AE4F #4FC8AE #AE4FC8
tetradic
#C8AE4F #4FC871 #4F69C8 #C84FA6
square
#C8AE4F #4FC871 #4F69C8 #C84FA6
split-complementary
#C8AE4F #4FA6C8 #714FC8
monochromatic
#776625 #A68D34 #C8AE4F #D7C37E #E5D9AC

Accessibility & contrast

On white

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

On black

9.62
#C8AE4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8AE4F
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8AE4F#FFFFFF#000000##000000
##C8AE4F1.002.189.629.62
#FFFFFF2.181.0021.0021.00
#0000009.6221.001.001.00
##0000009.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAB45
Deuteranopia (green-blind)
#C5B353
Tritanopia (blue-blind)
#D7A299
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #c8ae4f;
/* rgb */ color: rgb(200, 174, 79);
/* oklch */ color: oklch(75.5% 0.118 94.1);
Tailwind
colors: {
  custom: {
    50: '#dcc584',
    500: '#c8ae4f',
    950: '#000000',
  },
}
SCSS
$custom: #c8ae4f;
$custom-light: #dcc584;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ae4f",
  "rgb": {
    "r": 200,
    "g": 174,
    "b": 79
  },
  "hsl": {
    "h": 47.107,
    "s": 52.381,
    "l": 54.706
  },
  "oklch": {
    "l": 0.75488,
    "c": 0.11831,
    "h": 94.1
  },
  "luminance": 0.43116
}

Semantic roles & 50–950 ramp

primary
#C8AE4F
secondary
#A0ABD3
accent
#6BDC4C
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15120B
muted
#83817C

Preview Lab

Preview with #C8AE4F

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

Preview Lab → · Contrast checker → · Palette generator →

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