#C2AB52#C2AB52

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

Color values

HEX#C2AB52
RGBrgb(194, 171, 82)
HSLhsl(48, 48%, 54%)
HSVhsv(48, 58%, 76%)
CMYKcmyk(0%, 11.9%, 57.7%, 23.9%)
CIE-LABlab(70.32, -2.65, 48.09)
CIE-LCHlch(70.32, 48.16, 93.15°)
OKLaboklab(74.33% -0.0098 0.112)
OKLCHoklch(74.33% 0.112 95)
XYZxyz(38.3356, 41.2061, 13.9153)
Luminance0.4120 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2AB52 #5269C2
analogous
#C27352 #C2AB52 #A1C252
triadic
#C2AB52 #52C2AB #AB52C2
tetradic
#C2AB52 #52C273 #5269C2 #C252A1
square
#C2AB52 #52C273 #5269C2 #C252A1
split-complementary
#C2AB52 #52A1C2 #7352C2
monochromatic
#726228 #9F8A38 #C2AB52 #D2C17F #E2D7AC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2AB52#FFFFFF#000000##000000
##C2AB521.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)
#BAA849
Deuteranopia (green-blind)
#C0AF56
Tritanopia (blue-blind)
#D0A097
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #c2ab52;
/* rgb */ color: rgb(194, 171, 82);
/* oklch */ color: oklch(74.3% 0.112 95.0);
Tailwind
colors: {
  custom: {
    50: '#d7c385',
    500: '#c2ab52',
    950: '#000000',
  },
}
SCSS
$custom: #c2ab52;
$custom-light: #d7c385;
$custom-dark: #000000;
JSON
{
  "hex": "#c2ab52",
  "rgb": {
    "r": 194,
    "g": 171,
    "b": 82
  },
  "hsl": {
    "h": 47.679,
    "s": 47.863,
    "l": 54.118
  },
  "oklch": {
    "l": 0.74328,
    "c": 0.1124,
    "h": 95
  },
  "luminance": 0.41204
}

Semantic roles & 50–950 ramp

primary
#C2AB52
secondary
#A0AAD0
accent
#6CD750
background
#FDFBF8
surface
#FBF7EF
border
#D4D0CA
text
#15120B
muted
#83817C

Preview Lab

Preview with #C2AB52

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

Preview Lab → · Contrast checker → · Palette generator →

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