#C8AF3E#C8AF3E

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

Color values

HEX#C8AF3E
RGBrgb(200, 175, 62)
HSLhsl(49, 56%, 51%)
HSVhsv(49, 69%, 78%)
CMYKcmyk(0%, 12.5%, 69%, 21.6%)
CIE-LABlab(71.75, -3.48, 58.70)
CIE-LCHlch(71.75, 58.81, 93.39°)
OKLaboklab(75.53% -0.015 0.1315)
OKLCHoklch(75.53% 0.132 96.5)
XYZxyz(40.0208, 43.2891, 10.8041)
Luminance0.4329 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8AF3E #3E57C8
analogous
#C86A3E #C8AF3E #9CC83E
triadic
#C8AF3E #3EC8AF #AF3EC8
tetradic
#C8AF3E #3EC86A #3E57C8 #C83E9C
square
#C8AF3E #3EC86A #3E57C8 #C83E9C
split-complementary
#C8AF3E #3E9CC8 #6A3EC8
monochromatic
#6D5F1F #9C882D #C8AF3E #D6C36E #E3D69D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8AF3E#FFFFFF#000000##000000
##C8AF3E1.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)
#C0AB2E
Deuteranopia (green-blind)
#C7B344
Tritanopia (blue-blind)
#D8A298
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c8af3e;
/* rgb */ color: rgb(200, 175, 62);
/* oklch */ color: oklch(75.5% 0.132 96.5);
Tailwind
colors: {
  custom: {
    50: '#dcc67a',
    500: '#c8af3e',
    950: '#000000',
  },
}
SCSS
$custom: #c8af3e;
$custom-light: #dcc67a;
$custom-dark: #000000;
JSON
{
  "hex": "#c8af3e",
  "rgb": {
    "r": 200,
    "g": 175,
    "b": 62
  },
  "hsl": {
    "h": 49.13,
    "s": 55.645,
    "l": 51.373
  },
  "oklch": {
    "l": 0.75533,
    "c": 0.13233,
    "h": 96.5
  },
  "luminance": 0.43287
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C8AF3E

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

Preview Lab → · Contrast checker → · Palette generator →

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