#C2A030#C2A030

#C2A030 is a light, vivid yellow. Relative luminance 0.368; OKLCH L 71.7% C 0.131 H 91.2°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#C2A030
RGBrgb(194, 160, 48)
HSLhsl(46, 60%, 47%)
HSVhsv(46, 75%, 76%)
CMYKcmyk(0%, 17.5%, 75.3%, 23.9%)
CIE-LABlab(67.15, 1.20, 59.44)
CIE-LCHlch(67.15, 59.46, 88.85°)
OKLaboklab(71.73% -0.0028 0.1307)
OKLCHoklch(71.73% 0.131 91.2)
XYZxyz(35.3545, 36.8265, 8.0418)
Luminance0.3682 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2A030 #3052C2
analogous
#C25730 #C2A030 #9BC230
triadic
#C2A030 #30C2A0 #A030C2
tetradic
#C2A030 #30C257 #3052C2 #C2309B
square
#C2A030 #30C257 #3052C2 #C2309B
split-complementary
#C2A030 #309BC2 #5730C2
monochromatic
#604F18 #917824 #C2A030 #D6B959 #E2CE8A

Accessibility & contrast

On white

2.51
#C2A030 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.36
#C2A030 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2A030
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2A030#FFFFFF#000000##000000
##C2A0301.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E1D
Deuteranopia (green-blind)
#BAA736
Tritanopia (blue-blind)
#D2928A
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #c2a030;
/* rgb */ color: rgb(194, 160, 48);
/* oklch */ color: oklch(71.7% 0.131 91.2);
Tailwind
colors: {
  custom: {
    50: '#d9bb70',
    500: '#c2a030',
    950: '#000000',
  },
}
SCSS
$custom: #c2a030;
$custom-light: #d9bb70;
$custom-dark: #000000;
JSON
{
  "hex": "#c2a030",
  "rgb": {
    "r": 194,
    "g": 160,
    "b": 48
  },
  "hsl": {
    "h": 46.027,
    "s": 60.331,
    "l": 47.451
  },
  "oklch": {
    "l": 0.7173,
    "c": 0.13069,
    "h": 91.2
  },
  "luminance": 0.36824
}

Semantic roles & 50–950 ramp

primary
#C2A030
secondary
#8293CC
accent
#69E344
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #C2A030

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

Preview Lab → · Contrast checker → · Palette generator →

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