#C2AB3C#C2AB3C

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

Color values

HEX#C2AB3C
RGBrgb(194, 171, 60)
HSLhsl(50, 53%, 50%)
HSVhsv(50, 69%, 76%)
CMYKcmyk(0%, 11.9%, 69.1%, 23.9%)
CIE-LABlab(70.12, -4.08, 57.68)
CIE-LCHlch(70.12, 57.82, 94.04°)
OKLaboklab(74.11% -0.0166 0.1292)
OKLCHoklch(74.11% 0.13 97.3)
XYZxyz(37.6284, 40.9233, 10.1911)
Luminance0.4092 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2AB3C #3C53C2
analogous
#C2683C #C2AB3C #96C23C
triadic
#C2AB3C #3CC2AB #AB3CC2
tetradic
#C2AB3C #3CC268 #3C53C2 #C23C96
square
#C2AB3C #3CC268 #3C53C2 #C23C96
split-complementary
#C2AB3C #3C96C2 #683CC2
monochromatic
#65591F #93822E #C2AB3C #D1BF6A #DFD399

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2AB3C#FFFFFF#000000##000000
##C2AB3C1.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)
#BCA72D
Deuteranopia (green-blind)
#C2AF42
Tritanopia (blue-blind)
#D19E94
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c2ab3c;
/* rgb */ color: rgb(194, 171, 60);
/* oklch */ color: oklch(74.1% 0.130 97.3);
Tailwind
colors: {
  custom: {
    50: '#d8c378',
    500: '#c2ab3c',
    950: '#000000',
  },
}
SCSS
$custom: #c2ab3c;
$custom-light: #d8c378;
$custom-dark: #000000;
JSON
{
  "hex": "#c2ab3c",
  "rgb": {
    "r": 194,
    "g": 171,
    "b": 60
  },
  "hsl": {
    "h": 49.701,
    "s": 52.756,
    "l": 49.804
  },
  "oklch": {
    "l": 0.74108,
    "c": 0.13024,
    "h": 97.3
  },
  "luminance": 0.40921
}

Semantic roles & 50–950 ramp

primary
#C2AB3C
secondary
#8F99CB
accent
#64DC4C
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#151209
muted
#83817B

Preview Lab

Preview with #C2AB3C

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

Preview Lab → · Contrast checker → · Palette generator →

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