#C2A442#C2A442

#C2A442 is a light, vivid yellow. Relative luminance 0.384; OKLCH L 72.7% C 0.121 H 92.0°. Best body text is #000000 at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#C2A442
RGBrgb(194, 164, 66)
HSLhsl(46, 51%, 51%)
HSVhsv(46, 66%, 76%)
CMYKcmyk(0%, 15.5%, 66%, 23.9%)
CIE-LABlab(68.33, -0.01, 53.25)
CIE-LCHlch(68.33, 53.25, 90.01°)
OKLaboklab(72.7% -0.0042 0.1208)
OKLCHoklch(72.7% 0.121 92)
XYZxyz(36.5088, 38.4156, 10.6452)
Luminance0.3841 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2A442 #4260C2
analogous
#C26442 #C2A442 #A0C242
triadic
#C2A442 #42C2A4 #A442C2
tetradic
#C2A442 #42C264 #4260C2 #C242A0
square
#C2A442 #42C264 #4260C2 #C242A0
split-complementary
#C2A442 #42A0C2 #6442C2
monochromatic
#685822 #967E31 #C2A442 #D1BA70 #E0D19F

Accessibility & contrast

On white

2.42
#C2A442 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.68
#C2A442 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2A442
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2A442#FFFFFF#000000##000000
##C2A4421.002.428.688.68
#FFFFFF2.421.0021.0021.00
#0000008.6821.001.001.00
##0000008.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A236
Deuteranopia (green-blind)
#BCAA47
Tritanopia (blue-blind)
#D1978F
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #c2a442;
/* rgb */ color: rgb(194, 164, 66);
/* oklch */ color: oklch(72.7% 0.121 92.0);
Tailwind
colors: {
  custom: {
    50: '#d8be7b',
    500: '#c2a442',
    950: '#000000',
  },
}
SCSS
$custom: #c2a442;
$custom-light: #d8be7b;
$custom-dark: #000000;
JSON
{
  "hex": "#c2a442",
  "rgb": {
    "r": 194,
    "g": 164,
    "b": 66
  },
  "hsl": {
    "h": 45.938,
    "s": 51.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.72703,
    "c": 0.12088,
    "h": 92
  },
  "luminance": 0.38414
}

Semantic roles & 50–950 ramp

primary
#C2A442
secondary
#94A1CC
accent
#6EDB4D
background
#FDFBF7
surface
#FBF6EE
border
#D4D0C9
text
#15120A
muted
#83817C

Preview Lab

Preview with #C2A442

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

Preview Lab → · Contrast checker → · Palette generator →

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