#C2AB37#C2AB37

#C2AB37 is a light, vivid yellow. Relative luminance 0.409; OKLCH L 74.1% C 0.134 H 97.7°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#C2AB37
RGBrgb(194, 171, 55)
HSLhsl(50, 56%, 49%)
HSVhsv(50, 72%, 76%)
CMYKcmyk(0%, 11.9%, 71.6%, 23.9%)
CIE-LABlab(70.09, -4.34, 59.63)
CIE-LCHlch(70.09, 59.79, 94.16°)
OKLaboklab(74.07% -0.0179 0.1324)
OKLCHoklch(74.07% 0.134 97.7)
XYZxyz(37.5025, 40.8729, 9.5276)
Luminance0.4087 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2AB37 #374EC2
analogous
#C26637 #C2AB37 #94C237
triadic
#C2AB37 #37C2AB #AB37C2
tetradic
#C2AB37 #37C266 #374EC2 #C23794
square
#C2AB37 #37C266 #374EC2 #C23794
split-complementary
#C2AB37 #3794C2 #6637C2
monochromatic
#63571C #928129 #C2AB37 #D3C063 #E0D493

Accessibility & contrast

On white

2.29
#C2AB37 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.17
#C2AB37 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2AB37
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2AB37#FFFFFF#000000##000000
##C2AB371.002.299.179.17
#FFFFFF2.291.0021.0021.00
#0000009.1721.001.001.00
##0000009.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA725
Deuteranopia (green-blind)
#C2AF3E
Tritanopia (blue-blind)
#D19E94
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c2ab37;
/* rgb */ color: rgb(194, 171, 55);
/* oklch */ color: oklch(74.1% 0.134 97.7);
Tailwind
colors: {
  custom: {
    50: '#d8c375',
    500: '#c2ab37',
    950: '#000000',
  },
}
SCSS
$custom: #c2ab37;
$custom-light: #d8c375;
$custom-dark: #000000;
JSON
{
  "hex": "#c2ab37",
  "rgb": {
    "r": 194,
    "g": 171,
    "b": 55
  },
  "hsl": {
    "h": 50.072,
    "s": 55.823,
    "l": 48.824
  },
  "oklch": {
    "l": 0.74068,
    "c": 0.13361,
    "h": 97.7
  },
  "luminance": 0.40871
}

Semantic roles & 50–950 ramp

primary
#C2AB37
secondary
#8994CB
accent
#62DF49
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C2AB37

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

Preview Lab → · Contrast checker → · Palette generator →

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