#C2AB4C#C2AB4C

#C2AB4C is a light, moderate yellow. Relative luminance 0.411; OKLCH L 74.3% C 0.118 H 95.8°. Best body text is #000000 at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#C2AB4C
RGBrgb(194, 171, 76)
HSLhsl(48, 49%, 53%)
HSVhsv(48, 61%, 76%)
CMYKcmyk(0%, 11.9%, 60.8%, 23.9%)
CIE-LABlab(70.26, -3.09, 50.84)
CIE-LCHlch(70.26, 50.93, 93.47°)
OKLaboklab(74.26% -0.0118 0.1171)
OKLCHoklch(74.26% 0.118 95.8)
XYZxyz(38.1172, 41.1188, 12.7650)
Luminance0.4112 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2AB4C #4C63C2
analogous
#C2704C #C2AB4C #9EC24C
triadic
#C2AB4C #4CC2AB #AB4CC2
tetradic
#C2AB4C #4CC270 #4C63C2 #C24C9E
square
#C2AB4C #4CC270 #4C63C2 #C24C9E
split-complementary
#C2AB4C #4C9EC2 #704CC2
monochromatic
#6E6026 #9C8835 #C2AB4C #D2C07A #E1D6A7

Accessibility & contrast

On white

2.28
#C2AB4C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.22
#C2AB4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2AB4C
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2AB4C#FFFFFF#000000##000000
##C2AB4C1.002.289.229.22
#FFFFFF2.281.0021.0021.00
#0000009.2221.001.001.00
##0000009.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA842
Deuteranopia (green-blind)
#C1AF50
Tritanopia (blue-blind)
#D09F96
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #c2ab4c;
/* rgb */ color: rgb(194, 171, 76);
/* oklch */ color: oklch(74.3% 0.118 95.8);
Tailwind
colors: {
  custom: {
    50: '#d7c382',
    500: '#c2ab4c',
    950: '#000000',
  },
}
SCSS
$custom: #c2ab4c;
$custom-light: #d7c382;
$custom-dark: #000000;
JSON
{
  "hex": "#c2ab4c",
  "rgb": {
    "r": 194,
    "g": 171,
    "b": 76
  },
  "hsl": {
    "h": 48.305,
    "s": 49.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.7426,
    "c": 0.11772,
    "h": 95.8
  },
  "luminance": 0.41117
}

Semantic roles & 50–950 ramp

primary
#C2AB4C
secondary
#9BA5CE
accent
#6AD94F
background
#FDFBF8
surface
#FBF7EF
border
#D4D0CA
text
#15120B
muted
#83817C

Preview Lab

Preview with #C2AB4C

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

Preview Lab → · Contrast checker → · Palette generator →

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