#C2AE42#C2AE42

#C2AE42 is a light, vivid yellow. Relative luminance 0.421; OKLCH L 74.8% C 0.128 H 98.7°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#C2AE42
RGBrgb(194, 174, 66)
HSLhsl(51, 51%, 51%)
HSVhsv(51, 66%, 76%)
CMYKcmyk(0%, 10.3%, 66%, 23.9%)
CIE-LABlab(70.97, -5.32, 56.05)
CIE-LCHlch(70.97, 56.30, 95.42°)
OKLaboklab(74.79% -0.0194 0.1267)
OKLCHoklch(74.79% 0.128 98.7)
XYZxyz(38.3692, 42.1366, 11.2653)
Luminance0.4214 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2AE42 #4256C2
analogous
#C26E42 #C2AE42 #96C242
triadic
#C2AE42 #42C2AE #AE42C2
tetradic
#C2AE42 #42C26E #4256C2 #C24296
square
#C2AE42 #42C26E #4256C2 #C24296
split-complementary
#C2AE42 #4296C2 #6E42C2
monochromatic
#685D22 #968631 #C2AE42 #D1C270 #E0D69F

Accessibility & contrast

On white

2.23
#C2AE42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.43
#C2AE42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2AE42
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2AE42#FFFFFF#000000##000000
##C2AE421.002.239.439.43
#FFFFFF2.231.0021.0021.00
#0000009.4321.001.001.00
##0000009.4321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c2ae42;
/* rgb */ color: rgb(194, 174, 66);
/* oklch */ color: oklch(74.8% 0.128 98.7);
Tailwind
colors: {
  custom: {
    50: '#d8c57c',
    500: '#c2ae42',
    950: '#000000',
  },
}
SCSS
$custom: #c2ae42;
$custom-light: #d8c57c;
$custom-dark: #000000;
JSON
{
  "hex": "#c2ae42",
  "rgb": {
    "r": 194,
    "g": 174,
    "b": 66
  },
  "hsl": {
    "h": 50.625,
    "s": 51.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.7479,
    "c": 0.12821,
    "h": 98.7
  },
  "luminance": 0.42135
}

Semantic roles & 50–950 ramp

primary
#C2AE42
secondary
#949CCC
accent
#63DB4D
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15120A
muted
#83817C

Preview Lab

Preview with #C2AE42

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

Preview Lab → · Contrast checker → · Palette generator →

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