#C7AC3E#C7AC3E

#C7AC3E is a light, vivid yellow. Relative luminance 0.420; OKLCH L 74.8% C 0.130 H 95.1°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#C7AC3E
RGBrgb(199, 172, 62)
HSLhsl(48, 55%, 51%)
HSVhsv(48, 69%, 78%)
CMYKcmyk(0%, 13.6%, 68.8%, 22%)
CIE-LABlab(70.87, -2.33, 57.77)
CIE-LCHlch(70.87, 57.82, 92.31°)
OKLaboklab(74.81% -0.0116 0.1296)
OKLCHoklch(74.81% 0.13 95.1)
XYZxyz(39.1771, 41.9970, 10.5992)
Luminance0.4199 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7AC3E #3E59C7
analogous
#C7673E #C7AC3E #9DC73E
triadic
#C7AC3E #3EC7AC #AC3EC7
tetradic
#C7AC3E #3EC767 #3E59C7 #C73E9D
square
#C7AC3E #3EC767 #3E59C7 #C73E9D
split-complementary
#C7AC3E #3E9DC7 #673EC7
monochromatic
#6B5C1F #9B852D #C7AC3E #D5C06D #E3D59D

Accessibility & contrast

On white

2.23
#C7AC3E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.40
#C7AC3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7AC3E
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7AC3E#FFFFFF#000000##000000
##C7AC3E1.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c7ac3e;
/* rgb */ color: rgb(199, 172, 62);
/* oklch */ color: oklch(74.8% 0.130 95.1);
Tailwind
colors: {
  custom: {
    50: '#dcc479',
    500: '#c7ac3e',
    950: '#000000',
  },
}
SCSS
$custom: #c7ac3e;
$custom-light: #dcc479;
$custom-dark: #000000;
JSON
{
  "hex": "#c7ac3e",
  "rgb": {
    "r": 199,
    "g": 172,
    "b": 62
  },
  "hsl": {
    "h": 48.175,
    "s": 55.02,
    "l": 51.176
  },
  "oklch": {
    "l": 0.74813,
    "c": 0.13007,
    "h": 95.1
  },
  "luminance": 0.41995
}

Semantic roles & 50–950 ramp

primary
#C7AC3E
secondary
#929ECF
accent
#67DE49
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#151209
muted
#84817B

Preview Lab

Preview with #C7AC3E

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

Preview Lab → · Contrast checker → · Palette generator →

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