#A2AE2C#A2AE2C

#A2AE2C is a light, vivid yellow. Relative luminance 0.381; OKLCH L 71.8% C 0.148 H 114.8°. Best body text is #000000 at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#A2AE2C
RGBrgb(162, 174, 44)
HSLhsl(66, 60%, 43%)
HSVhsv(66, 75%, 68%)
CMYKcmyk(6.9%, 0%, 74.7%, 31.8%)
CIE-LABlab(68.12, -20.31, 60.79)
CIE-LCHlch(68.12, 64.09, 108.47°)
OKLaboklab(71.82% -0.062 0.134)
OKLCHoklch(71.82% 0.148 114.8)
XYZxyz(30.4918, 38.1359, 8.1371)
Luminance0.3814 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2AE2C #382CAE
analogous
#AE792C #A2AE2C #61AE2C
triadic
#A2AE2C #2CA2AE #AE2CA2
tetradic
#A2AE2C #2CAE79 #382CAE #AE2C61
square
#A2AE2C #2CAE79 #382CAE #AE2C61
split-complementary
#A2AE2C #2C61AE #792CAE
monochromatic
#474C13 #757D20 #A2AE2C #C4D047 #D3DD78

Accessibility & contrast

On white

2.43
#A2AE2C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.63
#A2AE2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2AE2C
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2AE2C#FFFFFF#000000##000000
##A2AE2C1.002.438.638.63
#FFFFFF2.431.0021.0021.00
#0000008.6321.001.001.00
##0000008.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA50F
Deuteranopia (green-blind)
#BAA737
Tritanopia (blue-blind)
#ADA495
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #a2ae2c;
/* rgb */ color: rgb(162, 174, 44);
/* oklch */ color: oklch(71.8% 0.148 114.8);
Tailwind
colors: {
  custom: {
    50: '#c1c66f',
    500: '#a2ae2c',
    950: '#000000',
  },
}
SCSS
$custom: #a2ae2c;
$custom-light: #c1c66f;
$custom-dark: #000000;
JSON
{
  "hex": "#a2ae2c",
  "rgb": {
    "r": 162,
    "g": 174,
    "b": 44
  },
  "hsl": {
    "h": 65.538,
    "s": 59.633,
    "l": 42.745
  },
  "oklch": {
    "l": 0.71822,
    "c": 0.14766,
    "h": 114.8
  },
  "luminance": 0.38135
}

Semantic roles & 50–950 ramp

primary
#A2AE2C
secondary
#7971C5
accent
#45E354
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A2AE2C

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

Preview Lab → · Contrast checker → · Palette generator →

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