#C2AE45#C2AE45

#C2AE45 is a light, vivid yellow. Relative luminance 0.422; OKLCH L 74.8% C 0.126 H 98.5°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#C2AE45
RGBrgb(194, 174, 69)
HSLhsl(50, 51%, 52%)
HSVhsv(50, 64%, 76%)
CMYKcmyk(0%, 10.3%, 64.4%, 23.9%)
CIE-LABlab(70.99, -5.13, 54.78)
CIE-LCHlch(70.99, 55.02, 95.35°)
OKLaboklab(74.82% -0.0185 0.1245)
OKLCHoklch(74.82% 0.126 98.5)
XYZxyz(38.4600, 42.1729, 11.7434)
Luminance0.4217 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2AE45 #4559C2
analogous
#C27045 #C2AE45 #98C245
triadic
#C2AE45 #45C2AE #AE45C2
tetradic
#C2AE45 #45C270 #4559C2 #C24598
square
#C2AE45 #45C270 #4559C2 #C24598
split-complementary
#C2AE45 #4598C2 #7045C2
monochromatic
#6A5E23 #988832 #C2AE45 #D1C273 #E0D6A1

Accessibility & contrast

On white

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

On black

9.43
#C2AE45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2AE45
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2AE45#FFFFFF#000000##000000
##C2AE451.002.239.439.43
#FFFFFF2.231.0021.0021.00
#0000009.4321.001.001.00
##0000009.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAA38
Deuteranopia (green-blind)
#C4B14B
Tritanopia (blue-blind)
#D1A298
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #c2ae45;
/* rgb */ color: rgb(194, 174, 69);
/* oklch */ color: oklch(74.8% 0.126 98.5);
Tailwind
colors: {
  custom: {
    50: '#d8c57d',
    500: '#c2ae45',
    950: '#000000',
  },
}
SCSS
$custom: #c2ae45;
$custom-light: #d8c57d;
$custom-dark: #000000;
JSON
{
  "hex": "#c2ae45",
  "rgb": {
    "r": 194,
    "g": 174,
    "b": 69
  },
  "hsl": {
    "h": 50.4,
    "s": 50.607,
    "l": 51.569
  },
  "oklch": {
    "l": 0.74818,
    "c": 0.12588,
    "h": 98.5
  },
  "luminance": 0.42171
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C2AE45

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

Preview Lab → · Contrast checker → · Palette generator →

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