#C7AD4E#C7AD4E

#C7AD4E is a light, moderate yellow. Relative luminance 0.426; OKLCH L 75.2% C 0.118 H 94.1°. Best body text is #000000 at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#C7AD4E
RGBrgb(199, 173, 78)
HSLhsl(47, 52%, 54%)
HSVhsv(47, 61%, 78%)
CMYKcmyk(0%, 13.1%, 60.8%, 22%)
CIE-LABlab(71.27, -1.86, 51.17)
CIE-LCHlch(71.27, 51.20, 92.09°)
OKLaboklab(75.18% -0.0084 0.118)
OKLCHoklch(75.18% 0.118 94.1)
XYZxyz(39.8737, 42.5813, 13.3250)
Luminance0.4258 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7AD4E #4E68C7
analogous
#C7714E #C7AD4E #A5C74E
triadic
#C7AD4E #4EC7AD #AD4EC7
tetradic
#C7AD4E #4EC771 #4E68C7 #C74EA5
square
#C7AD4E #4EC771 #4E68C7 #C74EA5
split-complementary
#C7AD4E #4EA5C7 #714EC7
monochromatic
#756425 #A48C34 #C7AD4E #D6C37C #E4D8AB

Accessibility & contrast

On white

2.21
#C7AD4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.52
#C7AD4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7AD4E
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7AD4E#FFFFFF#000000##000000
##C7AD4E1.002.219.529.52
#FFFFFF2.211.0021.0021.00
#0000009.5221.001.001.00
##0000009.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDAA44
Deuteranopia (green-blind)
#C4B252
Tritanopia (blue-blind)
#D6A198
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #c7ad4e;
/* rgb */ color: rgb(199, 173, 78);
/* oklch */ color: oklch(75.2% 0.118 94.1);
Tailwind
colors: {
  custom: {
    50: '#dbc583',
    500: '#c7ad4e',
    950: '#000000',
  },
}
SCSS
$custom: #c7ad4e;
$custom-light: #dbc583;
$custom-dark: #000000;
JSON
{
  "hex": "#c7ad4e",
  "rgb": {
    "r": 199,
    "g": 173,
    "b": 78
  },
  "hsl": {
    "h": 47.107,
    "s": 51.931,
    "l": 54.314
  },
  "oklch": {
    "l": 0.75175,
    "c": 0.11827,
    "h": 94.1
  },
  "luminance": 0.42579
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C7AD4E

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

Preview Lab → · Contrast checker → · Palette generator →

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