#C2A330#C2A330

#C2A330 is a light, vivid yellow. Relative luminance 0.379; OKLCH L 72.3% C 0.132 H 93.2°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#C2A330
RGBrgb(194, 163, 48)
HSLhsl(47, 60%, 47%)
HSVhsv(47, 75%, 76%)
CMYKcmyk(0%, 16%, 75.3%, 23.9%)
CIE-LABlab(67.93, -0.41, 60.19)
CIE-LCHlch(67.93, 60.19, 90.39°)
OKLaboklab(72.35% -0.0074 0.1323)
OKLCHoklch(72.35% 0.132 93.2)
XYZxyz(35.8808, 37.8792, 8.2173)
Luminance0.3788 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2A330 #304FC2
analogous
#C25A30 #C2A330 #98C230
triadic
#C2A330 #30C2A3 #A330C2
tetradic
#C2A330 #30C25A #304FC2 #C23098
square
#C2A330 #30C25A #304FC2 #C23098
split-complementary
#C2A330 #3098C2 #5A30C2
monochromatic
#605118 #917A24 #C2A330 #D6BB59 #E2CF8A

Accessibility & contrast

On white

2.45
#C2A330 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.58
#C2A330 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2A330
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2A330#FFFFFF#000000##000000
##C2A3301.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A01C
Deuteranopia (green-blind)
#BDA937
Tritanopia (blue-blind)
#D2968D
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #c2a330;
/* rgb */ color: rgb(194, 163, 48);
/* oklch */ color: oklch(72.3% 0.132 93.2);
Tailwind
colors: {
  custom: {
    50: '#d9bd71',
    500: '#c2a330',
    950: '#000000',
  },
}
SCSS
$custom: #c2a330;
$custom-light: #d9bd71;
$custom-dark: #000000;
JSON
{
  "hex": "#c2a330",
  "rgb": {
    "r": 194,
    "g": 163,
    "b": 48
  },
  "hsl": {
    "h": 47.26,
    "s": 60.331,
    "l": 47.451
  },
  "oklch": {
    "l": 0.72349,
    "c": 0.13246,
    "h": 93.2
  },
  "luminance": 0.37877
}

Semantic roles & 50–950 ramp

primary
#C2A330
secondary
#8291CC
accent
#66E344
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #C2A330

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

Preview Lab → · Contrast checker → · Palette generator →

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