#A5B52A#A5B52A

#A5B52A is a light, vivid yellow. Relative luminance 0.412; OKLCH L 73.6% C 0.155 H 116.2°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#A5B52A
RGBrgb(165, 181, 42)
HSLhsl(67, 62%, 44%)
HSVhsv(67, 77%, 71%)
CMYKcmyk(8.8%, 0%, 76.8%, 29%)
CIE-LABlab(70.33, -22.60, 63.58)
CIE-LCHlch(70.33, 67.48, 109.57°)
OKLaboklab(73.65% -0.0687 0.1395)
OKLCHoklch(73.65% 0.155 116.2)
XYZxyz(32.4597, 41.2147, 8.4353)
Luminance0.4121 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B52A #3A2AB5
analogous
#B57F2A #A5B52A #5FB52A
triadic
#A5B52A #2AA5B5 #B52AA5
tetradic
#A5B52A #2AB57F #3A2AB5 #B52A5F
square
#A5B52A #2AB57F #3A2AB5 #B52A5F
split-complementary
#A5B52A #2A5FB5 #7F2AB5
monochromatic
#4A5213 #78831E #A5B52A #C4D448 #D4E079

Accessibility & contrast

On white

2.27
#A5B52A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.24
#A5B52A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B52A
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B52A#FFFFFF#000000##000000
##A5B52A1.002.279.249.24
#FFFFFF2.271.0021.0021.00
#0000009.2421.001.001.00
##0000009.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AB02
Deuteranopia (green-blind)
#C1AD37
Tritanopia (blue-blind)
#B0AA9B
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #a5b52a;
/* rgb */ color: rgb(165, 181, 42);
/* oklch */ color: oklch(73.6% 0.155 116.2);
Tailwind
colors: {
  custom: {
    50: '#c3cb6f',
    500: '#a5b52a',
    950: '#000000',
  },
}
SCSS
$custom: #a5b52a;
$custom-light: #c3cb6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b52a",
  "rgb": {
    "r": 165,
    "g": 181,
    "b": 42
  },
  "hsl": {
    "h": 66.906,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.73646,
    "c": 0.15545,
    "h": 116.2
  },
  "luminance": 0.41214
}

Semantic roles & 50–950 ramp

primary
#A5B52A
secondary
#7D73C8
accent
#42E555
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A5B52A

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

Preview Lab → · Contrast checker → · Palette generator →

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