#C2AE34#C2AE34

#C2AE34 is a light, vivid yellow. Relative luminance 0.420; OKLCH L 74.7% C 0.138 H 99.6°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#C2AE34
RGBrgb(194, 174, 52)
HSLhsl(52, 58%, 48%)
HSVhsv(52, 73%, 76%)
CMYKcmyk(0%, 10.3%, 73.2%, 23.9%)
CIE-LABlab(70.86, -6.06, 61.53)
CIE-LCHlch(70.86, 61.82, 95.62°)
OKLaboklab(74.68% -0.0231 0.1359)
OKLCHoklch(74.68% 0.138 99.6)
XYZxyz(38.0058, 41.9912, 9.3514)
Luminance0.4199 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2AE34 #3448C2
analogous
#C26734 #C2AE34 #8FC234
triadic
#C2AE34 #34C2AE #AE34C2
tetradic
#C2AE34 #34C267 #3448C2 #C2348F
square
#C2AE34 #34C267 #3448C2 #C2348F
split-complementary
#C2AE34 #348FC2 #6734C2
monochromatic
#61571A #928327 #C2AE34 #D4C45F #E1D68F

Accessibility & contrast

On white

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

On black

9.40
#C2AE34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2AE34
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2AE34#FFFFFF#000000##000000
##C2AE341.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA91F
Deuteranopia (green-blind)
#C4B13C
Tritanopia (blue-blind)
#D1A196
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #c2ae34;
/* rgb */ color: rgb(194, 174, 52);
/* oklch */ color: oklch(74.7% 0.138 99.6);
Tailwind
colors: {
  custom: {
    50: '#d8c574',
    500: '#c2ae34',
    950: '#000000',
  },
}
SCSS
$custom: #c2ae34;
$custom-light: #d8c574;
$custom-dark: #000000;
JSON
{
  "hex": "#c2ae34",
  "rgb": {
    "r": 194,
    "g": 174,
    "b": 52
  },
  "hsl": {
    "h": 51.549,
    "s": 57.724,
    "l": 48.235
  },
  "oklch": {
    "l": 0.74679,
    "c": 0.1378,
    "h": 99.6
  },
  "luminance": 0.41989
}

Semantic roles & 50–950 ramp

primary
#C2AE34
secondary
#8690CC
accent
#5DE147
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C2AE34

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

Preview Lab → · Contrast checker → · Palette generator →

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