#A2AE2B#A2AE2B

#A2AE2B 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#A2AE2B
RGBrgb(162, 174, 43)
HSLhsl(65, 60%, 43%)
HSVhsv(65, 75%, 68%)
CMYKcmyk(6.9%, 0%, 75.3%, 31.8%)
CIE-LABlab(68.12, -20.35, 61.12)
CIE-LCHlch(68.12, 64.42, 108.42°)
OKLaboklab(71.82% -0.0622 0.1345)
OKLCHoklch(71.82% 0.148 114.8)
XYZxyz(30.4733, 38.1285, 8.0393)
Luminance0.3813 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2AE2B #372BAE
analogous
#AE782B #A2AE2B #61AE2B
triadic
#A2AE2B #2BA2AE #AE2BA2
tetradic
#A2AE2B #2BAE78 #372BAE #AE2B61
square
#A2AE2B #2BAE78 #372BAE #AE2B61
split-complementary
#A2AE2B #2B61AE #782BAE
monochromatic
#474C13 #747D1F #A2AE2B #C4D145 #D4DD76

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2AE2B#FFFFFF#000000##000000
##A2AE2B1.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)
#BBA50C
Deuteranopia (green-blind)
#BAA736
Tritanopia (blue-blind)
#ADA495
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #a2ae2b;
/* rgb */ color: rgb(162, 174, 43);
/* oklch */ color: oklch(71.8% 0.148 114.8);
Tailwind
colors: {
  custom: {
    50: '#c1c66f',
    500: '#a2ae2b',
    950: '#000000',
  },
}
SCSS
$custom: #a2ae2b;
$custom-light: #c1c66f;
$custom-dark: #000000;
JSON
{
  "hex": "#a2ae2b",
  "rgb": {
    "r": 162,
    "g": 174,
    "b": 43
  },
  "hsl": {
    "h": 65.496,
    "s": 60.369,
    "l": 42.549
  },
  "oklch": {
    "l": 0.71816,
    "c": 0.14823,
    "h": 114.8
  },
  "luminance": 0.38128
}

Semantic roles & 50–950 ramp

primary
#A2AE2B
secondary
#7870C5
accent
#44E453
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A2AE2B

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

Preview Lab → · Contrast checker → · Palette generator →

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