#C2AD2E#C2AD2E

#C2AD2E is a light, vivid yellow. Relative luminance 0.416; OKLCH L 74.4% C 0.141 H 99.4°. Best body text is #000000 at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#C2AD2E
RGBrgb(194, 173, 46)
HSLhsl(51, 62%, 47%)
HSVhsv(51, 76%, 76%)
CMYKcmyk(0%, 10.8%, 76.3%, 23.9%)
CIE-LABlab(70.56, -5.79, 63.37)
CIE-LCHlch(70.56, 63.63, 95.22°)
OKLaboklab(74.43% -0.0229 0.1386)
OKLCHoklch(74.43% 0.141 99.4)
XYZxyz(37.6867, 41.5556, 8.6202)
Luminance0.4155 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2AD2E #2E43C2
analogous
#C2632E #C2AD2E #8DC22E
triadic
#C2AD2E #2EC2AD #AD2EC2
tetradic
#C2AD2E #2EC263 #2E43C2 #C22E8D
square
#C2AD2E #2EC263 #2E43C2 #C22E8D
split-complementary
#C2AD2E #2E8DC2 #632EC2
monochromatic
#5F5517 #918122 #C2AD2E #D7C556 #E3D688

Accessibility & contrast

On white

2.26
#C2AD2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.31
#C2AD2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2AD2E
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2AD2E#FFFFFF#000000##000000
##C2AD2E1.002.269.319.31
#FFFFFF2.261.0021.0021.00
#0000009.3121.001.001.00
##0000009.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA813
Deuteranopia (green-blind)
#C4B037
Tritanopia (blue-blind)
#D1A095
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #c2ad2e;
/* rgb */ color: rgb(194, 173, 46);
/* oklch */ color: oklch(74.4% 0.141 99.4);
Tailwind
colors: {
  custom: {
    50: '#d9c571',
    500: '#c2ad2e',
    950: '#000000',
  },
}
SCSS
$custom: #c2ad2e;
$custom-light: #d9c571;
$custom-dark: #000000;
JSON
{
  "hex": "#c2ad2e",
  "rgb": {
    "r": 194,
    "g": 173,
    "b": 46
  },
  "hsl": {
    "h": 51.486,
    "s": 61.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.74429,
    "c": 0.14051,
    "h": 99.4
  },
  "luminance": 0.41554
}

Semantic roles & 50–950 ramp

primary
#C2AD2E
secondary
#7F8ACC
accent
#5AE543
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151208
muted
#83817B

Preview Lab

Preview with #C2AD2E

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

Preview Lab → · Contrast checker → · Palette generator →

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