#C2AE40#C2AE40

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

Color values

HEX#C2AE40
RGBrgb(194, 174, 64)
HSLhsl(51, 52%, 51%)
HSVhsv(51, 67%, 76%)
CMYKcmyk(0%, 10.3%, 67%, 23.9%)
CIE-LABlab(70.95, -5.43, 56.88)
CIE-LCHlch(70.95, 57.14, 95.46°)
OKLaboklab(74.77% -0.02 0.1282)
OKLCHoklch(74.77% 0.13 98.9)
XYZxyz(38.3113, 42.1134, 10.9602)
Luminance0.4211 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2AE40 #4054C2
analogous
#C26D40 #C2AE40 #95C240
triadic
#C2AE40 #40C2AE #AE40C2
tetradic
#C2AE40 #40C26D #4054C2 #C24095
square
#C2AE40 #40C26D #4054C2 #C24095
split-complementary
#C2AE40 #4095C2 #6D40C2
monochromatic
#675C21 #958630 #C2AE40 #D1C26E #E0D59D

Accessibility & contrast

On white

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

On black

9.42
#C2AE40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2AE40
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2AE40#FFFFFF#000000##000000
##C2AE401.002.239.429.42
#FFFFFF2.231.0021.0021.00
#0000009.4221.001.001.00
##0000009.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAA32
Deuteranopia (green-blind)
#C4B146
Tritanopia (blue-blind)
#D1A297
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #c2ae40;
/* rgb */ color: rgb(194, 174, 64);
/* oklch */ color: oklch(74.8% 0.130 98.9);
Tailwind
colors: {
  custom: {
    50: '#d8c57a',
    500: '#c2ae40',
    950: '#000000',
  },
}
SCSS
$custom: #c2ae40;
$custom-light: #d8c57a;
$custom-dark: #000000;
JSON
{
  "hex": "#c2ae40",
  "rgb": {
    "r": 194,
    "g": 174,
    "b": 64
  },
  "hsl": {
    "h": 50.769,
    "s": 51.587,
    "l": 50.588
  },
  "oklch": {
    "l": 0.74772,
    "c": 0.12971,
    "h": 98.9
  },
  "luminance": 0.42112
}

Semantic roles & 50–950 ramp

primary
#C2AE40
secondary
#929BCC
accent
#63DB4D
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15120A
muted
#83817C

Preview Lab

Preview with #C2AE40

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

Preview Lab → · Contrast checker → · Palette generator →

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