#C2A638#C2A638

#C2A638 is a light, vivid yellow. Relative luminance 0.390; OKLCH L 73.0% C 0.129 H 94.5°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#C2A638
RGBrgb(194, 166, 56)
HSLhsl(48, 55%, 49%)
HSVhsv(48, 71%, 76%)
CMYKcmyk(0%, 14.4%, 71.1%, 23.9%)
CIE-LABlab(68.77, -1.64, 57.94)
CIE-LCHlch(68.77, 57.96, 91.62°)
OKLaboklab(73.03% -0.01 0.129)
OKLCHoklch(73.03% 0.129 94.5)
XYZxyz(36.6000, 39.0293, 9.3462)
Luminance0.3903 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2A638 #3854C2
analogous
#C26138 #C2A638 #99C238
triadic
#C2A638 #38C2A6 #A638C2
tetradic
#C2A638 #38C261 #3854C2 #C23899
square
#C2A638 #38C261 #3854C2 #C23899
split-complementary
#C2A638 #3899C2 #6138C2
monochromatic
#63551D #937D2A #C2A638 #D2BC65 #E0D194

Accessibility & contrast

On white

2.38
#C2A638 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.81
#C2A638 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2A638
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2A638#FFFFFF#000000##000000
##C2A6381.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A328
Deuteranopia (green-blind)
#BEAB3E
Tritanopia (blue-blind)
#D19990
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #c2a638;
/* rgb */ color: rgb(194, 166, 56);
/* oklch */ color: oklch(73.0% 0.129 94.5);
Tailwind
colors: {
  custom: {
    50: '#d8c075',
    500: '#c2a638',
    950: '#000000',
  },
}
SCSS
$custom: #c2a638;
$custom-light: #d8c075;
$custom-dark: #000000;
JSON
{
  "hex": "#c2a638",
  "rgb": {
    "r": 194,
    "g": 166,
    "b": 56
  },
  "hsl": {
    "h": 47.826,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.7303,
    "c": 0.12939,
    "h": 94.5
  },
  "luminance": 0.39027
}

Semantic roles & 50–950 ramp

primary
#C2A638
secondary
#8A98CB
accent
#68DF49
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C2A638

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

Preview Lab → · Contrast checker → · Palette generator →

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