#C7AC35#C7AC35

#C7AC35 is a light, vivid yellow. Relative luminance 0.419; OKLCH L 74.7% C 0.136 H 95.9°. Best body text is #000000 at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#C7AC35
RGBrgb(199, 172, 53)
HSLhsl(49, 58%, 49%)
HSVhsv(49, 73%, 78%)
CMYKcmyk(0%, 13.6%, 73.4%, 22%)
CIE-LABlab(70.81, -2.78, 61.26)
CIE-LCHlch(70.81, 61.32, 92.60°)
OKLaboklab(74.74% -0.0139 0.1353)
OKLCHoklch(74.74% 0.136 95.9)
XYZxyz(38.9503, 41.9063, 9.4046)
Luminance0.4190 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7AC35 #3550C7
analogous
#C76335 #C7AC35 #99C735
triadic
#C7AC35 #35C7AC #AC35C7
tetradic
#C7AC35 #35C763 #3550C7 #C73599
square
#C7AC35 #35C763 #3550C7 #C73599
split-complementary
#C7AC35 #3599C7 #6335C7
monochromatic
#66581B #978228 #C7AC35 #D6C164 #E2D494

Accessibility & contrast

On white

2.24
#C7AC35 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.38
#C7AC35 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7AC35
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7AC35#FFFFFF#000000##000000
##C7AC351.002.249.389.38
#FFFFFF2.241.0021.0021.00
#0000009.3821.001.001.00
##0000009.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA821
Deuteranopia (green-blind)
#C5B13C
Tritanopia (blue-blind)
#D79F95
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #c7ac35;
/* rgb */ color: rgb(199, 172, 53);
/* oklch */ color: oklch(74.7% 0.136 95.9);
Tailwind
colors: {
  custom: {
    50: '#dcc474',
    500: '#c7ac35',
    950: '#000000',
  },
}
SCSS
$custom: #c7ac35;
$custom-light: #dcc474;
$custom-dark: #000000;
JSON
{
  "hex": "#c7ac35",
  "rgb": {
    "r": 199,
    "g": 172,
    "b": 53
  },
  "hsl": {
    "h": 48.904,
    "s": 57.937,
    "l": 49.412
  },
  "oklch": {
    "l": 0.74744,
    "c": 0.136,
    "h": 95.9
  },
  "luminance": 0.41904
}

Semantic roles & 50–950 ramp

primary
#C7AC35
secondary
#8A97CE
accent
#63E147
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161209
muted
#84817B

Preview Lab

Preview with #C7AC35

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

Preview Lab → · Contrast checker → · Palette generator →

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