#C2A738#C2A738

#C2A738 is a light, vivid yellow. Relative luminance 0.394; OKLCH L 73.2% C 0.130 H 95.1°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#C2A738
RGBrgb(194, 167, 56)
HSLhsl(48, 55%, 49%)
HSVhsv(48, 71%, 76%)
CMYKcmyk(0%, 13.9%, 71.1%, 23.9%)
CIE-LABlab(69.04, -2.17, 58.20)
CIE-LCHlch(69.04, 58.24, 92.13°)
OKLaboklab(73.24% -0.0116 0.1296)
OKLCHoklch(73.24% 0.13 95.1)
XYZxyz(36.7825, 39.3943, 9.4070)
Luminance0.3939 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2A738 #3853C2
analogous
#C26238 #C2A738 #98C238
triadic
#C2A738 #38C2A7 #A738C2
tetradic
#C2A738 #38C262 #3853C2 #C23898
square
#C2A738 #38C262 #3853C2 #C23898
split-complementary
#C2A738 #3898C2 #6238C2
monochromatic
#63551D #937E2A #C2A738 #D2BD65 #E0D194

Accessibility & contrast

On white

2.37
#C2A738 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.88
#C2A738 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2A738
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2A738#FFFFFF#000000##000000
##C2A7381.002.378.888.88
#FFFFFF2.371.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A428
Deuteranopia (green-blind)
#BFAC3E
Tritanopia (blue-blind)
#D19A91
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #c2a738;
/* rgb */ color: rgb(194, 167, 56);
/* oklch */ color: oklch(73.2% 0.130 95.1);
Tailwind
colors: {
  custom: {
    50: '#d8c075',
    500: '#c2a738',
    950: '#000000',
  },
}
SCSS
$custom: #c2a738;
$custom-light: #d8c075;
$custom-dark: #000000;
JSON
{
  "hex": "#c2a738",
  "rgb": {
    "r": 194,
    "g": 167,
    "b": 56
  },
  "hsl": {
    "h": 48.261,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.73239,
    "c": 0.13008,
    "h": 95.1
  },
  "luminance": 0.39392
}

Semantic roles & 50–950 ramp

primary
#C2A738
secondary
#8A97CB
accent
#66DF49
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C2A738

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

Preview Lab → · Contrast checker → · Palette generator →

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