#C2A835#C2A835

#C2A835 is a light, vivid yellow. Relative luminance 0.397; OKLCH L 73.4% C 0.133 H 96.0°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#C2A835
RGBrgb(194, 168, 53)
HSLhsl(49, 57%, 48%)
HSVhsv(49, 73%, 76%)
CMYKcmyk(0%, 13.4%, 72.7%, 23.9%)
CIE-LABlab(69.28, -2.85, 59.61)
CIE-LCHlch(69.28, 59.68, 92.73°)
OKLaboklab(73.43% -0.0138 0.132)
OKLCHoklch(73.43% 0.133 96)
XYZxyz(36.8953, 39.7336, 9.0935)
Luminance0.3973 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2A835 #354FC2
analogous
#C26135 #C2A835 #95C235
triadic
#C2A835 #35C2A8 #A835C2
tetradic
#C2A835 #35C261 #354FC2 #C23595
square
#C2A835 #35C261 #354FC2 #C23595
split-complementary
#C2A835 #3595C2 #6135C2
monochromatic
#62551B #927E28 #C2A835 #D4BE60 #E1D291

Accessibility & contrast

On white

2.35
#C2A835 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.95
#C2A835 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2A835
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2A835#FFFFFF#000000##000000
##C2A8351.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A423
Deuteranopia (green-blind)
#C0AD3C
Tritanopia (blue-blind)
#D19B91
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #c2a835;
/* rgb */ color: rgb(194, 168, 53);
/* oklch */ color: oklch(73.4% 0.133 96.0);
Tailwind
colors: {
  custom: {
    50: '#d8c174',
    500: '#c2a835',
    950: '#000000',
  },
}
SCSS
$custom: #c2a835;
$custom-light: #d8c174;
$custom-dark: #000000;
JSON
{
  "hex": "#c2a835",
  "rgb": {
    "r": 194,
    "g": 168,
    "b": 53
  },
  "hsl": {
    "h": 48.936,
    "s": 57.085,
    "l": 48.431
  },
  "oklch": {
    "l": 0.73425,
    "c": 0.13271,
    "h": 96
  },
  "luminance": 0.39732
}

Semantic roles & 50–950 ramp

primary
#C2A835
secondary
#8794CC
accent
#64E047
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C2A835

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

Preview Lab → · Contrast checker → · Palette generator →

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