#C2A832#C2A832

#C2A832 is a light, vivid yellow. Relative luminance 0.397; OKLCH L 73.4% C 0.135 H 96.2°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#C2A832
RGBrgb(194, 168, 50)
HSLhsl(49, 59%, 48%)
HSVhsv(49, 74%, 76%)
CMYKcmyk(0%, 13.4%, 74.2%, 23.9%)
CIE-LABlab(69.26, -2.98, 60.72)
CIE-LCHlch(69.26, 60.80, 92.81°)
OKLaboklab(73.4% -0.0145 0.1338)
OKLCHoklch(73.4% 0.135 96.2)
XYZxyz(36.8284, 39.7069, 8.7413)
Luminance0.3971 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2A832 #324CC2
analogous
#C26032 #C2A832 #94C232
triadic
#C2A832 #32C2A8 #A832C2
tetradic
#C2A832 #32C260 #324CC2 #C23294
square
#C2A832 #32C260 #324CC2 #C23294
split-complementary
#C2A832 #3294C2 #6032C2
monochromatic
#615419 #917E25 #C2A832 #D5BF5C #E2D28D

Accessibility & contrast

On white

2.35
#C2A832 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.94
#C2A832 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2A832
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2A832#FFFFFF#000000##000000
##C2A8321.002.358.948.94
#FFFFFF2.351.0021.0021.00
#0000008.9421.001.001.00
##0000008.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A41D
Deuteranopia (green-blind)
#C0AD39
Tritanopia (blue-blind)
#D29B91
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #c2a832;
/* rgb */ color: rgb(194, 168, 50);
/* oklch */ color: oklch(73.4% 0.135 96.2);
Tailwind
colors: {
  custom: {
    50: '#d8c172',
    500: '#c2a832',
    950: '#000000',
  },
}
SCSS
$custom: #c2a832;
$custom-light: #d8c172;
$custom-dark: #000000;
JSON
{
  "hex": "#c2a832",
  "rgb": {
    "r": 194,
    "g": 168,
    "b": 50
  },
  "hsl": {
    "h": 49.167,
    "s": 59.016,
    "l": 47.843
  },
  "oklch": {
    "l": 0.73404,
    "c": 0.13456,
    "h": 96.2
  },
  "luminance": 0.39705
}

Semantic roles & 50–950 ramp

primary
#C2A832
secondary
#8491CC
accent
#62E246
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #C2A832

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

Preview Lab → · Contrast checker → · Palette generator →

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