#C2AB39#C2AB39

#C2AB39 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#C2AB39
RGBrgb(194, 171, 57)
HSLhsl(50, 55%, 49%)
HSVhsv(50, 71%, 76%)
CMYKcmyk(0%, 11.9%, 70.6%, 23.9%)
CIE-LABlab(70.10, -4.24, 58.86)
CIE-LCHlch(70.10, 59.02, 94.12°)
OKLaboklab(74.08% -0.0173 0.1312)
OKLCHoklch(74.08% 0.132 97.5)
XYZxyz(37.5514, 40.8924, 9.7852)
Luminance0.4089 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2AB39 #3950C2
analogous
#C26739 #C2AB39 #95C239
triadic
#C2AB39 #39C2AB #AB39C2
tetradic
#C2AB39 #39C267 #3950C2 #C23995
square
#C2AB39 #39C267 #3950C2 #C23995
split-complementary
#C2AB39 #3995C2 #6739C2
monochromatic
#63581D #93812B #C2AB39 #D2C066 #E0D395

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2AB39#FFFFFF#000000##000000
##C2AB391.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)
#BCA728
Deuteranopia (green-blind)
#C2AF40
Tritanopia (blue-blind)
#D19E94
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c2ab39;
/* rgb */ color: rgb(194, 171, 57);
/* oklch */ color: oklch(74.1% 0.132 97.5);
Tailwind
colors: {
  custom: {
    50: '#d8c376',
    500: '#c2ab39',
    950: '#000000',
  },
}
SCSS
$custom: #c2ab39;
$custom-light: #d8c376;
$custom-dark: #000000;
JSON
{
  "hex": "#c2ab39",
  "rgb": {
    "r": 194,
    "g": 171,
    "b": 57
  },
  "hsl": {
    "h": 49.927,
    "s": 54.582,
    "l": 49.216
  },
  "oklch": {
    "l": 0.74084,
    "c": 0.13229,
    "h": 97.5
  },
  "luminance": 0.40891
}

Semantic roles & 50–950 ramp

primary
#C2AB39
secondary
#8B96CB
accent
#63DE4A
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C2AB39

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

Preview Lab → · Contrast checker → · Palette generator →

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