#C2AB34#C2AB34

#C2AB34 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#C2AB34
RGBrgb(194, 171, 52)
HSLhsl(50, 58%, 48%)
HSVhsv(50, 73%, 76%)
CMYKcmyk(0%, 11.9%, 73.2%, 23.9%)
CIE-LABlab(70.07, -4.48, 60.76)
CIE-LCHlch(70.07, 60.92, 94.22°)
OKLaboklab(74.05% -0.0186 0.1342)
OKLCHoklch(74.05% 0.136 97.9)
XYZxyz(37.4327, 40.8450, 9.1603)
Luminance0.4084 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2AB34 #344BC2
analogous
#C26434 #C2AB34 #92C234
triadic
#C2AB34 #34C2AB #AB34C2
tetradic
#C2AB34 #34C264 #344BC2 #C23492
square
#C2AB34 #34C264 #344BC2 #C23492
split-complementary
#C2AB34 #3492C2 #6434C2
monochromatic
#61561A #928027 #C2AB34 #D4C15F #E1D48F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2AB34#FFFFFF#000000##000000
##C2AB341.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)
#BCA720
Deuteranopia (green-blind)
#C2AF3B
Tritanopia (blue-blind)
#D19E94
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c2ab34;
/* rgb */ color: rgb(194, 171, 52);
/* oklch */ color: oklch(74.0% 0.136 97.9);
Tailwind
colors: {
  custom: {
    50: '#d8c374',
    500: '#c2ab34',
    950: '#000000',
  },
}
SCSS
$custom: #c2ab34;
$custom-light: #d8c374;
$custom-dark: #000000;
JSON
{
  "hex": "#c2ab34",
  "rgb": {
    "r": 194,
    "g": 171,
    "b": 52
  },
  "hsl": {
    "h": 50.282,
    "s": 57.724,
    "l": 48.235
  },
  "oklch": {
    "l": 0.74047,
    "c": 0.13551,
    "h": 97.9
  },
  "luminance": 0.40843
}

Semantic roles & 50–950 ramp

primary
#C2AB34
secondary
#8691CC
accent
#60E147
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C2AB34

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

Preview Lab → · Contrast checker → · Palette generator →

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