#A2AE23#A2AE23

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

Color values

HEX#A2AE23
RGBrgb(162, 174, 35)
HSLhsl(65, 67%, 41%)
HSVhsv(65, 80%, 68%)
CMYKcmyk(6.9%, 0%, 79.9%, 31.8%)
CIE-LABlab(68.08, -20.68, 63.56)
CIE-LCHlch(68.08, 66.84, 108.02°)
OKLaboklab(71.77% -0.0638 0.1383)
OKLCHoklch(71.77% 0.152 114.8)
XYZxyz(30.3406, 38.0754, 7.3408)
Luminance0.3807 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2AE23 #2F23AE
analogous
#AE7423 #A2AE23 #5CAE23
triadic
#A2AE23 #23A2AE #AE23A2
tetradic
#A2AE23 #23AE74 #2F23AE #AE235C
square
#A2AE23 #23AE74 #2F23AE #AE235C
split-complementary
#A2AE23 #235CAE #7423AE
monochromatic
#43480F #737B19 #A2AE23 #C9D737 #D7E16A

Accessibility & contrast

On white

2.44
#A2AE23 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.61
#A2AE23 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2AE23
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2AE23#FFFFFF#000000##000000
##A2AE231.002.448.618.61
#FFFFFF2.441.0021.0021.00
#0000008.6121.001.001.00
##0000008.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA500
Deuteranopia (green-blind)
#BAA731
Tritanopia (blue-blind)
#ADA395
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #a2ae23;
/* rgb */ color: rgb(162, 174, 35);
/* oklch */ color: oklch(71.8% 0.152 114.8);
Tailwind
colors: {
  custom: {
    50: '#c1c66b',
    500: '#a2ae23',
    950: '#000000',
  },
}
SCSS
$custom: #a2ae23;
$custom-light: #c1c66b;
$custom-dark: #000000;
JSON
{
  "hex": "#a2ae23",
  "rgb": {
    "r": 162,
    "g": 174,
    "b": 35
  },
  "hsl": {
    "h": 65.18,
    "s": 66.507,
    "l": 40.98
  },
  "oklch": {
    "l": 0.71772,
    "c": 0.15228,
    "h": 114.8
  },
  "luminance": 0.38075
}

Semantic roles & 50–950 ramp

primary
#A2AE23
secondary
#6E66C7
accent
#3EE94D
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A2AE23

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

Preview Lab → · Contrast checker → · Palette generator →

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