#C2AB33#C2AB33

#C2AB33 is a light, vivid yellow. Relative luminance 0.408; OKLCH L 74.0% C 0.136 H 97.9°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#C2AB33
RGBrgb(194, 171, 51)
HSLhsl(50, 58%, 48%)
HSVhsv(50, 74%, 76%)
CMYKcmyk(0%, 11.9%, 73.7%, 23.9%)
CIE-LABlab(70.06, -4.52, 61.12)
CIE-LCHlch(70.06, 61.29, 94.23°)
OKLaboklab(74.04% -0.0188 0.1348)
OKLCHoklch(74.04% 0.136 97.9)
XYZxyz(37.4104, 40.8361, 9.0430)
Luminance0.4083 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2AB33 #334AC2
analogous
#C26433 #C2AB33 #91C233
triadic
#C2AB33 #33C2AB #AB33C2
tetradic
#C2AB33 #33C264 #334AC2 #C23391
square
#C2AB33 #33C264 #334AC2 #C23391
split-complementary
#C2AB33 #3391C2 #6433C2
monochromatic
#61561A #928026 #C2AB33 #D5C15E #E1D48E

Accessibility & contrast

On white

2.29
#C2AB33 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.17
#C2AB33 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2AB33
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2AB33#FFFFFF#000000##000000
##C2AB331.002.299.179.17
#FFFFFF2.291.0021.0021.00
#0000009.1721.001.001.00
##0000009.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA71E
Deuteranopia (green-blind)
#C2AF3B
Tritanopia (blue-blind)
#D19E94
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c2ab33;
/* rgb */ color: rgb(194, 171, 51);
/* oklch */ color: oklch(74.0% 0.136 97.9);
Tailwind
colors: {
  custom: {
    50: '#d8c373',
    500: '#c2ab33',
    950: '#000000',
  },
}
SCSS
$custom: #c2ab33;
$custom-light: #d8c373;
$custom-dark: #000000;
JSON
{
  "hex": "#c2ab33",
  "rgb": {
    "r": 194,
    "g": 171,
    "b": 51
  },
  "hsl": {
    "h": 50.35,
    "s": 58.367,
    "l": 48.039
  },
  "oklch": {
    "l": 0.7404,
    "c": 0.13612,
    "h": 97.9
  },
  "luminance": 0.40834
}

Semantic roles & 50–950 ramp

primary
#C2AB33
secondary
#8590CC
accent
#5FE246
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C2AB33

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

Preview Lab → · Contrast checker → · Palette generator →

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