#C7AB35#C7AB35

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

Color values

HEX#C7AB35
RGBrgb(199, 171, 53)
HSLhsl(48, 58%, 49%)
HSVhsv(48, 73%, 78%)
CMYKcmyk(0%, 14.1%, 73.4%, 22%)
CIE-LABlab(70.54, -2.25, 61.00)
CIE-LCHlch(70.54, 61.05, 92.11°)
OKLaboklab(74.54% -0.0124 0.1348)
OKLCHoklch(74.54% 0.135 95.3)
XYZxyz(38.7607, 41.5271, 9.3414)
Luminance0.4153 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7AB35 #3551C7
analogous
#C76235 #C7AB35 #9AC735
triadic
#C7AB35 #35C7AB #AB35C7
tetradic
#C7AB35 #35C762 #3551C7 #C7359A
square
#C7AB35 #35C762 #3551C7 #C7359A
split-complementary
#C7AB35 #359AC7 #6235C7
monochromatic
#66581B #978128 #C7AB35 #D6C064 #E2D394

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7AB35#FFFFFF#000000##000000
##C7AB351.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)
#BDA822
Deuteranopia (green-blind)
#C4B03C
Tritanopia (blue-blind)
#D79E94
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #c7ab35;
/* rgb */ color: rgb(199, 171, 53);
/* oklch */ color: oklch(74.5% 0.135 95.3);
Tailwind
colors: {
  custom: {
    50: '#dcc374',
    500: '#c7ab35',
    950: '#000000',
  },
}
SCSS
$custom: #c7ab35;
$custom-light: #dcc374;
$custom-dark: #000000;
JSON
{
  "hex": "#c7ab35",
  "rgb": {
    "r": 199,
    "g": 171,
    "b": 53
  },
  "hsl": {
    "h": 48.493,
    "s": 57.937,
    "l": 49.412
  },
  "oklch": {
    "l": 0.74536,
    "c": 0.13532,
    "h": 95.3
  },
  "luminance": 0.41525
}

Semantic roles & 50–950 ramp

primary
#C7AB35
secondary
#8A97CE
accent
#64E147
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#161209
muted
#84817B

Preview Lab

Preview with #C7AB35

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

Preview Lab → · Contrast checker → · Palette generator →

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