#C2AA2E#C2AA2E

#C2AA2E is a light, vivid yellow. Relative luminance 0.404; OKLCH L 73.8% C 0.138 H 97.7°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#C2AA2E
RGBrgb(194, 170, 46)
HSLhsl(50, 62%, 47%)
HSVhsv(50, 76%, 76%)
CMYKcmyk(0%, 12.4%, 76.3%, 23.9%)
CIE-LABlab(69.77, -4.21, 62.63)
CIE-LCHlch(69.77, 62.77, 93.85°)
OKLaboklab(73.8% -0.0184 0.1371)
OKLCHoklch(73.8% 0.138 97.7)
XYZxyz(37.1179, 40.4180, 8.4306)
Luminance0.4042 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2AA2E #2E46C2
analogous
#C2602E #C2AA2E #90C22E
triadic
#C2AA2E #2EC2AA #AA2EC2
tetradic
#C2AA2E #2EC260 #2E46C2 #C22E90
square
#C2AA2E #2EC260 #2E46C2 #C22E90
split-complementary
#C2AA2E #2E90C2 #602EC2
monochromatic
#5F5317 #917F22 #C2AA2E #D7C256 #E3D488

Accessibility & contrast

On white

2.31
#C2AA2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.08
#C2AA2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2AA2E
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2AA2E#FFFFFF#000000##000000
##C2AA2E1.002.319.089.08
#FFFFFF2.311.0021.0021.00
#0000009.0821.001.001.00
##0000009.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA615
Deuteranopia (green-blind)
#C2AE36
Tritanopia (blue-blind)
#D29D92
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #c2aa2e;
/* rgb */ color: rgb(194, 170, 46);
/* oklch */ color: oklch(73.8% 0.138 97.7);
Tailwind
colors: {
  custom: {
    50: '#d9c270',
    500: '#c2aa2e',
    950: '#000000',
  },
}
SCSS
$custom: #c2aa2e;
$custom-light: #d9c270;
$custom-dark: #000000;
JSON
{
  "hex": "#c2aa2e",
  "rgb": {
    "r": 194,
    "g": 170,
    "b": 46
  },
  "hsl": {
    "h": 50.27,
    "s": 61.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.73797,
    "c": 0.13828,
    "h": 97.7
  },
  "luminance": 0.40416
}

Semantic roles & 50–950 ramp

primary
#C2AA2E
secondary
#7F8CCC
accent
#5DE543
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #C2AA2E

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

Preview Lab → · Contrast checker → · Palette generator →

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