#C2AF3C#C2AF3C

#C2AF3C is a light, vivid yellow. Relative luminance 0.425; OKLCH L 75.0% C 0.133 H 99.7°. Best body text is #000000 at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#C2AF3C
RGBrgb(194, 175, 60)
HSLhsl(51, 53%, 50%)
HSVhsv(51, 69%, 76%)
CMYKcmyk(0%, 9.8%, 69.1%, 23.9%)
CIE-LABlab(71.19, -6.18, 58.76)
CIE-LCHlch(71.19, 59.08, 96.01°)
OKLaboklab(74.95% -0.0226 0.1315)
OKLCHoklch(74.95% 0.133 99.7)
XYZxyz(38.3955, 42.4573, 10.4467)
Luminance0.4246 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2AF3C #3C4FC2
analogous
#C26C3C #C2AF3C #92C23C
triadic
#C2AF3C #3CC2AF #AF3CC2
tetradic
#C2AF3C #3CC26C #3C4FC2 #C23C92
square
#C2AF3C #3CC26C #3C4FC2 #C23C92
split-complementary
#C2AF3C #3C92C2 #6C3CC2
monochromatic
#655B1F #93852E #C2AF3C #D1C26A #DFD599

Accessibility & contrast

On white

2.21
#C2AF3C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.49
#C2AF3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2AF3C
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2AF3C#FFFFFF#000000##000000
##C2AF3C1.002.219.499.49
#FFFFFF2.211.0021.0021.00
#0000009.4921.001.001.00
##0000009.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA2C
Deuteranopia (green-blind)
#C5B143
Tritanopia (blue-blind)
#D1A298
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #c2af3c;
/* rgb */ color: rgb(194, 175, 60);
/* oklch */ color: oklch(75.0% 0.133 99.7);
Tailwind
colors: {
  custom: {
    50: '#d8c678',
    500: '#c2af3c',
    950: '#000000',
  },
}
SCSS
$custom: #c2af3c;
$custom-light: #d8c678;
$custom-dark: #000000;
JSON
{
  "hex": "#c2af3c",
  "rgb": {
    "r": 194,
    "g": 175,
    "b": 60
  },
  "hsl": {
    "h": 51.493,
    "s": 52.756,
    "l": 49.804
  },
  "oklch": {
    "l": 0.7495,
    "c": 0.13338,
    "h": 99.7
  },
  "luminance": 0.42456
}

Semantic roles & 50–950 ramp

primary
#C2AF3C
secondary
#8F97CB
accent
#60DC4C
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151309
muted
#83827B

Preview Lab

Preview with #C2AF3C

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

Preview Lab → · Contrast checker → · Palette generator →

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