#C2AF3D#C2AF3D

#C2AF3D 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#C2AF3D
RGBrgb(194, 175, 61)
HSLhsl(51, 52%, 50%)
HSVhsv(51, 69%, 76%)
CMYKcmyk(0%, 9.8%, 68.6%, 23.9%)
CIE-LABlab(71.19, -6.13, 58.36)
CIE-LCHlch(71.19, 58.68, 95.99°)
OKLaboklab(74.96% -0.0223 0.1308)
OKLCHoklch(74.96% 0.133 99.7)
XYZxyz(38.4221, 42.4680, 10.5873)
Luminance0.4247 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2AF3D #3D50C2
analogous
#C26D3D #C2AF3D #92C23D
triadic
#C2AF3D #3DC2AF #AF3DC2
tetradic
#C2AF3D #3DC26D #3D50C2 #C23D92
square
#C2AF3D #3DC26D #3D50C2 #C23D92
split-complementary
#C2AF3D #3D92C2 #6D3DC2
monochromatic
#655B20 #93852E #C2AF3D #D1C26C #DFD59A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2AF3D#FFFFFF#000000##000000
##C2AF3D1.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)
#BFAA2D
Deuteranopia (green-blind)
#C5B144
Tritanopia (blue-blind)
#D1A298
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #c2af3d;
/* rgb */ color: rgb(194, 175, 61);
/* oklch */ color: oklch(75.0% 0.133 99.7);
Tailwind
colors: {
  custom: {
    50: '#d8c679',
    500: '#c2af3d',
    950: '#000000',
  },
}
SCSS
$custom: #c2af3d;
$custom-light: #d8c679;
$custom-dark: #000000;
JSON
{
  "hex": "#c2af3d",
  "rgb": {
    "r": 194,
    "g": 175,
    "b": 61
  },
  "hsl": {
    "h": 51.429,
    "s": 52.157,
    "l": 50
  },
  "oklch": {
    "l": 0.74958,
    "c": 0.13268,
    "h": 99.7
  },
  "luminance": 0.42466
}

Semantic roles & 50–950 ramp

primary
#C2AF3D
secondary
#9098CB
accent
#61DC4C
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151309
muted
#83827B

Preview Lab

Preview with #C2AF3D

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

Preview Lab → · Contrast checker → · Palette generator →

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