#A2AF25#A2AF25

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

Color values

HEX#A2AF25
RGBrgb(162, 175, 37)
HSLhsl(66, 65%, 42%)
HSVhsv(66, 79%, 69%)
CMYKcmyk(7.4%, 0%, 78.9%, 31.4%)
CIE-LABlab(68.37, -21.11, 63.24)
CIE-LCHlch(68.37, 66.67, 108.46°)
OKLaboklab(72.01% -0.0648 0.138)
OKLCHoklch(72.01% 0.152 115.2)
XYZxyz(30.5651, 38.4754, 7.5663)
Luminance0.3847 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2AF25 #3225AF
analogous
#AF7725 #A2AF25 #5DAF25
triadic
#A2AF25 #25A2AF #AF25A2
tetradic
#A2AF25 #25AF77 #3225AF #AF255D
square
#A2AF25 #25AF77 #3225AF #AF255D
split-complementary
#A2AF25 #255DAF #7725AF
monochromatic
#444A10 #737C1A #A2AF25 #C7D63C #D6E06E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2AF25#FFFFFF#000000##000000
##A2AF251.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)
#BBA832
Tritanopia (blue-blind)
#ADA496
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a2af25;
/* rgb */ color: rgb(162, 175, 37);
/* oklch */ color: oklch(72.0% 0.152 115.2);
Tailwind
colors: {
  custom: {
    50: '#c1c66c',
    500: '#a2af25',
    950: '#000000',
  },
}
SCSS
$custom: #a2af25;
$custom-light: #c1c66c;
$custom-dark: #000000;
JSON
{
  "hex": "#a2af25",
  "rgb": {
    "r": 162,
    "g": 175,
    "b": 37
  },
  "hsl": {
    "h": 65.652,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.72011,
    "c": 0.15242,
    "h": 115.2
  },
  "luminance": 0.38475
}

Semantic roles & 50–950 ramp

primary
#A2AF25
secondary
#7269C7
accent
#40E850
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A

Preview Lab

Preview with #A2AF25

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

Preview Lab → · Contrast checker → · Palette generator →

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