#A5B82D#A5B82D

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

Color values

HEX#A5B82D
RGBrgb(165, 184, 45)
HSLhsl(68, 61%, 45%)
HSVhsv(68, 76%, 72%)
CMYKcmyk(10.3%, 0%, 75.5%, 27.8%)
CIE-LABlab(71.19, -23.95, 63.43)
CIE-LCHlch(71.19, 67.80, 110.68°)
OKLaboklab(74.35% -0.0722 0.1397)
OKLCHoklch(74.35% 0.157 117.3)
XYZxyz(33.1320, 42.4702, 8.9343)
Luminance0.4247 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B82D #402DB8
analogous
#B8852D #A5B82D #60B82D
triadic
#A5B82D #2DA5B8 #B82DA5
tetradic
#A5B82D #2DB885 #402DB8 #B82D60
square
#A5B82D #2DB885 #402DB8 #B82D60
split-complementary
#A5B82D #2D60B8 #852DB8
monochromatic
#4D5615 #798721 #A5B82D #C2D44E #D3E080

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5B82D#FFFFFF#000000##000000
##A5B82D1.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)
#C5AE0A
Deuteranopia (green-blind)
#C3AF39
Tritanopia (blue-blind)
#AFAD9E
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #a5b82d;
/* rgb */ color: rgb(165, 184, 45);
/* oklch */ color: oklch(74.3% 0.157 117.3);
Tailwind
colors: {
  custom: {
    50: '#c3cd71',
    500: '#a5b82d',
    950: '#000000',
  },
}
SCSS
$custom: #a5b82d;
$custom-light: #c3cd71;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b82d",
  "rgb": {
    "r": 165,
    "g": 184,
    "b": 45
  },
  "hsl": {
    "h": 68.201,
    "s": 60.699,
    "l": 44.902
  },
  "oklch": {
    "l": 0.74348,
    "c": 0.15719,
    "h": 117.3
  },
  "luminance": 0.4247
}

Semantic roles & 50–950 ramp

primary
#A5B82D
secondary
#8378C9
accent
#44E45A
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A5B82D

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

Preview Lab → · Contrast checker → · Palette generator →

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