#C2A633#C2A633

#C2A633 is a light, vivid yellow. Relative luminance 0.390; OKLCH L 73.0% C 0.133 H 94.9°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#C2A633
RGBrgb(194, 166, 51)
HSLhsl(48, 58%, 48%)
HSVhsv(48, 74%, 76%)
CMYKcmyk(0%, 14.4%, 73.7%, 23.9%)
CIE-LABlab(68.74, -1.88, 59.85)
CIE-LCHlch(68.74, 59.88, 91.80°)
OKLaboklab(72.99% -0.0113 0.1321)
OKLCHoklch(72.99% 0.133 94.9)
XYZxyz(36.4838, 38.9828, 8.7341)
Luminance0.3898 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2A633 #334FC2
analogous
#C25F33 #C2A633 #96C233
triadic
#C2A633 #33C2A6 #A633C2
tetradic
#C2A633 #33C25F #334FC2 #C23396
square
#C2A633 #33C25F #334FC2 #C23396
split-complementary
#C2A633 #3396C2 #5F33C2
monochromatic
#61531A #927D26 #C2A633 #D5BD5E #E1D18E

Accessibility & contrast

On white

2.39
#C2A633 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.80
#C2A633 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2A633
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2A633#FFFFFF#000000##000000
##C2A6331.002.398.808.80
#FFFFFF2.391.0021.0021.00
#0000008.8021.001.001.00
##0000008.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A320
Deuteranopia (green-blind)
#BFAB3A
Tritanopia (blue-blind)
#D2998F
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #c2a633;
/* rgb */ color: rgb(194, 166, 51);
/* oklch */ color: oklch(73.0% 0.133 94.9);
Tailwind
colors: {
  custom: {
    50: '#d8c073',
    500: '#c2a633',
    950: '#000000',
  },
}
SCSS
$custom: #c2a633;
$custom-light: #d8c073;
$custom-dark: #000000;
JSON
{
  "hex": "#c2a633",
  "rgb": {
    "r": 194,
    "g": 166,
    "b": 51
  },
  "hsl": {
    "h": 48.252,
    "s": 58.367,
    "l": 48.039
  },
  "oklch": {
    "l": 0.72993,
    "c": 0.13259,
    "h": 94.9
  },
  "luminance": 0.38981
}

Semantic roles & 50–950 ramp

primary
#C2A633
secondary
#8593CC
accent
#65E246
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #C2A633

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

Preview Lab → · Contrast checker → · Palette generator →

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