#C7AB39#C7AB39

#C7AB39 is a light, vivid yellow. Relative luminance 0.416; OKLCH L 74.6% C 0.133 H 94.9°. Best body text is #000000 at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#C7AB39
RGBrgb(199, 171, 57)
HSLhsl(48, 56%, 50%)
HSVhsv(48, 71%, 78%)
CMYKcmyk(0%, 14.1%, 71.4%, 22%)
CIE-LABlab(70.57, -2.06, 59.49)
CIE-LCHlch(70.57, 59.52, 91.98°)
OKLaboklab(74.57% -0.0114 0.1323)
OKLCHoklch(74.57% 0.133 94.9)
XYZxyz(38.8566, 41.5655, 9.8464)
Luminance0.4156 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7AB39 #3955C7
analogous
#C76439 #C7AB39 #9CC739
triadic
#C7AB39 #39C7AB #AB39C7
tetradic
#C7AB39 #39C764 #3955C7 #C7399C
square
#C7AB39 #39C764 #3955C7 #C7399C
split-complementary
#C7AB39 #399CC7 #6439C7
monochromatic
#68591D #98822B #C7AB39 #D4BF69 #E2D398

Accessibility & contrast

On white

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

On black

9.31
#C7AB39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7AB39
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7AB39#FFFFFF#000000##000000
##C7AB391.002.269.319.31
#FFFFFF2.261.0021.0021.00
#0000009.3121.001.001.00
##0000009.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA828
Deuteranopia (green-blind)
#C4B03F
Tritanopia (blue-blind)
#D79E94
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #c7ab39;
/* rgb */ color: rgb(199, 171, 57);
/* oklch */ color: oklch(74.6% 0.133 94.9);
Tailwind
colors: {
  custom: {
    50: '#dcc376',
    500: '#c7ab39',
    950: '#000000',
  },
}
SCSS
$custom: #c7ab39;
$custom-light: #dcc376;
$custom-dark: #000000;
JSON
{
  "hex": "#c7ab39",
  "rgb": {
    "r": 199,
    "g": 171,
    "b": 57
  },
  "hsl": {
    "h": 48.169,
    "s": 55.906,
    "l": 50.196
  },
  "oklch": {
    "l": 0.74566,
    "c": 0.13278,
    "h": 94.9
  },
  "luminance": 0.41563
}

Semantic roles & 50–950 ramp

primary
#C7AB39
secondary
#8E9BCE
accent
#66DF49
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#161209
muted
#84817B

Preview Lab

Preview with #C7AB39

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

Preview Lab → · Contrast checker → · Palette generator →

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