#C2A438#C2A438

#C2A438 is a light, vivid yellow. Relative luminance 0.383; OKLCH L 72.6% C 0.128 H 93.1°. Best body text is #000000 at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#C2A438
RGBrgb(194, 164, 56)
HSLhsl(47, 55%, 49%)
HSVhsv(47, 71%, 76%)
CMYKcmyk(0%, 15.5%, 71.1%, 23.9%)
CIE-LABlab(68.25, -0.57, 57.41)
CIE-LCHlch(68.25, 57.41, 90.57°)
OKLaboklab(72.61% -0.007 0.1279)
OKLCHoklch(72.61% 0.128 93.1)
XYZxyz(36.2393, 38.3078, 9.2260)
Luminance0.3831 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2A438 #3856C2
analogous
#C25F38 #C2A438 #9BC238
triadic
#C2A438 #38C2A4 #A438C2
tetradic
#C2A438 #38C25F #3856C2 #C2389B
square
#C2A438 #38C25F #3856C2 #C2389B
split-complementary
#C2A438 #389BC2 #5F38C2
monochromatic
#63541D #937C2A #C2A438 #D2BB65 #E0D094

Accessibility & contrast

On white

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

On black

8.66
#C2A438 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2A438
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2A438#FFFFFF#000000##000000
##C2A4381.002.428.668.66
#FFFFFF2.421.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A128
Deuteranopia (green-blind)
#BDAA3E
Tritanopia (blue-blind)
#D2978E
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #c2a438;
/* rgb */ color: rgb(194, 164, 56);
/* oklch */ color: oklch(72.6% 0.128 93.1);
Tailwind
colors: {
  custom: {
    50: '#d8be75',
    500: '#c2a438',
    950: '#000000',
  },
}
SCSS
$custom: #c2a438;
$custom-light: #d8be75;
$custom-dark: #000000;
JSON
{
  "hex": "#c2a438",
  "rgb": {
    "r": 194,
    "g": 164,
    "b": 56
  },
  "hsl": {
    "h": 46.957,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.72615,
    "c": 0.12808,
    "h": 93.1
  },
  "luminance": 0.38306
}

Semantic roles & 50–950 ramp

primary
#C2A438
secondary
#8A99CB
accent
#6ADF49
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C2A438

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

Preview Lab → · Contrast checker → · Palette generator →

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