#C2AB3A#C2AB3A

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

Color values

HEX#C2AB3A
RGBrgb(194, 171, 58)
HSLhsl(50, 54%, 49%)
HSVhsv(50, 70%, 76%)
CMYKcmyk(0%, 11.9%, 70.1%, 23.9%)
CIE-LABlab(70.11, -4.18, 58.47)
CIE-LCHlch(70.11, 58.62, 94.09°)
OKLaboklab(74.09% -0.0171 0.1305)
OKLCHoklch(74.09% 0.132 97.5)
XYZxyz(37.5766, 40.9025, 9.9179)
Luminance0.4090 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2AB3A #3A51C2
analogous
#C2673A #C2AB3A #95C23A
triadic
#C2AB3A #3AC2AB #AB3AC2
tetradic
#C2AB3A #3AC267 #3A51C2 #C23A95
square
#C2AB3A #3AC267 #3A51C2 #C23A95
split-complementary
#C2AB3A #3A95C2 #673AC2
monochromatic
#64581E #93812C #C2AB3A #D2C067 #E0D397

Accessibility & contrast

On white

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

On black

9.18
#C2AB3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2AB3A
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2AB3A#FFFFFF#000000##000000
##C2AB3A1.002.299.189.18
#FFFFFF2.291.0021.0021.00
#0000009.1821.001.001.00
##0000009.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c2ab3a;
/* rgb */ color: rgb(194, 171, 58);
/* oklch */ color: oklch(74.1% 0.132 97.5);
Tailwind
colors: {
  custom: {
    50: '#d8c377',
    500: '#c2ab3a',
    950: '#000000',
  },
}
SCSS
$custom: #c2ab3a;
$custom-light: #d8c377;
$custom-dark: #000000;
JSON
{
  "hex": "#c2ab3a",
  "rgb": {
    "r": 194,
    "g": 171,
    "b": 58
  },
  "hsl": {
    "h": 49.853,
    "s": 53.968,
    "l": 49.412
  },
  "oklch": {
    "l": 0.74091,
    "c": 0.13161,
    "h": 97.5
  },
  "luminance": 0.40901
}

Semantic roles & 50–950 ramp

primary
#C2AB3A
secondary
#8D97CB
accent
#63DD4A
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C2AB3A

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

Preview Lab → · Contrast checker → · Palette generator →

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