#C7AB4E#C7AB4E

#C7AB4E is a light, moderate yellow. Relative luminance 0.418; OKLCH L 74.8% C 0.117 H 92.6°. Best body text is #000000 at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#C7AB4E
RGBrgb(199, 171, 78)
HSLhsl(46, 52%, 54%)
HSVhsv(46, 61%, 78%)
CMYKcmyk(0%, 14.1%, 60.8%, 22%)
CIE-LABlab(70.75, -0.80, 50.58)
CIE-LCHlch(70.75, 50.59, 90.91°)
OKLaboklab(74.76% -0.0053 0.1167)
OKLCHoklch(74.76% 0.117 92.6)
XYZxyz(39.4930, 41.8200, 13.1981)
Luminance0.4182 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7AB4E #4E6AC7
analogous
#C76F4E #C7AB4E #A6C74E
triadic
#C7AB4E #4EC7AB #AB4EC7
tetradic
#C7AB4E #4EC76F #4E6AC7 #C74EA6
square
#C7AB4E #4EC76F #4E6AC7 #C74EA6
split-complementary
#C7AB4E #4EA6C7 #6F4EC7
monochromatic
#756325 #A48A34 #C7AB4E #D6C17C #E4D7AB

Accessibility & contrast

On white

2.24
#C7AB4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.36
#C7AB4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7AB4E
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7AB4E#FFFFFF#000000##000000
##C7AB4E1.002.249.369.36
#FFFFFF2.241.0021.0021.00
#0000009.3621.001.001.00
##0000009.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA844
Deuteranopia (green-blind)
#C3B152
Tritanopia (blue-blind)
#D69F97
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #c7ab4e;
/* rgb */ color: rgb(199, 171, 78);
/* oklch */ color: oklch(74.8% 0.117 92.6);
Tailwind
colors: {
  custom: {
    50: '#dbc383',
    500: '#c7ab4e',
    950: '#000000',
  },
}
SCSS
$custom: #c7ab4e;
$custom-light: #dbc383;
$custom-dark: #000000;
JSON
{
  "hex": "#c7ab4e",
  "rgb": {
    "r": 199,
    "g": 171,
    "b": 78
  },
  "hsl": {
    "h": 46.116,
    "s": 51.931,
    "l": 54.314
  },
  "oklch": {
    "l": 0.74761,
    "c": 0.11684,
    "h": 92.6
  },
  "luminance": 0.41818
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C7AB4E

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

Preview Lab → · Contrast checker → · Palette generator →

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