#C7AF4E#C7AF4E

#C7AF4E is a light, moderate yellow. Relative luminance 0.434; OKLCH L 75.6% C 0.120 H 95.5°. Best body text is #000000 at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#C7AF4E
RGBrgb(199, 175, 78)
HSLhsl(48, 52%, 54%)
HSVhsv(48, 61%, 78%)
CMYKcmyk(0%, 12.1%, 60.8%, 22%)
CIE-LABlab(71.79, -2.92, 51.75)
CIE-LCHlch(71.79, 51.84, 93.23°)
OKLaboklab(75.59% -0.0114 0.1192)
OKLCHoklch(75.59% 0.12 95.5)
XYZxyz(40.2600, 43.3540, 13.4538)
Luminance0.4335 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7AF4E #4E66C7
analogous
#C7734E #C7AF4E #A3C74E
triadic
#C7AF4E #4EC7AF #AF4EC7
tetradic
#C7AF4E #4EC773 #4E66C7 #C74EA3
square
#C7AF4E #4EC773 #4E66C7 #C74EA3
split-complementary
#C7AF4E #4EA3C7 #734EC7
monochromatic
#756625 #A48E34 #C7AF4E #D6C47C #E4D9AB

Accessibility & contrast

On white

2.17
#C7AF4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.67
#C7AF4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7AF4E
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7AF4E#FFFFFF#000000##000000
##C7AF4E1.002.179.679.67
#FFFFFF2.171.0021.0021.00
#0000009.6721.001.001.00
##0000009.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAC44
Deuteranopia (green-blind)
#C5B353
Tritanopia (blue-blind)
#D6A39A
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c7af4e;
/* rgb */ color: rgb(199, 175, 78);
/* oklch */ color: oklch(75.6% 0.120 95.5);
Tailwind
colors: {
  custom: {
    50: '#dbc683',
    500: '#c7af4e',
    950: '#000000',
  },
}
SCSS
$custom: #c7af4e;
$custom-light: #dbc683;
$custom-dark: #000000;
JSON
{
  "hex": "#c7af4e",
  "rgb": {
    "r": 199,
    "g": 175,
    "b": 78
  },
  "hsl": {
    "h": 48.099,
    "s": 51.931,
    "l": 54.314
  },
  "oklch": {
    "l": 0.7559,
    "c": 0.11977,
    "h": 95.5
  },
  "luminance": 0.43352
}

Semantic roles & 50–950 ramp

primary
#C7AF4E
secondary
#9FA9D2
accent
#69DB4C
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #C7AF4E

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

Preview Lab → · Contrast checker → · Palette generator →

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