#C2AF30#C2AF30

#C2AF30 is a light, vivid yellow. Relative luminance 0.423; OKLCH L 74.9% C 0.141 H 100.4°. Best body text is #000000 at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#C2AF30
RGBrgb(194, 175, 48)
HSLhsl(52, 60%, 47%)
HSVhsv(52, 75%, 76%)
CMYKcmyk(0%, 9.8%, 75.3%, 23.9%)
CIE-LABlab(71.11, -6.76, 63.19)
CIE-LCHlch(71.11, 63.55, 96.10°)
OKLaboklab(74.86% -0.0254 0.1386)
OKLCHoklch(74.86% 0.141 100.4)
XYZxyz(38.1134, 42.3445, 8.9615)
Luminance0.4234 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2AF30 #3043C2
analogous
#C26630 #C2AF30 #8CC230
triadic
#C2AF30 #30C2AF #AF30C2
tetradic
#C2AF30 #30C266 #3043C2 #C2308C
square
#C2AF30 #30C266 #3043C2 #C2308C
split-complementary
#C2AF30 #308CC2 #6630C2
monochromatic
#605618 #918324 #C2AF30 #D6C659 #E2D78A

Accessibility & contrast

On white

2.22
#C2AF30 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.47
#C2AF30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2AF30
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2AF30#FFFFFF#000000##000000
##C2AF301.002.229.479.47
#FFFFFF2.221.0021.0021.00
#0000009.4721.001.001.00
##0000009.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA17
Deuteranopia (green-blind)
#C5B139
Tritanopia (blue-blind)
#D1A297
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #c2af30;
/* rgb */ color: rgb(194, 175, 48);
/* oklch */ color: oklch(74.9% 0.141 100.4);
Tailwind
colors: {
  custom: {
    50: '#d8c672',
    500: '#c2af30',
    950: '#000000',
  },
}
SCSS
$custom: #c2af30;
$custom-light: #d8c672;
$custom-dark: #000000;
JSON
{
  "hex": "#c2af30",
  "rgb": {
    "r": 194,
    "g": 175,
    "b": 48
  },
  "hsl": {
    "h": 52.192,
    "s": 60.331,
    "l": 47.451
  },
  "oklch": {
    "l": 0.74864,
    "c": 0.14094,
    "h": 100.4
  },
  "luminance": 0.42343
}

Semantic roles & 50–950 ramp

primary
#C2AF30
secondary
#828BCC
accent
#59E344
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #C2AF30

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

Preview Lab → · Contrast checker → · Palette generator →

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