#C2AE51#C2AE51

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

Color values

HEX#C2AE51
RGBrgb(194, 174, 81)
HSLhsl(49, 48%, 54%)
HSVhsv(49, 58%, 76%)
CMYKcmyk(0%, 10.3%, 58.2%, 23.9%)
CIE-LABlab(71.10, -4.31, 49.45)
CIE-LCHlch(71.10, 49.64, 94.98°)
OKLaboklab(74.94% -0.0147 0.1148)
OKLCHoklch(74.94% 0.116 97.3)
XYZxyz(38.8709, 42.3372, 13.9074)
Luminance0.4234 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2AE51 #5165C2
analogous
#C27651 #C2AE51 #9DC251
triadic
#C2AE51 #51C2AE #AE51C2
tetradic
#C2AE51 #51C276 #5165C2 #C2519D
square
#C2AE51 #51C276 #5165C2 #C2519D
split-complementary
#C2AE51 #519DC2 #7651C2
monochromatic
#716428 #9E8C37 #C2AE51 #D2C37E #E2D8AC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2AE51#FFFFFF#000000##000000
##C2AE511.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)
#BDAA48
Deuteranopia (green-blind)
#C3B155
Tritanopia (blue-blind)
#D0A399
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #c2ae51;
/* rgb */ color: rgb(194, 174, 81);
/* oklch */ color: oklch(74.9% 0.116 97.3);
Tailwind
colors: {
  custom: {
    50: '#d7c585',
    500: '#c2ae51',
    950: '#000000',
  },
}
SCSS
$custom: #c2ae51;
$custom-light: #d7c585;
$custom-dark: #000000;
JSON
{
  "hex": "#c2ae51",
  "rgb": {
    "r": 194,
    "g": 174,
    "b": 81
  },
  "hsl": {
    "h": 49.381,
    "s": 48.085,
    "l": 53.922
  },
  "oklch": {
    "l": 0.74944,
    "c": 0.11573,
    "h": 97.3
  },
  "luminance": 0.42336
}

Semantic roles & 50–950 ramp

primary
#C2AE51
secondary
#9FA8D0
accent
#68D850
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15120B
muted
#83817C

Preview Lab

Preview with #C2AE51

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

Preview Lab → · Contrast checker → · Palette generator →

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