#C7AC36#C7AC36

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

Color values

HEX#C7AC36
RGBrgb(199, 172, 54)
HSLhsl(49, 57%, 50%)
HSVhsv(49, 73%, 78%)
CMYKcmyk(0%, 13.6%, 72.9%, 22%)
CIE-LABlab(70.81, -2.73, 60.89)
CIE-LCHlch(70.81, 60.95, 92.57°)
OKLaboklab(74.75% -0.0137 0.1347)
OKLCHoklch(74.75% 0.135 95.8)
XYZxyz(38.9736, 41.9156, 9.5270)
Luminance0.4191 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7AC36 #3651C7
analogous
#C76436 #C7AC36 #99C736
triadic
#C7AC36 #36C7AC #AC36C7
tetradic
#C7AC36 #36C764 #3651C7 #C73699
square
#C7AC36 #36C764 #3651C7 #C73699
split-complementary
#C7AC36 #3699C7 #6436C7
monochromatic
#67591C #978229 #C7AC36 #D5C065 #E2D495

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7AC36#FFFFFF#000000##000000
##C7AC361.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)
#BEA823
Deuteranopia (green-blind)
#C5B13D
Tritanopia (blue-blind)
#D79F95
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #c7ac36;
/* rgb */ color: rgb(199, 172, 54);
/* oklch */ color: oklch(74.8% 0.135 95.8);
Tailwind
colors: {
  custom: {
    50: '#dcc475',
    500: '#c7ac36',
    950: '#000000',
  },
}
SCSS
$custom: #c7ac36;
$custom-light: #dcc475;
$custom-dark: #000000;
JSON
{
  "hex": "#c7ac36",
  "rgb": {
    "r": 199,
    "g": 172,
    "b": 54
  },
  "hsl": {
    "h": 48.828,
    "s": 57.312,
    "l": 49.608
  },
  "oklch": {
    "l": 0.74751,
    "c": 0.13538,
    "h": 95.8
  },
  "luminance": 0.41914
}

Semantic roles & 50–950 ramp

primary
#C7AC36
secondary
#8B98CE
accent
#64E147
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161209
muted
#84817B

Preview Lab

Preview with #C7AC36

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

Preview Lab → · Contrast checker → · Palette generator →

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