#A5B82F#A5B82F

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

Color values

HEX#A5B82F
RGBrgb(165, 184, 47)
HSLhsl(68, 59%, 45%)
HSVhsv(68, 74%, 72%)
CMYKcmyk(10.3%, 0%, 74.5%, 27.8%)
CIE-LABlab(71.20, -23.85, 62.78)
CIE-LCHlch(71.20, 67.16, 110.81°)
OKLaboklab(74.36% -0.0717 0.1386)
OKLCHoklch(74.36% 0.156 117.4)
XYZxyz(33.1714, 42.4859, 9.1419)
Luminance0.4249 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B82F #422FB8
analogous
#B8862F #A5B82F #61B82F
triadic
#A5B82F #2FA5B8 #B82FA5
tetradic
#A5B82F #2FB886 #422FB8 #B82F61
square
#A5B82F #2FB886 #422FB8 #B82F61
split-complementary
#A5B82F #2F61B8 #862FB8
monochromatic
#4E5716 #798723 #A5B82F #C1D352 #D2DF82

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5B82F#FFFFFF#000000##000000
##A5B82F1.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)
#C5AE10
Deuteranopia (green-blind)
#C3AF3B
Tritanopia (blue-blind)
#AFAE9E
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #a5b82f;
/* rgb */ color: rgb(165, 184, 47);
/* oklch */ color: oklch(74.4% 0.156 117.4);
Tailwind
colors: {
  custom: {
    50: '#c3cd72',
    500: '#a5b82f',
    950: '#000000',
  },
}
SCSS
$custom: #a5b82f;
$custom-light: #c3cd72;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b82f",
  "rgb": {
    "r": 165,
    "g": 184,
    "b": 47
  },
  "hsl": {
    "h": 68.321,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.7436,
    "c": 0.15608,
    "h": 117.4
  },
  "luminance": 0.42486
}

Semantic roles & 50–950 ramp

primary
#A5B82F
secondary
#857BC8
accent
#45E25B
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A5B82F

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

Preview Lab → · Contrast checker → · Palette generator →

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