#C2AB35#C2AB35

#C2AB35 is a light, vivid yellow. Relative luminance 0.409; OKLCH L 74.1% C 0.135 H 97.8°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#C2AB35
RGBrgb(194, 171, 53)
HSLhsl(50, 57%, 48%)
HSVhsv(50, 73%, 76%)
CMYKcmyk(0%, 11.9%, 72.7%, 23.9%)
CIE-LABlab(70.07, -4.43, 60.39)
CIE-LCHlch(70.07, 60.55, 94.20°)
OKLaboklab(74.05% -0.0184 0.1336)
OKLCHoklch(74.05% 0.135 97.8)
XYZxyz(37.4555, 40.8541, 9.2802)
Luminance0.4085 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2AB35 #354CC2
analogous
#C26435 #C2AB35 #92C235
triadic
#C2AB35 #35C2AB #AB35C2
tetradic
#C2AB35 #35C264 #354CC2 #C23592
square
#C2AB35 #35C264 #354CC2 #C23592
split-complementary
#C2AB35 #3592C2 #6435C2
monochromatic
#62561B #928128 #C2AB35 #D4C160 #E1D491

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2AB35#FFFFFF#000000##000000
##C2AB351.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)
#BCA722
Deuteranopia (green-blind)
#C2AF3C
Tritanopia (blue-blind)
#D19E94
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c2ab35;
/* rgb */ color: rgb(194, 171, 53);
/* oklch */ color: oklch(74.1% 0.135 97.8);
Tailwind
colors: {
  custom: {
    50: '#d8c374',
    500: '#c2ab35',
    950: '#000000',
  },
}
SCSS
$custom: #c2ab35;
$custom-light: #d8c374;
$custom-dark: #000000;
JSON
{
  "hex": "#c2ab35",
  "rgb": {
    "r": 194,
    "g": 171,
    "b": 53
  },
  "hsl": {
    "h": 50.213,
    "s": 57.085,
    "l": 48.431
  },
  "oklch": {
    "l": 0.74054,
    "c": 0.13489,
    "h": 97.8
  },
  "luminance": 0.40852
}

Semantic roles & 50–950 ramp

primary
#C2AB35
secondary
#8792CC
accent
#60E047
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C2AB35

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

Preview Lab → · Contrast checker → · Palette generator →

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