#A5B82B#A5B82B

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

Color values

HEX#A5B82B
RGBrgb(165, 184, 43)
HSLhsl(68, 62%, 45%)
HSVhsv(68, 77%, 72%)
CMYKcmyk(10.3%, 0%, 76.6%, 27.8%)
CIE-LABlab(71.18, -24.03, 64.05)
CIE-LCHlch(71.18, 68.42, 110.57°)
OKLaboklab(74.34% -0.0726 0.1406)
OKLCHoklch(74.34% 0.158 117.3)
XYZxyz(33.0944, 42.4551, 8.7363)
Luminance0.4245 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B82B #3E2BB8
analogous
#B8852B #A5B82B #5FB82B
triadic
#A5B82B #2BA5B8 #B82BA5
tetradic
#A5B82B #2BB885 #3E2BB8 #B82B5F
square
#A5B82B #2BB885 #3E2BB8 #B82B5F
split-complementary
#A5B82B #2B5FB8 #852BB8
monochromatic
#4C5514 #79861F #A5B82B #C2D54B #D3E17D

Accessibility & contrast

On white

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

On black

9.49
#A5B82B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B82B
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B82B#FFFFFF#000000##000000
##A5B82B1.002.219.499.49
#FFFFFF2.211.0021.0021.00
#0000009.4921.001.001.00
##0000009.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE03
Deuteranopia (green-blind)
#C3AF38
Tritanopia (blue-blind)
#AFAD9E
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #a5b82b;
/* rgb */ color: rgb(165, 184, 43);
/* oklch */ color: oklch(74.3% 0.158 117.3);
Tailwind
colors: {
  custom: {
    50: '#c3cd70',
    500: '#a5b82b',
    950: '#000000',
  },
}
SCSS
$custom: #a5b82b;
$custom-light: #c3cd70;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b82b",
  "rgb": {
    "r": 165,
    "g": 184,
    "b": 43
  },
  "hsl": {
    "h": 68.085,
    "s": 62.115,
    "l": 44.51
  },
  "oklch": {
    "l": 0.74337,
    "c": 0.15825,
    "h": 117.3
  },
  "luminance": 0.42455
}

Semantic roles & 50–950 ramp

primary
#A5B82B
secondary
#8176C9
accent
#43E559
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A5B82B

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

Preview Lab → · Contrast checker → · Palette generator →

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