#C5AB3E#C5AB3E

#C5AB3E is a light, vivid yellow. Relative luminance 0.413; OKLCH L 74.4% C 0.129 H 95.5°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#C5AB3E
RGBrgb(197, 171, 62)
HSLhsl(48, 54%, 51%)
HSVhsv(48, 69%, 77%)
CMYKcmyk(0%, 13.2%, 68.5%, 22.7%)
CIE-LABlab(70.42, -2.67, 57.25)
CIE-LCHlch(70.42, 57.31, 92.67°)
OKLaboklab(74.41% -0.0125 0.1285)
OKLCHoklch(74.41% 0.129 95.5)
XYZxyz(38.4602, 41.3459, 10.5113)
Luminance0.4134 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5AB3E #3E58C5
analogous
#C5673E #C5AB3E #9CC53E
triadic
#C5AB3E #3EC5AB #AB3EC5
tetradic
#C5AB3E #3EC567 #3E58C5 #C53E9C
square
#C5AB3E #3EC567 #3E58C5 #C53E9C
split-complementary
#C5AB3E #3E9CC5 #673EC5
monochromatic
#695B20 #98842E #C5AB3E #D3BF6D #E1D49C

Accessibility & contrast

On white

2.27
#C5AB3E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.27
#C5AB3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5AB3E
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5AB3E#FFFFFF#000000##000000
##C5AB3E1.002.279.279.27
#FFFFFF2.271.0021.0021.00
#0000009.2721.001.001.00
##0000009.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA72F
Deuteranopia (green-blind)
#C3B044
Tritanopia (blue-blind)
#D49E95
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #c5ab3e;
/* rgb */ color: rgb(197, 171, 62);
/* oklch */ color: oklch(74.4% 0.129 95.5);
Tailwind
colors: {
  custom: {
    50: '#dac379',
    500: '#c5ab3e',
    950: '#000000',
  },
}
SCSS
$custom: #c5ab3e;
$custom-light: #dac379;
$custom-dark: #000000;
JSON
{
  "hex": "#c5ab3e",
  "rgb": {
    "r": 197,
    "g": 171,
    "b": 62
  },
  "hsl": {
    "h": 48.444,
    "s": 53.785,
    "l": 50.784
  },
  "oklch": {
    "l": 0.74412,
    "c": 0.12911,
    "h": 95.5
  },
  "luminance": 0.41344
}

Semantic roles & 50–950 ramp

primary
#C5AB3E
secondary
#919DCD
accent
#67DD4B
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#151209
muted
#83817B

Preview Lab

Preview with #C5AB3E

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

Preview Lab → · Contrast checker → · Palette generator →

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