#C2AB2C#C2AB2C

#C2AB2C is a light, vivid yellow. Relative luminance 0.408; OKLCH L 74.0% C 0.140 H 98.4°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#C2AB2C
RGBrgb(194, 171, 44)
HSLhsl(51, 63%, 47%)
HSVhsv(51, 77%, 76%)
CMYKcmyk(0%, 11.9%, 77.3%, 23.9%)
CIE-LABlab(70.02, -4.82, 63.54)
CIE-LCHlch(70.02, 63.73, 94.34°)
OKLaboklab(74% -0.0203 0.1386)
OKLCHoklch(74% 0.14 98.4)
XYZxyz(37.2676, 40.7789, 8.2905)
Luminance0.4078 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2AB2C #2C43C2
analogous
#C2602C #C2AB2C #8EC22C
triadic
#C2AB2C #2CC2AB #AB2CC2
tetradic
#C2AB2C #2CC260 #2C43C2 #C22C8E
square
#C2AB2C #2CC260 #2C43C2 #C22C8E
split-complementary
#C2AB2C #2C8EC2 #602CC2
monochromatic
#5E5315 #907F21 #C2AB2C #D8C453 #E3D585

Accessibility & contrast

On white

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

On black

9.16
#C2AB2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2AB2C
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2AB2C#FFFFFF#000000##000000
##C2AB2C1.002.299.169.16
#FFFFFF2.291.0021.0021.00
#0000009.1621.001.001.00
##0000009.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA70F
Deuteranopia (green-blind)
#C3AF35
Tritanopia (blue-blind)
#D29E93
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c2ab2c;
/* rgb */ color: rgb(194, 171, 44);
/* oklch */ color: oklch(74.0% 0.140 98.4);
Tailwind
colors: {
  custom: {
    50: '#d9c370',
    500: '#c2ab2c',
    950: '#000000',
  },
}
SCSS
$custom: #c2ab2c;
$custom-light: #d9c370;
$custom-dark: #000000;
JSON
{
  "hex": "#c2ab2c",
  "rgb": {
    "r": 194,
    "g": 171,
    "b": 44
  },
  "hsl": {
    "h": 50.8,
    "s": 63.025,
    "l": 46.667
  },
  "oklch": {
    "l": 0.73995,
    "c": 0.14009,
    "h": 98.4
  },
  "luminance": 0.40777
}

Semantic roles & 50–950 ramp

primary
#C2AB2C
secondary
#7D89CD
accent
#5BE642
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #C2AB2C

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

Preview Lab → · Contrast checker → · Palette generator →

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