#C7AB41#C7AB41

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

Color values

HEX#C7AB41
RGBrgb(199, 171, 65)
HSLhsl(47, 54%, 52%)
HSVhsv(47, 67%, 78%)
CMYKcmyk(0%, 14.1%, 67.3%, 22%)
CIE-LABlab(70.63, -1.63, 56.27)
CIE-LCHlch(70.63, 56.29, 91.66°)
OKLaboklab(74.63% -0.0093 0.1269)
OKLCHoklch(74.63% 0.127 94.2)
XYZxyz(39.0722, 41.6517, 10.9816)
Luminance0.4165 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7AB41 #415DC7
analogous
#C76841 #C7AB41 #A0C741
triadic
#C7AB41 #41C7AB #AB41C7
tetradic
#C7AB41 #41C768 #415DC7 #C741A0
square
#C7AB41 #41C768 #415DC7 #C741A0
split-complementary
#C7AB41 #41A0C7 #6841C7
monochromatic
#6D5D20 #9D862E #C7AB41 #D5C070 #E3D5A0

Accessibility & contrast

On white

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

On black

9.33
#C7AB41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7AB41
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7AB41#FFFFFF#000000##000000
##C7AB411.002.259.339.33
#FFFFFF2.251.0021.0021.00
#0000009.3321.001.001.00
##0000009.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA834
Deuteranopia (green-blind)
#C3B046
Tritanopia (blue-blind)
#D79E95
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #c7ab41;
/* rgb */ color: rgb(199, 171, 65);
/* oklch */ color: oklch(74.6% 0.127 94.2);
Tailwind
colors: {
  custom: {
    50: '#dbc37b',
    500: '#c7ab41',
    950: '#000000',
  },
}
SCSS
$custom: #c7ab41;
$custom-light: #dbc37b;
$custom-dark: #000000;
JSON
{
  "hex": "#c7ab41",
  "rgb": {
    "r": 199,
    "g": 171,
    "b": 65
  },
  "hsl": {
    "h": 47.463,
    "s": 54.472,
    "l": 51.765
  },
  "oklch": {
    "l": 0.74632,
    "c": 0.12721,
    "h": 94.2
  },
  "luminance": 0.4165
}

Semantic roles & 50–950 ramp

primary
#C7AB41
secondary
#95A1CF
accent
#69DE4A
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#15120A
muted
#83817C

Preview Lab

Preview with #C7AB41

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

Preview Lab → · Contrast checker → · Palette generator →

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