#C7AB47#C7AB47

#C7AB47 is a light, vivid yellow. Relative luminance 0.417; OKLCH L 74.7% C 0.123 H 93.5°. Best body text is #000000 at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#C7AB47
RGBrgb(199, 171, 71)
HSLhsl(47, 53%, 53%)
HSVhsv(47, 64%, 78%)
CMYKcmyk(0%, 14.1%, 64.3%, 22%)
CIE-LABlab(70.68, -1.27, 53.70)
CIE-LCHlch(70.68, 53.72, 91.35°)
OKLaboklab(74.69% -0.0075 0.1224)
OKLCHoklch(74.69% 0.123 93.5)
XYZxyz(39.2553, 41.7249, 11.9461)
Luminance0.4172 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7AB47 #4763C7
analogous
#C76B47 #C7AB47 #A3C747
triadic
#C7AB47 #47C7AB #AB47C7
tetradic
#C7AB47 #47C76B #4763C7 #C747A3
square
#C7AB47 #47C76B #4763C7 #C747A3
split-complementary
#C7AB47 #47A3C7 #6B47C7
monochromatic
#716022 #A08831 #C7AB47 #D5C076 #E4D6A5

Accessibility & contrast

On white

2.25
#C7AB47 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.34
#C7AB47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7AB47
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7AB47#FFFFFF#000000##000000
##C7AB471.002.259.349.34
#FFFFFF2.251.0021.0021.00
#0000009.3421.001.001.00
##0000009.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA83C
Deuteranopia (green-blind)
#C3B04C
Tritanopia (blue-blind)
#D69E96
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #c7ab47;
/* rgb */ color: rgb(199, 171, 71);
/* oklch */ color: oklch(74.7% 0.123 93.5);
Tailwind
colors: {
  custom: {
    50: '#dbc37f',
    500: '#c7ab47',
    950: '#000000',
  },
}
SCSS
$custom: #c7ab47;
$custom-light: #dbc37f;
$custom-dark: #000000;
JSON
{
  "hex": "#c7ab47",
  "rgb": {
    "r": 199,
    "g": 171,
    "b": 71
  },
  "hsl": {
    "h": 46.875,
    "s": 53.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.74688,
    "c": 0.12262,
    "h": 93.5
  },
  "luminance": 0.41723
}

Semantic roles & 50–950 ramp

primary
#C7AB47
secondary
#99A5D1
accent
#6BDD4B
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#15120A
muted
#83817C

Preview Lab

Preview with #C7AB47

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

Preview Lab → · Contrast checker → · Palette generator →

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