#C2AB2E#C2AB2E

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

Color values

HEX#C2AB2E
RGBrgb(194, 171, 46)
HSLhsl(51, 62%, 47%)
HSVhsv(51, 76%, 76%)
CMYKcmyk(0%, 11.9%, 76.3%, 23.9%)
CIE-LABlab(70.03, -4.74, 62.88)
CIE-LCHlch(70.03, 63.05, 94.31°)
OKLaboklab(74.01% -0.0199 0.1376)
OKLCHoklch(74.01% 0.139 98.2)
XYZxyz(37.3061, 40.7943, 8.4933)
Luminance0.4079 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2AB2E #2E45C2
analogous
#C2612E #C2AB2E #8FC22E
triadic
#C2AB2E #2EC2AB #AB2EC2
tetradic
#C2AB2E #2EC261 #2E45C2 #C22E8F
square
#C2AB2E #2EC261 #2E45C2 #C22E8F
split-complementary
#C2AB2E #2E8FC2 #612EC2
monochromatic
#5F5417 #917F22 #C2AB2E #D7C356 #E3D588

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2AB2E#FFFFFF#000000##000000
##C2AB2E1.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)
#BCA714
Deuteranopia (green-blind)
#C2AF37
Tritanopia (blue-blind)
#D29E93
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c2ab2e;
/* rgb */ color: rgb(194, 171, 46);
/* oklch */ color: oklch(74.0% 0.139 98.2);
Tailwind
colors: {
  custom: {
    50: '#d9c371',
    500: '#c2ab2e',
    950: '#000000',
  },
}
SCSS
$custom: #c2ab2e;
$custom-light: #d9c371;
$custom-dark: #000000;
JSON
{
  "hex": "#c2ab2e",
  "rgb": {
    "r": 194,
    "g": 171,
    "b": 46
  },
  "hsl": {
    "h": 50.676,
    "s": 61.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.74007,
    "c": 0.13901,
    "h": 98.2
  },
  "luminance": 0.40792
}

Semantic roles & 50–950 ramp

primary
#C2AB2E
secondary
#7F8BCC
accent
#5CE543
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #C2AB2E

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

Preview Lab → · Contrast checker → · Palette generator →

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