#C8AF3D#C8AF3D

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

Color values

HEX#C8AF3D
RGBrgb(200, 175, 61)
HSLhsl(49, 56%, 51%)
HSVhsv(49, 70%, 78%)
CMYKcmyk(0%, 12.5%, 69.5%, 21.6%)
CIE-LABlab(71.74, -3.53, 59.10)
CIE-LCHlch(71.74, 59.21, 93.42°)
OKLaboklab(75.52% -0.0152 0.1322)
OKLCHoklch(75.52% 0.133 96.6)
XYZxyz(39.9936, 43.2783, 10.6609)
Luminance0.4328 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8AF3D #3D56C8
analogous
#C8693D #C8AF3D #9BC83D
triadic
#C8AF3D #3DC8AF #AF3DC8
tetradic
#C8AF3D #3DC869 #3D56C8 #C83D9B
square
#C8AF3D #3DC869 #3D56C8 #C83D9B
split-complementary
#C8AF3D #3D9BC8 #693DC8
monochromatic
#6C5E1F #9C882C #C8AF3D #D6C36D #E3D69C

Accessibility & contrast

On white

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

On black

9.66
#C8AF3D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8AF3D
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8AF3D#FFFFFF#000000##000000
##C8AF3D1.002.179.669.66
#FFFFFF2.171.0021.0021.00
#0000009.6621.001.001.00
##0000009.6621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c8af3d;
/* rgb */ color: rgb(200, 175, 61);
/* oklch */ color: oklch(75.5% 0.133 96.6);
Tailwind
colors: {
  custom: {
    50: '#dcc679',
    500: '#c8af3d',
    950: '#000000',
  },
}
SCSS
$custom: #c8af3d;
$custom-light: #dcc679;
$custom-dark: #000000;
JSON
{
  "hex": "#c8af3d",
  "rgb": {
    "r": 200,
    "g": 175,
    "b": 61
  },
  "hsl": {
    "h": 49.209,
    "s": 55.823,
    "l": 51.176
  },
  "oklch": {
    "l": 0.75525,
    "c": 0.13303,
    "h": 96.6
  },
  "luminance": 0.43276
}

Semantic roles & 50–950 ramp

primary
#C8AF3D
secondary
#929DCF
accent
#64DF49
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #C8AF3D

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

Preview Lab → · Contrast checker → · Palette generator →

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