#C2A333#C2A333

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

Color values

HEX#C2A333
RGBrgb(194, 163, 51)
HSLhsl(47, 58%, 48%)
HSVhsv(47, 74%, 76%)
CMYKcmyk(0%, 16%, 73.7%, 23.9%)
CIE-LABlab(67.95, -0.28, 59.08)
CIE-LCHlch(67.95, 59.08, 90.27°)
OKLaboklab(72.37% -0.0067 0.1305)
OKLCHoklch(72.37% 0.131 92.9)
XYZxyz(35.9448, 37.9048, 8.5544)
Luminance0.3790 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2A333 #3352C2
analogous
#C25B33 #C2A333 #99C233
triadic
#C2A333 #33C2A3 #A333C2
tetradic
#C2A333 #33C25B #3352C2 #C23399
square
#C2A333 #33C25B #3352C2 #C23399
split-complementary
#C2A333 #3399C2 #5B33C2
monochromatic
#61521A #927A26 #C2A333 #D5BB5E #E1CF8E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2A333#FFFFFF#000000##000000
##C2A3331.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)
#B5A021
Deuteranopia (green-blind)
#BCA939
Tritanopia (blue-blind)
#D2968D
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #c2a333;
/* rgb */ color: rgb(194, 163, 51);
/* oklch */ color: oklch(72.4% 0.131 92.9);
Tailwind
colors: {
  custom: {
    50: '#d8bd72',
    500: '#c2a333',
    950: '#000000',
  },
}
SCSS
$custom: #c2a333;
$custom-light: #d8bd72;
$custom-dark: #000000;
JSON
{
  "hex": "#c2a333",
  "rgb": {
    "r": 194,
    "g": 163,
    "b": 51
  },
  "hsl": {
    "h": 46.993,
    "s": 58.367,
    "l": 48.039
  },
  "oklch": {
    "l": 0.7237,
    "c": 0.13066,
    "h": 92.9
  },
  "luminance": 0.37903
}

Semantic roles & 50–950 ramp

primary
#C2A333
secondary
#8594CC
accent
#68E246
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #C2A333

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

Preview Lab → · Contrast checker → · Palette generator →

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