#C2AB48#C2AB48

#C2AB48 is a light, vivid yellow. Relative luminance 0.411; OKLCH L 74.2% C 0.121 H 96.2°. Best body text is #000000 at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#C2AB48
RGBrgb(194, 171, 72)
HSLhsl(49, 50%, 52%)
HSVhsv(49, 63%, 76%)
CMYKcmyk(0%, 11.9%, 62.9%, 23.9%)
CIE-LABlab(70.22, -3.36, 52.62)
CIE-LCHlch(70.22, 52.73, 93.65°)
OKLaboklab(74.22% -0.0131 0.1204)
OKLCHoklch(74.22% 0.121 96.2)
XYZxyz(37.9824, 41.0649, 12.0553)
Luminance0.4106 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2AB48 #485FC2
analogous
#C26E48 #C2AB48 #9CC248
triadic
#C2AB48 #48C2AB #AB48C2
tetradic
#C2AB48 #48C26E #485FC2 #C2489C
square
#C2AB48 #48C26E #485FC2 #C2489C
split-complementary
#C2AB48 #489CC2 #6E48C2
monochromatic
#6C5E24 #9A8633 #C2AB48 #D1C076 #E1D5A4

Accessibility & contrast

On white

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

On black

9.21
#C2AB48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2AB48
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2AB48#FFFFFF#000000##000000
##C2AB481.002.289.219.21
#FFFFFF2.281.0021.0021.00
#0000009.2121.001.001.00
##0000009.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA73D
Deuteranopia (green-blind)
#C1AF4D
Tritanopia (blue-blind)
#D19F96
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #c2ab48;
/* rgb */ color: rgb(194, 171, 72);
/* oklch */ color: oklch(74.2% 0.121 96.2);
Tailwind
colors: {
  custom: {
    50: '#d7c37f',
    500: '#c2ab48',
    950: '#000000',
  },
}
SCSS
$custom: #c2ab48;
$custom-light: #d7c37f;
$custom-dark: #000000;
JSON
{
  "hex": "#c2ab48",
  "rgb": {
    "r": 194,
    "g": 171,
    "b": 72
  },
  "hsl": {
    "h": 48.689,
    "s": 50,
    "l": 52.157
  },
  "oklch": {
    "l": 0.74218,
    "c": 0.12108,
    "h": 96.2
  },
  "luminance": 0.41063
}

Semantic roles & 50–950 ramp

primary
#C2AB48
secondary
#98A2CE
accent
#69DA4E
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#15120A
muted
#83817C

Preview Lab

Preview with #C2AB48

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

Preview Lab → · Contrast checker → · Palette generator →

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