#C2A231#C2A231

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

Color values

HEX#C2A231
RGBrgb(194, 162, 49)
HSLhsl(47, 60%, 48%)
HSVhsv(47, 75%, 76%)
CMYKcmyk(0%, 16.5%, 74.7%, 23.9%)
CIE-LABlab(67.68, 0.17, 59.58)
CIE-LCHlch(67.68, 59.58, 89.84°)
OKLaboklab(72.15% -0.0057 0.1311)
OKLCHoklch(72.15% 0.131 92.5)
XYZxyz(35.7248, 37.5339, 8.2682)
Luminance0.3753 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2A231 #3151C2
analogous
#C25A31 #C2A231 #99C231
triadic
#C2A231 #31C2A2 #A231C2
tetradic
#C2A231 #31C25A #3151C2 #C23199
square
#C2A231 #31C25A #3151C2 #C23199
split-complementary
#C2A231 #3199C2 #5A31C2
monochromatic
#605018 #917925 #C2A231 #D6BA5B #E2CF8C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2A231#FFFFFF#000000##000000
##C2A2311.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)
#B49F1E
Deuteranopia (green-blind)
#BCA938
Tritanopia (blue-blind)
#D2958C
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #c2a231;
/* rgb */ color: rgb(194, 162, 49);
/* oklch */ color: oklch(72.1% 0.131 92.5);
Tailwind
colors: {
  custom: {
    50: '#d9bd71',
    500: '#c2a231',
    950: '#000000',
  },
}
SCSS
$custom: #c2a231;
$custom-light: #d9bd71;
$custom-dark: #000000;
JSON
{
  "hex": "#c2a231",
  "rgb": {
    "r": 194,
    "g": 162,
    "b": 49
  },
  "hsl": {
    "h": 46.759,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.72149,
    "c": 0.13126,
    "h": 92.5
  },
  "luminance": 0.37532
}

Semantic roles & 50–950 ramp

primary
#C2A231
secondary
#8393CC
accent
#68E345
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #C2A231

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

Preview Lab → · Contrast checker → · Palette generator →

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