#C2A733#C2A733

#C2A733 is a light, vivid yellow. Relative luminance 0.393; OKLCH L 73.2% C 0.133 H 95.5°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#C2A733
RGBrgb(194, 167, 51)
HSLhsl(49, 58%, 48%)
HSVhsv(49, 74%, 76%)
CMYKcmyk(0%, 13.9%, 73.7%, 23.9%)
CIE-LABlab(69.00, -2.41, 60.10)
CIE-LCHlch(69.00, 60.15, 92.29°)
OKLaboklab(73.2% -0.0128 0.1327)
OKLCHoklch(73.2% 0.133 95.5)
XYZxyz(36.6663, 39.3478, 8.7949)
Luminance0.3935 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2A733 #334EC2
analogous
#C25F33 #C2A733 #95C233
triadic
#C2A733 #33C2A7 #A733C2
tetradic
#C2A733 #33C25F #334EC2 #C23395
square
#C2A733 #33C25F #334EC2 #C23395
split-complementary
#C2A733 #3395C2 #5F33C2
monochromatic
#61541A #927D26 #C2A733 #D5BE5E #E1D28E

Accessibility & contrast

On white

2.37
#C2A733 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.87
#C2A733 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2A733
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2A733#FFFFFF#000000##000000
##C2A7331.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A420
Deuteranopia (green-blind)
#BFAC3A
Tritanopia (blue-blind)
#D29A90
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #c2a733;
/* rgb */ color: rgb(194, 167, 51);
/* oklch */ color: oklch(73.2% 0.133 95.5);
Tailwind
colors: {
  custom: {
    50: '#d8c073',
    500: '#c2a733',
    950: '#000000',
  },
}
SCSS
$custom: #c2a733;
$custom-light: #d8c073;
$custom-dark: #000000;
JSON
{
  "hex": "#c2a733",
  "rgb": {
    "r": 194,
    "g": 167,
    "b": 51
  },
  "hsl": {
    "h": 48.671,
    "s": 58.367,
    "l": 48.039
  },
  "oklch": {
    "l": 0.73202,
    "c": 0.13327,
    "h": 95.5
  },
  "luminance": 0.39346
}

Semantic roles & 50–950 ramp

primary
#C2A733
secondary
#8592CC
accent
#64E246
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #C2A733

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

Preview Lab → · Contrast checker → · Palette generator →

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