#C2A233#C2A233

#C2A233 is a light, vivid yellow. Relative luminance 0.375; OKLCH L 72.2% C 0.130 H 92.3°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#C2A233
RGBrgb(194, 162, 51)
HSLhsl(47, 58%, 48%)
HSVhsv(47, 74%, 76%)
CMYKcmyk(0%, 16.5%, 73.7%, 23.9%)
CIE-LABlab(67.69, 0.26, 58.83)
CIE-LCHlch(67.69, 58.83, 89.75°)
OKLaboklab(72.16% -0.0052 0.13)
OKLCHoklch(72.16% 0.13 92.3)
XYZxyz(35.7680, 37.5511, 8.4955)
Luminance0.3755 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2A233 #3353C2
analogous
#C25A33 #C2A233 #9BC233
triadic
#C2A233 #33C2A2 #A233C2
tetradic
#C2A233 #33C25A #3353C2 #C2339B
square
#C2A233 #33C25A #3353C2 #C2339B
split-complementary
#C2A233 #339BC2 #5A33C2
monochromatic
#61511A #927A26 #C2A233 #D5BA5E #E1CF8E

Accessibility & contrast

On white

2.47
#C2A233 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.51
#C2A233 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2A233
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2A233#FFFFFF#000000##000000
##C2A2331.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A021
Deuteranopia (green-blind)
#BCA939
Tritanopia (blue-blind)
#D2958C
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #c2a233;
/* rgb */ color: rgb(194, 162, 51);
/* oklch */ color: oklch(72.2% 0.130 92.3);
Tailwind
colors: {
  custom: {
    50: '#d9bd72',
    500: '#c2a233',
    950: '#000000',
  },
}
SCSS
$custom: #c2a233;
$custom-light: #d9bd72;
$custom-dark: #000000;
JSON
{
  "hex": "#c2a233",
  "rgb": {
    "r": 194,
    "g": 162,
    "b": 51
  },
  "hsl": {
    "h": 46.573,
    "s": 58.367,
    "l": 48.039
  },
  "oklch": {
    "l": 0.72163,
    "c": 0.13005,
    "h": 92.3
  },
  "luminance": 0.37549
}

Semantic roles & 50–950 ramp

primary
#C2A233
secondary
#8595CC
accent
#69E246
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #C2A233

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

Preview Lab → · Contrast checker → · Palette generator →

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