#A5B82E#A5B82E

#A5B82E is a light, vivid yellow. Relative luminance 0.425; OKLCH L 74.4% C 0.157 H 117.3°. Best body text is #000000 at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#A5B82E
RGBrgb(165, 184, 46)
HSLhsl(68, 60%, 45%)
HSVhsv(68, 75%, 72%)
CMYKcmyk(10.3%, 0%, 75%, 27.8%)
CIE-LABlab(71.20, -23.90, 63.10)
CIE-LCHlch(71.20, 67.48, 110.74°)
OKLaboklab(74.35% -0.0719 0.1391)
OKLCHoklch(74.35% 0.157 117.3)
XYZxyz(33.1515, 42.4780, 9.0369)
Luminance0.4248 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B82E #412EB8
analogous
#B8862E #A5B82E #60B82E
triadic
#A5B82E #2EA5B8 #B82EA5
tetradic
#A5B82E #2EB886 #412EB8 #B82E60
square
#A5B82E #2EB886 #412EB8 #B82E60
split-complementary
#A5B82E #2E60B8 #862EB8
monochromatic
#4D5616 #798722 #A5B82E #C1D350 #D2DF81

Accessibility & contrast

On white

2.21
#A5B82E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.50
#A5B82E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B82E
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B82E#FFFFFF#000000##000000
##A5B82E1.002.219.509.50
#FFFFFF2.211.0021.0021.00
#0000009.5021.001.001.00
##0000009.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE0E
Deuteranopia (green-blind)
#C3AF3A
Tritanopia (blue-blind)
#AFAE9E
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #a5b82e;
/* rgb */ color: rgb(165, 184, 46);
/* oklch */ color: oklch(74.4% 0.157 117.3);
Tailwind
colors: {
  custom: {
    50: '#c3cd71',
    500: '#a5b82e',
    950: '#000000',
  },
}
SCSS
$custom: #a5b82e;
$custom-light: #c3cd71;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b82e",
  "rgb": {
    "r": 165,
    "g": 184,
    "b": 46
  },
  "hsl": {
    "h": 68.261,
    "s": 60,
    "l": 45.098
  },
  "oklch": {
    "l": 0.74354,
    "c": 0.15664,
    "h": 117.3
  },
  "luminance": 0.42478
}

Semantic roles & 50–950 ramp

primary
#A5B82E
secondary
#8479C8
accent
#45E35A
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A5B82E

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

Preview Lab → · Contrast checker → · Palette generator →

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