#C2AF39#C2AF39

#C2AF39 is a light, vivid yellow. Relative luminance 0.424; OKLCH L 74.9% C 0.135 H 99.9°. Best body text is #000000 at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#C2AF39
RGBrgb(194, 175, 57)
HSLhsl(52, 55%, 49%)
HSVhsv(52, 71%, 76%)
CMYKcmyk(0%, 9.8%, 70.6%, 23.9%)
CIE-LABlab(71.16, -6.34, 59.92)
CIE-LCHlch(71.16, 60.26, 96.04°)
OKLaboklab(74.93% -0.0233 0.1334)
OKLCHoklch(74.93% 0.135 99.9)
XYZxyz(38.3184, 42.4265, 10.0409)
Luminance0.4243 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2AF39 #394CC2
analogous
#C26B39 #C2AF39 #91C239
triadic
#C2AF39 #39C2AF #AF39C2
tetradic
#C2AF39 #39C26B #394CC2 #C23991
square
#C2AF39 #39C26B #394CC2 #C23991
split-complementary
#C2AF39 #3991C2 #6B39C2
monochromatic
#635A1D #93842B #C2AF39 #D2C366 #E0D695

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2AF39#FFFFFF#000000##000000
##C2AF391.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)
#C0AA27
Deuteranopia (green-blind)
#C5B140
Tritanopia (blue-blind)
#D1A297
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #c2af39;
/* rgb */ color: rgb(194, 175, 57);
/* oklch */ color: oklch(74.9% 0.135 99.9);
Tailwind
colors: {
  custom: {
    50: '#d8c677',
    500: '#c2af39',
    950: '#000000',
  },
}
SCSS
$custom: #c2af39;
$custom-light: #d8c677;
$custom-dark: #000000;
JSON
{
  "hex": "#c2af39",
  "rgb": {
    "r": 194,
    "g": 175,
    "b": 57
  },
  "hsl": {
    "h": 51.679,
    "s": 54.582,
    "l": 49.216
  },
  "oklch": {
    "l": 0.74927,
    "c": 0.13541,
    "h": 99.9
  },
  "luminance": 0.42425
}

Semantic roles & 50–950 ramp

primary
#C2AF39
secondary
#8B94CB
accent
#5EDE4A
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C2AF39

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

Preview Lab → · Contrast checker → · Palette generator →

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