#C7AC41#C7AC41

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

Color values

HEX#C7AC41
RGBrgb(199, 172, 65)
HSLhsl(48, 54%, 52%)
HSVhsv(48, 67%, 78%)
CMYKcmyk(0%, 13.6%, 67.3%, 22%)
CIE-LABlab(70.89, -2.16, 56.54)
CIE-LCHlch(70.89, 56.58, 92.19°)
OKLaboklab(74.84% -0.0108 0.1275)
OKLCHoklch(74.84% 0.128 94.8)
XYZxyz(39.2618, 42.0309, 11.0448)
Luminance0.4203 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7AC41 #415CC7
analogous
#C76941 #C7AC41 #9FC741
triadic
#C7AC41 #41C7AC #AC41C7
tetradic
#C7AC41 #41C769 #415CC7 #C7419F
square
#C7AC41 #41C769 #415CC7 #C7419F
split-complementary
#C7AC41 #419FC7 #6941C7
monochromatic
#6D5E20 #9D862E #C7AC41 #D5C170 #E3D5A0

Accessibility & contrast

On white

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

On black

9.41
#C7AC41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7AC41
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7AC41#FFFFFF#000000##000000
##C7AC411.002.239.419.41
#FFFFFF2.231.0021.0021.00
#0000009.4121.001.001.00
##0000009.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA933
Deuteranopia (green-blind)
#C4B147
Tritanopia (blue-blind)
#D69F96
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #c7ac41;
/* rgb */ color: rgb(199, 172, 65);
/* oklch */ color: oklch(74.8% 0.128 94.8);
Tailwind
colors: {
  custom: {
    50: '#dbc47b',
    500: '#c7ac41',
    950: '#000000',
  },
}
SCSS
$custom: #c7ac41;
$custom-light: #dbc47b;
$custom-dark: #000000;
JSON
{
  "hex": "#c7ac41",
  "rgb": {
    "r": 199,
    "g": 172,
    "b": 65
  },
  "hsl": {
    "h": 47.91,
    "s": 54.472,
    "l": 51.765
  },
  "oklch": {
    "l": 0.74839,
    "c": 0.12791,
    "h": 94.8
  },
  "luminance": 0.42029
}

Semantic roles & 50–950 ramp

primary
#C7AC41
secondary
#95A0CF
accent
#68DE4A
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15120A
muted
#83817C

Preview Lab

Preview with #C7AC41

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

Preview Lab → · Contrast checker → · Palette generator →

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