#C2AB40#C2AB40

#C2AB40 is a light, vivid yellow. Relative luminance 0.410; OKLCH L 74.1% C 0.127 H 97.0°. Best body text is #000000 at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#C2AB40
RGBrgb(194, 171, 64)
HSLhsl(49, 52%, 51%)
HSVhsv(49, 67%, 76%)
CMYKcmyk(0%, 11.9%, 67%, 23.9%)
CIE-LABlab(70.15, -3.85, 56.05)
CIE-LCHlch(70.15, 56.18, 93.93°)
OKLaboklab(74.14% -0.0155 0.1264)
OKLCHoklch(74.14% 0.127 97)
XYZxyz(37.7382, 40.9672, 10.7692)
Luminance0.4097 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2AB40 #4057C2
analogous
#C26A40 #C2AB40 #98C240
triadic
#C2AB40 #40C2AB #AB40C2
tetradic
#C2AB40 #40C26A #4057C2 #C24098
square
#C2AB40 #40C26A #4057C2 #C24098
split-complementary
#C2AB40 #4098C2 #6A40C2
monochromatic
#675A21 #958330 #C2AB40 #D1BF6E #E0D49D

Accessibility & contrast

On white

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

On black

9.19
#C2AB40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2AB40
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2AB40#FFFFFF#000000##000000
##C2AB401.002.289.199.19
#FFFFFF2.281.0021.0021.00
#0000009.1921.001.001.00
##0000009.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA732
Deuteranopia (green-blind)
#C2AF46
Tritanopia (blue-blind)
#D19F95
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c2ab40;
/* rgb */ color: rgb(194, 171, 64);
/* oklch */ color: oklch(74.1% 0.127 97.0);
Tailwind
colors: {
  custom: {
    50: '#d8c37a',
    500: '#c2ab40',
    950: '#000000',
  },
}
SCSS
$custom: #c2ab40;
$custom-light: #d8c37a;
$custom-dark: #000000;
JSON
{
  "hex": "#c2ab40",
  "rgb": {
    "r": 194,
    "g": 171,
    "b": 64
  },
  "hsl": {
    "h": 49.385,
    "s": 51.587,
    "l": 50.588
  },
  "oklch": {
    "l": 0.74142,
    "c": 0.12734,
    "h": 97
  },
  "luminance": 0.40965
}

Semantic roles & 50–950 ramp

primary
#C2AB40
secondary
#929CCC
accent
#66DB4D
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#15120A
muted
#83817C

Preview Lab

Preview with #C2AB40

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

Preview Lab → · Contrast checker → · Palette generator →

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