#C2AF29#C2AF29

#C2AF29 is a light, vivid yellow. Relative luminance 0.423; OKLCH L 74.8% C 0.145 H 100.7°. Best body text is #000000 at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#C2AF29
RGBrgb(194, 175, 41)
HSLhsl(53, 65%, 46%)
HSVhsv(53, 79%, 76%)
CMYKcmyk(0%, 9.8%, 78.9%, 23.9%)
CIE-LABlab(71.07, -7.03, 65.46)
CIE-LCHlch(71.07, 65.83, 96.13°)
OKLaboklab(74.82% -0.0268 0.1421)
OKLCHoklch(74.82% 0.145 100.7)
XYZxyz(37.9802, 42.2912, 8.2599)
Luminance0.4229 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2AF29 #293CC2
analogous
#C26229 #C2AF29 #88C229
triadic
#C2AF29 #29C2AF #AF29C2
tetradic
#C2AF29 #29C262 #293CC2 #C22988
square
#C2AF29 #29C262 #293CC2 #C22988
split-complementary
#C2AF29 #2988C2 #6229C2
monochromatic
#5D5414 #8F811E #C2AF29 #DAC84E #E4D881

Accessibility & contrast

On white

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

On black

9.46
#C2AF29 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2AF29
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2AF29#FFFFFF#000000##000000
##C2AF291.002.229.469.46
#FFFFFF2.221.0021.0021.00
#0000009.4621.001.001.00
##0000009.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA02
Deuteranopia (green-blind)
#C6B133
Tritanopia (blue-blind)
#D1A296
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #c2af29;
/* rgb */ color: rgb(194, 175, 41);
/* oklch */ color: oklch(74.8% 0.145 100.7);
Tailwind
colors: {
  custom: {
    50: '#d9c66f',
    500: '#c2af29',
    950: '#000000',
  },
}
SCSS
$custom: #c2af29;
$custom-light: #d9c66f;
$custom-dark: #000000;
JSON
{
  "hex": "#c2af29",
  "rgb": {
    "r": 194,
    "g": 175,
    "b": 41
  },
  "hsl": {
    "h": 52.549,
    "s": 65.106,
    "l": 46.078
  },
  "oklch": {
    "l": 0.74823,
    "c": 0.14463,
    "h": 100.7
  },
  "luminance": 0.42289
}

Semantic roles & 50–950 ramp

primary
#C2AF29
secondary
#7A84CD
accent
#55E840
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151208
muted
#83817B

Preview Lab

Preview with #C2AF29

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

Preview Lab → · Contrast checker → · Palette generator →

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