#A2AF23#A2AF23

#A2AF23 is a light, vivid yellow. Relative luminance 0.385; OKLCH L 72.0% C 0.153 H 115.1°. Best body text is #000000 at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#A2AF23
RGBrgb(162, 175, 35)
HSLhsl(66, 67%, 41%)
HSVhsv(66, 80%, 69%)
CMYKcmyk(7.4%, 0%, 80%, 31.4%)
CIE-LABlab(68.36, -21.18, 63.81)
CIE-LCHlch(68.36, 67.23, 108.36°)
OKLaboklab(72% -0.0652 0.1388)
OKLCHoklch(72% 0.153 115.1)
XYZxyz(30.5345, 38.4632, 7.4054)
Luminance0.3846 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2AF23 #3023AF
analogous
#AF7623 #A2AF23 #5CAF23
triadic
#A2AF23 #23A2AF #AF23A2
tetradic
#A2AF23 #23AF76 #3023AF #AF235C
square
#A2AF23 #23AF76 #3023AF #AF235C
split-complementary
#A2AF23 #235CAF #7623AF
monochromatic
#44490F #737C19 #A2AF23 #C8D738 #D6E16B

Accessibility & contrast

On white

2.42
#A2AF23 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.69
#A2AF23 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2AF23
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2AF23#FFFFFF#000000##000000
##A2AF231.002.428.698.69
#FFFFFF2.421.0021.0021.00
#0000008.6921.001.001.00
##0000008.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA600
Deuteranopia (green-blind)
#BBA831
Tritanopia (blue-blind)
#ADA496
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a2af23;
/* rgb */ color: rgb(162, 175, 35);
/* oklch */ color: oklch(72.0% 0.153 115.1);
Tailwind
colors: {
  custom: {
    50: '#c1c66b',
    500: '#a2af23',
    950: '#000000',
  },
}
SCSS
$custom: #a2af23;
$custom-light: #c1c66b;
$custom-dark: #000000;
JSON
{
  "hex": "#a2af23",
  "rgb": {
    "r": 162,
    "g": 175,
    "b": 35
  },
  "hsl": {
    "h": 65.571,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.72001,
    "c": 0.15335,
    "h": 115.1
  },
  "luminance": 0.38463
}

Semantic roles & 50–950 ramp

primary
#A2AF23
secondary
#6F66C7
accent
#3EEA4E
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #A2AF23

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

Preview Lab → · Contrast checker → · Palette generator →

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