#C7AA4E#C7AA4E

#C7AA4E is a light, moderate yellow. Relative luminance 0.414; OKLCH L 74.6% C 0.116 H 91.9°. Best body text is #000000 at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#C7AA4E
RGBrgb(199, 170, 78)
HSLhsl(46, 52%, 54%)
HSVhsv(46, 61%, 78%)
CMYKcmyk(0%, 14.6%, 60.8%, 22%)
CIE-LABlab(70.49, -0.27, 50.29)
CIE-LCHlch(70.49, 50.29, 90.31°)
OKLaboklab(74.56% -0.0038 0.1161)
OKLCHoklch(74.56% 0.116 91.9)
XYZxyz(39.3048, 41.4437, 13.1354)
Luminance0.4144 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7AA4E #4E6BC7
analogous
#C76E4E #C7AA4E #A8C74E
triadic
#C7AA4E #4EC7AA #AA4EC7
tetradic
#C7AA4E #4EC76E #4E6BC7 #C74EA8
square
#C7AA4E #4EC76E #4E6BC7 #C74EA8
split-complementary
#C7AA4E #4EA8C7 #6E4EC7
monochromatic
#756225 #A48934 #C7AA4E #D6C07C #E4D7AB

Accessibility & contrast

On white

2.26
#C7AA4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.29
#C7AA4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7AA4E
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7AA4E#FFFFFF#000000##000000
##C7AA4E1.002.269.299.29
#FFFFFF2.261.0021.0021.00
#0000009.2921.001.001.00
##0000009.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA844
Deuteranopia (green-blind)
#C2B052
Tritanopia (blue-blind)
#D69E96
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #c7aa4e;
/* rgb */ color: rgb(199, 170, 78);
/* oklch */ color: oklch(74.6% 0.116 91.9);
Tailwind
colors: {
  custom: {
    50: '#dbc383',
    500: '#c7aa4e',
    950: '#000000',
  },
}
SCSS
$custom: #c7aa4e;
$custom-light: #dbc383;
$custom-dark: #000000;
JSON
{
  "hex": "#c7aa4e",
  "rgb": {
    "r": 199,
    "g": 170,
    "b": 78
  },
  "hsl": {
    "h": 45.62,
    "s": 51.931,
    "l": 54.314
  },
  "oklch": {
    "l": 0.74555,
    "c": 0.11615,
    "h": 91.9
  },
  "luminance": 0.41442
}

Semantic roles & 50–950 ramp

primary
#C7AA4E
secondary
#9FABD2
accent
#6FDB4C
background
#FDFBF8
surface
#FBF7EF
border
#D4D0CA
text
#15120B
muted
#83817C

Preview Lab

Preview with #C7AA4E

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

Preview Lab → · Contrast checker → · Palette generator →

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