#C2AC45#C2AC45

#C2AC45 is a light, vivid yellow. Relative luminance 0.414; OKLCH L 74.4% C 0.124 H 97.2°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#C2AC45
RGBrgb(194, 172, 69)
HSLhsl(49, 51%, 52%)
HSVhsv(49, 64%, 76%)
CMYKcmyk(0%, 11.3%, 64.4%, 23.9%)
CIE-LABlab(70.46, -4.08, 54.21)
CIE-LCHlch(70.46, 54.37, 94.30°)
OKLaboklab(74.4% -0.0155 0.1233)
OKLCHoklch(74.4% 0.124 97.2)
XYZxyz(38.0765, 41.4059, 11.6156)
Luminance0.4140 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2AC45 #455BC2
analogous
#C26E45 #C2AC45 #9AC245
triadic
#C2AC45 #45C2AC #AC45C2
tetradic
#C2AC45 #45C26E #455BC2 #C2459A
square
#C2AC45 #45C26E #455BC2 #C2459A
split-complementary
#C2AC45 #459AC2 #6E45C2
monochromatic
#6A5D23 #988632 #C2AC45 #D1C173 #E0D5A1

Accessibility & contrast

On white

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

On black

9.28
#C2AC45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2AC45
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2AC45#FFFFFF#000000##000000
##C2AC451.002.269.289.28
#FFFFFF2.261.0021.0021.00
#0000009.2821.001.001.00
##0000009.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA839
Deuteranopia (green-blind)
#C2AF4A
Tritanopia (blue-blind)
#D1A096
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #c2ac45;
/* rgb */ color: rgb(194, 172, 69);
/* oklch */ color: oklch(74.4% 0.124 97.2);
Tailwind
colors: {
  custom: {
    50: '#d8c47d',
    500: '#c2ac45',
    950: '#000000',
  },
}
SCSS
$custom: #c2ac45;
$custom-light: #d8c47d;
$custom-dark: #000000;
JSON
{
  "hex": "#c2ac45",
  "rgb": {
    "r": 194,
    "g": 172,
    "b": 69
  },
  "hsl": {
    "h": 49.44,
    "s": 50.607,
    "l": 51.569
  },
  "oklch": {
    "l": 0.74398,
    "c": 0.12428,
    "h": 97.2
  },
  "luminance": 0.41404
}

Semantic roles & 50–950 ramp

primary
#C2AC45
secondary
#96A0CD
accent
#66DA4E
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15120A
muted
#83817C

Preview Lab

Preview with #C2AC45

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

Preview Lab → · Contrast checker → · Palette generator →

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