#C7AB37#C7AB37

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

Color values

HEX#C7AB37
RGBrgb(199, 171, 55)
HSLhsl(48, 57%, 50%)
HSVhsv(48, 72%, 78%)
CMYKcmyk(0%, 14.1%, 72.4%, 22%)
CIE-LABlab(70.56, -2.16, 60.25)
CIE-LCHlch(70.56, 60.29, 92.05°)
OKLaboklab(74.55% -0.0119 0.1335)
OKLCHoklch(74.55% 0.134 95.1)
XYZxyz(38.8077, 41.5459, 9.5888)
Luminance0.4154 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7AB37 #3753C7
analogous
#C76337 #C7AB37 #9BC737
triadic
#C7AB37 #37C7AB #AB37C7
tetradic
#C7AB37 #37C763 #3753C7 #C7379B
square
#C7AB37 #37C763 #3753C7 #C7379B
split-complementary
#C7AB37 #379BC7 #6337C7
monochromatic
#67591C #97822A #C7AB37 #D5BF66 #E2D396

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7AB37#FFFFFF#000000##000000
##C7AB371.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)
#BDA825
Deuteranopia (green-blind)
#C4B03E
Tritanopia (blue-blind)
#D79E94
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #c7ab37;
/* rgb */ color: rgb(199, 171, 55);
/* oklch */ color: oklch(74.6% 0.134 95.1);
Tailwind
colors: {
  custom: {
    50: '#dcc375',
    500: '#c7ab37',
    950: '#000000',
  },
}
SCSS
$custom: #c7ab37;
$custom-light: #dcc375;
$custom-dark: #000000;
JSON
{
  "hex": "#c7ab37",
  "rgb": {
    "r": 199,
    "g": 171,
    "b": 55
  },
  "hsl": {
    "h": 48.333,
    "s": 56.693,
    "l": 49.804
  },
  "oklch": {
    "l": 0.7455,
    "c": 0.13407,
    "h": 95.1
  },
  "luminance": 0.41544
}

Semantic roles & 50–950 ramp

primary
#C7AB37
secondary
#8C99CD
accent
#65E048
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#161209
muted
#84817B

Preview Lab

Preview with #C7AB37

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

Preview Lab → · Contrast checker → · Palette generator →

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