#C2AB51#C2AB51

#C2AB51 is a light, moderate yellow. Relative luminance 0.412; OKLCH L 74.3% C 0.113 H 95.2°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#C2AB51
RGBrgb(194, 171, 81)
HSLhsl(48, 48%, 54%)
HSVhsv(48, 58%, 76%)
CMYKcmyk(0%, 11.9%, 58.2%, 23.9%)
CIE-LABlab(70.31, -2.72, 48.55)
CIE-LCHlch(70.31, 48.63, 93.21°)
OKLaboklab(74.32% -0.0102 0.1129)
OKLCHoklch(74.32% 0.113 95.2)
XYZxyz(38.2978, 41.1910, 13.7164)
Luminance0.4119 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2AB51 #5168C2
analogous
#C27351 #C2AB51 #A1C251
triadic
#C2AB51 #51C2AB #AB51C2
tetradic
#C2AB51 #51C273 #5168C2 #C251A1
square
#C2AB51 #51C273 #5168C2 #C251A1
split-complementary
#C2AB51 #51A1C2 #7351C2
monochromatic
#716228 #9E8937 #C2AB51 #D2C17E #E2D7AC

Accessibility & contrast

On white

2.27
#C2AB51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.24
#C2AB51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2AB51
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2AB51#FFFFFF#000000##000000
##C2AB511.002.279.249.24
#FFFFFF2.271.0021.0021.00
#0000009.2421.001.001.00
##0000009.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA848
Deuteranopia (green-blind)
#C0AF55
Tritanopia (blue-blind)
#D09F97
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #c2ab51;
/* rgb */ color: rgb(194, 171, 81);
/* oklch */ color: oklch(74.3% 0.113 95.2);
Tailwind
colors: {
  custom: {
    50: '#d7c385',
    500: '#c2ab51',
    950: '#000000',
  },
}
SCSS
$custom: #c2ab51;
$custom-light: #d7c385;
$custom-dark: #000000;
JSON
{
  "hex": "#c2ab51",
  "rgb": {
    "r": 194,
    "g": 171,
    "b": 81
  },
  "hsl": {
    "h": 47.788,
    "s": 48.085,
    "l": 53.922
  },
  "oklch": {
    "l": 0.74316,
    "c": 0.11331,
    "h": 95.2
  },
  "luminance": 0.41189
}

Semantic roles & 50–950 ramp

primary
#C2AB51
secondary
#9FA9D0
accent
#6CD850
background
#FDFBF8
surface
#FBF7EF
border
#D4D0CA
text
#15120B
muted
#83817C

Preview Lab

Preview with #C2AB51

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

Preview Lab → · Contrast checker → · Palette generator →

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