#C2AB4A#C2AB4A

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

Color values

HEX#C2AB4A
RGBrgb(194, 171, 74)
HSLhsl(49, 50%, 53%)
HSVhsv(49, 62%, 76%)
CMYKcmyk(0%, 11.9%, 61.9%, 23.9%)
CIE-LABlab(70.24, -3.22, 51.73)
CIE-LCHlch(70.24, 51.84, 93.57°)
OKLaboklab(74.24% -0.0125 0.1188)
OKLCHoklch(74.24% 0.119 96)
XYZxyz(38.0487, 41.0914, 12.4045)
Luminance0.4109 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2AB4A #4A61C2
analogous
#C26F4A #C2AB4A #9DC24A
triadic
#C2AB4A #4AC2AB #AB4AC2
tetradic
#C2AB4A #4AC26F #4A61C2 #C24A9D
square
#C2AB4A #4AC26F #4A61C2 #C24A9D
split-complementary
#C2AB4A #4A9DC2 #6F4AC2
monochromatic
#6D5F25 #9B8734 #C2AB4A #D1C078 #E1D5A6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2AB4A#FFFFFF#000000##000000
##C2AB4A1.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)
#BBA73F
Deuteranopia (green-blind)
#C1AF4F
Tritanopia (blue-blind)
#D09F96
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #c2ab4a;
/* rgb */ color: rgb(194, 171, 74);
/* oklch */ color: oklch(74.2% 0.119 96.0);
Tailwind
colors: {
  custom: {
    50: '#d7c380',
    500: '#c2ab4a',
    950: '#000000',
  },
}
SCSS
$custom: #c2ab4a;
$custom-light: #d7c380;
$custom-dark: #000000;
JSON
{
  "hex": "#c2ab4a",
  "rgb": {
    "r": 194,
    "g": 171,
    "b": 74
  },
  "hsl": {
    "h": 48.5,
    "s": 49.587,
    "l": 52.549
  },
  "oklch": {
    "l": 0.74239,
    "c": 0.11941,
    "h": 96
  },
  "luminance": 0.4109
}

Semantic roles & 50–950 ramp

primary
#C2AB4A
secondary
#9AA4CE
accent
#69D94F
background
#FDFBF8
surface
#FBF7EF
border
#D4D0CA
text
#15120A
muted
#83817C

Preview Lab

Preview with #C2AB4A

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

Preview Lab → · Contrast checker → · Palette generator →

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