#C2A841#C2A841

#C2A841 is a light, vivid yellow. Relative luminance 0.399; OKLCH L 73.5% C 0.124 H 94.9°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#C2A841
RGBrgb(194, 168, 65)
HSLhsl(48, 51%, 51%)
HSVhsv(48, 66%, 76%)
CMYKcmyk(0%, 13.4%, 66.5%, 23.9%)
CIE-LABlab(69.37, -2.21, 54.80)
CIE-LCHlch(69.37, 54.84, 92.31°)
OKLaboklab(73.52% -0.0106 0.1239)
OKLCHoklch(73.52% 0.124 94.9)
XYZxyz(37.2067, 39.8582, 10.7336)
Luminance0.3986 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2A841 #415BC2
analogous
#C26741 #C2A841 #9BC241
triadic
#C2A841 #41C2A8 #A841C2
tetradic
#C2A841 #41C267 #415BC2 #C2419B
square
#C2A841 #41C267 #415BC2 #C2419B
split-complementary
#C2A841 #419BC2 #6741C2
monochromatic
#675921 #968130 #C2A841 #D1BD6F #E0D29E

Accessibility & contrast

On white

2.34
#C2A841 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.97
#C2A841 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2A841
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2A841#FFFFFF#000000##000000
##C2A8411.002.348.978.97
#FFFFFF2.341.0021.0021.00
#0000008.9721.001.001.00
##0000008.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A534
Deuteranopia (green-blind)
#BFAD46
Tritanopia (blue-blind)
#D19B92
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #c2a841;
/* rgb */ color: rgb(194, 168, 65);
/* oklch */ color: oklch(73.5% 0.124 94.9);
Tailwind
colors: {
  custom: {
    50: '#d8c17b',
    500: '#c2a841',
    950: '#000000',
  },
}
SCSS
$custom: #c2a841;
$custom-light: #d8c17b;
$custom-dark: #000000;
JSON
{
  "hex": "#c2a841",
  "rgb": {
    "r": 194,
    "g": 168,
    "b": 65
  },
  "hsl": {
    "h": 47.907,
    "s": 51.394,
    "l": 50.784
  },
  "oklch": {
    "l": 0.73524,
    "c": 0.12438,
    "h": 94.9
  },
  "luminance": 0.39856
}

Semantic roles & 50–950 ramp

primary
#C2A841
secondary
#939ECC
accent
#6ADB4D
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#15120A
muted
#83817C

Preview Lab

Preview with #C2A841

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

Preview Lab → · Contrast checker → · Palette generator →

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