#C2A235#C2A235

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

Color values

HEX#C2A235
RGBrgb(194, 162, 53)
HSLhsl(46, 57%, 48%)
HSVhsv(46, 73%, 76%)
CMYKcmyk(0%, 16.5%, 72.7%, 23.9%)
CIE-LABlab(67.70, 0.35, 58.06)
CIE-LCHlch(67.70, 58.06, 89.65°)
OKLaboklab(72.18% -0.0047 0.1287)
OKLCHoklch(72.18% 0.129 92.1)
XYZxyz(35.8130, 37.5692, 8.7327)
Luminance0.3757 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2A235 #3555C2
analogous
#C25B35 #C2A235 #9BC235
triadic
#C2A235 #35C2A2 #A235C2
tetradic
#C2A235 #35C25B #3555C2 #C2359B
square
#C2A235 #35C25B #3555C2 #C2359B
split-complementary
#C2A235 #359BC2 #5B35C2
monochromatic
#62521B #927A28 #C2A235 #D4BA60 #E1CF91

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2A235#FFFFFF#000000##000000
##C2A2351.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)
#B4A024
Deuteranopia (green-blind)
#BCA93B
Tritanopia (blue-blind)
#D2958C
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #c2a235;
/* rgb */ color: rgb(194, 162, 53);
/* oklch */ color: oklch(72.2% 0.129 92.1);
Tailwind
colors: {
  custom: {
    50: '#d8bd73',
    500: '#c2a235',
    950: '#000000',
  },
}
SCSS
$custom: #c2a235;
$custom-light: #d8bd73;
$custom-dark: #000000;
JSON
{
  "hex": "#c2a235",
  "rgb": {
    "r": 194,
    "g": 162,
    "b": 53
  },
  "hsl": {
    "h": 46.383,
    "s": 57.085,
    "l": 48.431
  },
  "oklch": {
    "l": 0.72178,
    "c": 0.1288,
    "h": 92.1
  },
  "luminance": 0.37567
}

Semantic roles & 50–950 ramp

primary
#C2A235
secondary
#8797CC
accent
#6AE047
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #C2A235

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

Preview Lab → · Contrast checker → · Palette generator →

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