#C2AB45#C2AB45

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

Color values

HEX#C2AB45
RGBrgb(194, 171, 69)
HSLhsl(49, 51%, 52%)
HSVhsv(49, 64%, 76%)
CMYKcmyk(0%, 11.9%, 64.4%, 23.9%)
CIE-LABlab(70.19, -3.55, 53.93)
CIE-LCHlch(70.19, 54.05, 93.77°)
OKLaboklab(74.19% -0.014 0.1227)
OKLCHoklch(74.19% 0.124 96.5)
XYZxyz(37.8869, 41.0267, 11.5524)
Luminance0.4103 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2AB45 #455CC2
analogous
#C26D45 #C2AB45 #9BC245
triadic
#C2AB45 #45C2AB #AB45C2
tetradic
#C2AB45 #45C26D #455CC2 #C2459B
square
#C2AB45 #45C26D #455CC2 #C2459B
split-complementary
#C2AB45 #459BC2 #6D45C2
monochromatic
#6A5D23 #988532 #C2AB45 #D1C073 #E0D5A1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2AB45#FFFFFF#000000##000000
##C2AB451.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)
#BBA739
Deuteranopia (green-blind)
#C1AF4A
Tritanopia (blue-blind)
#D19F95
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #c2ab45;
/* rgb */ color: rgb(194, 171, 69);
/* oklch */ color: oklch(74.2% 0.124 96.5);
Tailwind
colors: {
  custom: {
    50: '#d8c37d',
    500: '#c2ab45',
    950: '#000000',
  },
}
SCSS
$custom: #c2ab45;
$custom-light: #d8c37d;
$custom-dark: #000000;
JSON
{
  "hex": "#c2ab45",
  "rgb": {
    "r": 194,
    "g": 171,
    "b": 69
  },
  "hsl": {
    "h": 48.96,
    "s": 50.607,
    "l": 51.569
  },
  "oklch": {
    "l": 0.74188,
    "c": 0.12351,
    "h": 96.5
  },
  "luminance": 0.41025
}

Semantic roles & 50–950 ramp

primary
#C2AB45
secondary
#96A0CD
accent
#68DA4E
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#15120A
muted
#83817C

Preview Lab

Preview with #C2AB45

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

Preview Lab → · Contrast checker → · Palette generator →

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