#C8AF34#C8AF34

#C8AF34 is a light, vivid yellow. Relative luminance 0.432; OKLCH L 75.5% C 0.139 H 97.2°. Best body text is #000000 at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#C8AF34
RGBrgb(200, 175, 52)
HSLhsl(50, 59%, 49%)
HSVhsv(50, 74%, 78%)
CMYKcmyk(0%, 12.5%, 74%, 21.6%)
CIE-LABlab(71.68, -3.97, 62.50)
CIE-LCHlch(71.68, 62.63, 93.63°)
OKLaboklab(75.46% -0.0175 0.1377)
OKLCHoklch(75.46% 0.139 97.2)
XYZxyz(39.7712, 43.1893, 9.4897)
Luminance0.4319 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8AF34 #344DC8
analogous
#C86534 #C8AF34 #97C834
triadic
#C8AF34 #34C8AF #AF34C8
tetradic
#C8AF34 #34C865 #344DC8 #C83497
square
#C8AF34 #34C865 #344DC8 #C83497
split-complementary
#C8AF34 #3497C8 #6534C8
monochromatic
#675A1B #978527 #C8AF34 #D6C363 #E3D693

Accessibility & contrast

On white

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

On black

9.64
#C8AF34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8AF34
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8AF34#FFFFFF#000000##000000
##C8AF341.002.189.649.64
#FFFFFF2.181.0021.0021.00
#0000009.6421.001.001.00
##0000009.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB1E
Deuteranopia (green-blind)
#C7B33C
Tritanopia (blue-blind)
#D8A197
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c8af34;
/* rgb */ color: rgb(200, 175, 52);
/* oklch */ color: oklch(75.5% 0.139 97.2);
Tailwind
colors: {
  custom: {
    50: '#ddc674',
    500: '#c8af34',
    950: '#000000',
  },
}
SCSS
$custom: #c8af34;
$custom-light: #ddc674;
$custom-dark: #000000;
JSON
{
  "hex": "#c8af34",
  "rgb": {
    "r": 200,
    "g": 175,
    "b": 52
  },
  "hsl": {
    "h": 49.865,
    "s": 58.73,
    "l": 49.412
  },
  "oklch": {
    "l": 0.75458,
    "c": 0.1388,
    "h": 97.2
  },
  "luminance": 0.43187
}

Semantic roles & 50–950 ramp

primary
#C8AF34
secondary
#8A95CE
accent
#60E246
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161309
muted
#84827B

Preview Lab

Preview with #C8AF34

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

Preview Lab → · Contrast checker → · Palette generator →

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