#C8AF3C#C8AF3C

#C8AF3C is a light, vivid yellow. Relative luminance 0.433; OKLCH L 75.5% C 0.134 H 96.7°. Best body text is #000000 at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#C8AF3C
RGBrgb(200, 175, 60)
HSLhsl(49, 56%, 51%)
HSVhsv(49, 70%, 78%)
CMYKcmyk(0%, 12.5%, 70%, 21.6%)
CIE-LABlab(71.74, -3.58, 59.50)
CIE-LCHlch(71.74, 59.60, 93.45°)
OKLaboklab(75.52% -0.0155 0.1328)
OKLCHoklch(75.52% 0.134 96.7)
XYZxyz(39.9670, 43.2676, 10.5204)
Luminance0.4327 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8AF3C #3C55C8
analogous
#C8693C #C8AF3C #9BC83C
triadic
#C8AF3C #3CC8AF #AF3CC8
tetradic
#C8AF3C #3CC869 #3C55C8 #C83C9B
square
#C8AF3C #3CC869 #3C55C8 #C83C9B
split-complementary
#C8AF3C #3C9BC8 #693CC8
monochromatic
#6B5E1E #9B872C #C8AF3C #D5C36C #E3D69B

Accessibility & contrast

On white

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

On black

9.65
#C8AF3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8AF3C
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8AF3C#FFFFFF#000000##000000
##C8AF3C1.002.189.659.65
#FFFFFF2.181.0021.0021.00
#0000009.6521.001.001.00
##0000009.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AB2B
Deuteranopia (green-blind)
#C7B343
Tritanopia (blue-blind)
#D8A298
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c8af3c;
/* rgb */ color: rgb(200, 175, 60);
/* oklch */ color: oklch(75.5% 0.134 96.7);
Tailwind
colors: {
  custom: {
    50: '#dcc678',
    500: '#c8af3c',
    950: '#000000',
  },
}
SCSS
$custom: #c8af3c;
$custom-light: #dcc678;
$custom-dark: #000000;
JSON
{
  "hex": "#c8af3c",
  "rgb": {
    "r": 200,
    "g": 175,
    "b": 60
  },
  "hsl": {
    "h": 49.286,
    "s": 56,
    "l": 50.98
  },
  "oklch": {
    "l": 0.75517,
    "c": 0.13371,
    "h": 96.7
  },
  "luminance": 0.43266
}

Semantic roles & 50–950 ramp

primary
#C8AF3C
secondary
#919CCF
accent
#63DF49
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #C8AF3C

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

Preview Lab → · Contrast checker → · Palette generator →

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