#C2A240#C2A240

#C2A240 is a light, vivid yellow. Relative luminance 0.377; OKLCH L 72.3% C 0.121 H 90.8°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#C2A240
RGBrgb(194, 162, 64)
HSLhsl(45, 52%, 51%)
HSVhsv(45, 67%, 76%)
CMYKcmyk(0%, 16.5%, 67%, 23.9%)
CIE-LABlab(67.79, 0.94, 53.56)
CIE-LCHlch(67.79, 53.57, 89.00°)
OKLaboklab(72.27% -0.0017 0.1211)
OKLCHoklch(72.27% 0.121 90.8)
XYZxyz(36.0957, 37.6822, 10.2217)
Luminance0.3768 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2A240 #4060C2
analogous
#C26140 #C2A240 #A1C240
triadic
#C2A240 #40C2A2 #A240C2
tetradic
#C2A240 #40C261 #4060C2 #C240A1
square
#C2A240 #40C261 #4060C2 #C240A1
split-complementary
#C2A240 #40A1C2 #6140C2
monochromatic
#675621 #957C30 #C2A240 #D1B96E #E0CF9D

Accessibility & contrast

On white

2.46
#C2A240 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.54
#C2A240 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2A240
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2A240#FFFFFF#000000##000000
##C2A2401.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A034
Deuteranopia (green-blind)
#BBA945
Tritanopia (blue-blind)
#D1958D
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #c2a240;
/* rgb */ color: rgb(194, 162, 64);
/* oklch */ color: oklch(72.3% 0.121 90.8);
Tailwind
colors: {
  custom: {
    50: '#d8bd7a',
    500: '#c2a240',
    950: '#000000',
  },
}
SCSS
$custom: #c2a240;
$custom-light: #d8bd7a;
$custom-dark: #000000;
JSON
{
  "hex": "#c2a240",
  "rgb": {
    "r": 194,
    "g": 162,
    "b": 64
  },
  "hsl": {
    "h": 45.231,
    "s": 51.587,
    "l": 50.588
  },
  "oklch": {
    "l": 0.72271,
    "c": 0.12115,
    "h": 90.8
  },
  "luminance": 0.3768
}

Semantic roles & 50–950 ramp

primary
#C2A240
secondary
#92A0CC
accent
#70DB4D
background
#FDFBF7
surface
#FBF6EE
border
#D4D0C9
text
#151209
muted
#83817B

Preview Lab

Preview with #C2A240

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

Preview Lab → · Contrast checker → · Palette generator →

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