#C2A630#C2A630

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

Color values

HEX#C2A630
RGBrgb(194, 166, 48)
HSLhsl(48, 60%, 47%)
HSVhsv(48, 75%, 76%)
CMYKcmyk(0%, 14.4%, 75.3%, 23.9%)
CIE-LABlab(68.72, -2.01, 60.94)
CIE-LCHlch(68.72, 60.97, 91.89°)
OKLaboklab(72.97% -0.012 0.1338)
OKLCHoklch(72.97% 0.134 95.1)
XYZxyz(36.4198, 38.9572, 8.3969)
Luminance0.3896 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2A630 #304CC2
analogous
#C25D30 #C2A630 #95C230
triadic
#C2A630 #30C2A6 #A630C2
tetradic
#C2A630 #30C25D #304CC2 #C23095
square
#C2A630 #30C25D #304CC2 #C23095
split-complementary
#C2A630 #3095C2 #5D30C2
monochromatic
#605218 #917C24 #C2A630 #D6BE59 #E2D18A

Accessibility & contrast

On white

2.39
#C2A630 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.79
#C2A630 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2A630
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2A630#FFFFFF#000000##000000
##C2A6301.002.398.798.79
#FFFFFF2.391.0021.0021.00
#0000008.7921.001.001.00
##0000008.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A31B
Deuteranopia (green-blind)
#BFAB37
Tritanopia (blue-blind)
#D2998F
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #c2a630;
/* rgb */ color: rgb(194, 166, 48);
/* oklch */ color: oklch(73.0% 0.134 95.1);
Tailwind
colors: {
  custom: {
    50: '#d9c071',
    500: '#c2a630',
    950: '#000000',
  },
}
SCSS
$custom: #c2a630;
$custom-light: #d9c071;
$custom-dark: #000000;
JSON
{
  "hex": "#c2a630",
  "rgb": {
    "r": 194,
    "g": 166,
    "b": 48
  },
  "hsl": {
    "h": 48.493,
    "s": 60.331,
    "l": 47.451
  },
  "oklch": {
    "l": 0.72972,
    "c": 0.13438,
    "h": 95.1
  },
  "luminance": 0.38955
}

Semantic roles & 50–950 ramp

primary
#C2A630
secondary
#8290CC
accent
#63E344
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #C2A630

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

Preview Lab → · Contrast checker → · Palette generator →

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