#A5B652#A5B652

#A5B652 is a light, vivid yellow-green. Relative luminance 0.421; OKLCH L 74.2% C 0.127 H 117.6°. Best body text is #000000 at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#A5B652
RGBrgb(165, 182, 82)
HSLhsl(70, 41%, 52%)
HSVhsv(70, 55%, 71%)
CMYKcmyk(9.3%, 0%, 54.9%, 28.6%)
CIE-LABlab(70.92, -20.51, 48.14)
CIE-LCHlch(70.92, 52.33, 113.07°)
OKLaboklab(74.22% -0.059 0.1126)
OKLCHoklch(74.22% 0.127 117.6)
XYZxyz(33.7685, 42.0647, 14.3214)
Luminance0.4206 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B652 #6352B6
analogous
#B69552 #A5B652 #73B652
triadic
#A5B652 #52A5B6 #B652A5
tetradic
#A5B652 #52B695 #6352B6 #B65273
square
#A5B652 #52B695 #6352B6 #B65273
split-complementary
#A5B652 #5273B6 #9552B6
monochromatic
#5A642A #818F3C #A5B652 #BBC87D #D2DAA8

Accessibility & contrast

On white

2.23
#A5B652 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.41
#A5B652 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B652
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B652#FFFFFF#000000##000000
##A5B6521.002.239.419.41
#FFFFFF2.231.0021.0021.00
#0000009.4121.001.001.00
##0000009.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AD48
Deuteranopia (green-blind)
#BFAE58
Tritanopia (blue-blind)
#AEADA0
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #a5b652;
/* rgb */ color: rgb(165, 182, 82);
/* oklch */ color: oklch(74.2% 0.127 117.6);
Tailwind
colors: {
  custom: {
    50: '#c2cb86',
    500: '#a5b652',
    950: '#000000',
  },
}
SCSS
$custom: #a5b652;
$custom-light: #c2cb86;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b652",
  "rgb": {
    "r": 165,
    "g": 182,
    "b": 82
  },
  "hsl": {
    "h": 70.2,
    "s": 40.65,
    "l": 51.765
  },
  "oklch": {
    "l": 0.74217,
    "c": 0.12714,
    "h": 117.6
  },
  "luminance": 0.42064
}

Semantic roles & 50–950 ramp

primary
#A5B652
secondary
#A39CC8
accent
#57D16C
background
#FCFCF8
surface
#F8F8EF
border
#D1D1CA
text
#13130B
muted
#82827C

Preview Lab

Preview with #A5B652

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

Preview Lab → · Contrast checker → · Palette generator →

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