#C2AD45#C2AD45

#C2AD45 is a light, vivid yellow. Relative luminance 0.418; OKLCH L 74.6% C 0.125 H 97.8°. Best body text is #000000 at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#C2AD45
RGBrgb(194, 173, 69)
HSLhsl(50, 51%, 52%)
HSVhsv(50, 64%, 76%)
CMYKcmyk(0%, 10.8%, 64.4%, 23.9%)
CIE-LABlab(70.72, -4.61, 54.50)
CIE-LCHlch(70.72, 54.69, 94.83°)
OKLaboklab(74.61% -0.017 0.1239)
OKLCHoklch(74.61% 0.125 97.8)
XYZxyz(38.2676, 41.7879, 11.6793)
Luminance0.4179 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2AD45 #455AC2
analogous
#C26F45 #C2AD45 #99C245
triadic
#C2AD45 #45C2AD #AD45C2
tetradic
#C2AD45 #45C26F #455AC2 #C24599
square
#C2AD45 #45C26F #455AC2 #C24599
split-complementary
#C2AD45 #4599C2 #6F45C2
monochromatic
#6A5E23 #988732 #C2AD45 #D1C173 #E0D6A1

Accessibility & contrast

On white

2.24
#C2AD45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.36
#C2AD45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2AD45
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2AD45#FFFFFF#000000##000000
##C2AD451.002.249.369.36
#FFFFFF2.241.0021.0021.00
#0000009.3621.001.001.00
##0000009.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA939
Deuteranopia (green-blind)
#C3B04A
Tritanopia (blue-blind)
#D1A197
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #c2ad45;
/* rgb */ color: rgb(194, 173, 69);
/* oklch */ color: oklch(74.6% 0.125 97.8);
Tailwind
colors: {
  custom: {
    50: '#d8c57d',
    500: '#c2ad45',
    950: '#000000',
  },
}
SCSS
$custom: #c2ad45;
$custom-light: #d8c57d;
$custom-dark: #000000;
JSON
{
  "hex": "#c2ad45",
  "rgb": {
    "r": 194,
    "g": 173,
    "b": 69
  },
  "hsl": {
    "h": 49.92,
    "s": 50.607,
    "l": 51.569
  },
  "oklch": {
    "l": 0.74608,
    "c": 0.12507,
    "h": 97.8
  },
  "luminance": 0.41786
}

Semantic roles & 50–950 ramp

primary
#C2AD45
secondary
#969FCD
accent
#65DA4E
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15120A
muted
#83817C

Preview Lab

Preview with #C2AD45

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

Preview Lab → · Contrast checker → · Palette generator →

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