#C8AF3F#C8AF3F

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

Color values

HEX#C8AF3F
RGBrgb(200, 175, 63)
HSLhsl(49, 55%, 52%)
HSVhsv(49, 69%, 78%)
CMYKcmyk(0%, 12.5%, 68.5%, 21.6%)
CIE-LABlab(71.76, -3.42, 58.30)
CIE-LCHlch(71.76, 58.40, 93.36°)
OKLaboklab(75.54% -0.0147 0.1308)
OKLCHoklch(75.54% 0.132 96.4)
XYZxyz(40.0485, 43.3002, 10.9500)
Luminance0.4330 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8AF3F #3F58C8
analogous
#C86B3F #C8AF3F #9DC83F
triadic
#C8AF3F #3FC8AF #AF3FC8
tetradic
#C8AF3F #3FC86B #3F58C8 #C83F9D
square
#C8AF3F #3FC86B #3F58C8 #C83F9D
split-complementary
#C8AF3F #3F9DC8 #6B3FC8
monochromatic
#6D5F1F #9D882D #C8AF3F #D6C36F #E3D79E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8AF3F#FFFFFF#000000##000000
##C8AF3F1.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)
#C0AB30
Deuteranopia (green-blind)
#C7B345
Tritanopia (blue-blind)
#D8A298
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c8af3f;
/* rgb */ color: rgb(200, 175, 63);
/* oklch */ color: oklch(75.5% 0.132 96.4);
Tailwind
colors: {
  custom: {
    50: '#dcc67a',
    500: '#c8af3f',
    950: '#000000',
  },
}
SCSS
$custom: #c8af3f;
$custom-light: #dcc67a;
$custom-dark: #000000;
JSON
{
  "hex": "#c8af3f",
  "rgb": {
    "r": 200,
    "g": 175,
    "b": 63
  },
  "hsl": {
    "h": 49.051,
    "s": 55.466,
    "l": 51.569
  },
  "oklch": {
    "l": 0.75541,
    "c": 0.13163,
    "h": 96.4
  },
  "luminance": 0.43298
}

Semantic roles & 50–950 ramp

primary
#C8AF3F
secondary
#939ED0
accent
#64DF49
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #C8AF3F

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

Preview Lab → · Contrast checker → · Palette generator →

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