#C7AC4E#C7AC4E

#C7AC4E is a light, moderate yellow. Relative luminance 0.422; OKLCH L 75.0% C 0.118 H 93.3°. Best body text is #000000 at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#C7AC4E
RGBrgb(199, 172, 78)
HSLhsl(47, 52%, 54%)
HSVhsv(47, 61%, 78%)
CMYKcmyk(0%, 13.6%, 60.8%, 22%)
CIE-LABlab(71.01, -1.33, 50.88)
CIE-LCHlch(71.01, 50.89, 91.50°)
OKLaboklab(74.97% -0.0069 0.1173)
OKLCHoklch(74.97% 0.118 93.3)
XYZxyz(39.6826, 42.1992, 13.2613)
Luminance0.4220 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7AC4E #4E69C7
analogous
#C7704E #C7AC4E #A5C74E
triadic
#C7AC4E #4EC7AC #AC4EC7
tetradic
#C7AC4E #4EC770 #4E69C7 #C74EA5
square
#C7AC4E #4EC770 #4E69C7 #C74EA5
split-complementary
#C7AC4E #4EA5C7 #704EC7
monochromatic
#756425 #A48B34 #C7AC4E #D6C27C #E4D8AB

Accessibility & contrast

On white

2.22
#C7AC4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.44
#C7AC4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7AC4E
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7AC4E#FFFFFF#000000##000000
##C7AC4E1.002.229.449.44
#FFFFFF2.221.0021.0021.00
#0000009.4421.001.001.00
##0000009.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA944
Deuteranopia (green-blind)
#C3B152
Tritanopia (blue-blind)
#D6A097
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #c7ac4e;
/* rgb */ color: rgb(199, 172, 78);
/* oklch */ color: oklch(75.0% 0.118 93.3);
Tailwind
colors: {
  custom: {
    50: '#dbc483',
    500: '#c7ac4e',
    950: '#000000',
  },
}
SCSS
$custom: #c7ac4e;
$custom-light: #dbc483;
$custom-dark: #000000;
JSON
{
  "hex": "#c7ac4e",
  "rgb": {
    "r": 199,
    "g": 172,
    "b": 78
  },
  "hsl": {
    "h": 46.612,
    "s": 51.931,
    "l": 54.314
  },
  "oklch": {
    "l": 0.74968,
    "c": 0.11754,
    "h": 93.3
  },
  "luminance": 0.42197
}

Semantic roles & 50–950 ramp

primary
#C7AC4E
secondary
#9FAAD2
accent
#6CDB4C
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15120B
muted
#83817C

Preview Lab

Preview with #C7AC4E

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

Preview Lab → · Contrast checker → · Palette generator →

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