#A5B72A#A5B72A

#A5B72A is a light, vivid yellow. Relative luminance 0.420; OKLCH L 74.1% C 0.158 H 116.9°. Best body text is #000000 at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#A5B72A
RGBrgb(165, 183, 42)
HSLhsl(68, 63%, 44%)
HSVhsv(68, 77%, 72%)
CMYKcmyk(9.8%, 0%, 77%, 28.2%)
CIE-LABlab(70.89, -23.59, 64.10)
CIE-LCHlch(70.89, 68.30, 110.20°)
OKLaboklab(74.1% -0.0714 0.1406)
OKLCHoklch(74.1% 0.158 116.9)
XYZxyz(32.8693, 42.0339, 8.5719)
Luminance0.4203 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B72A #3C2AB7
analogous
#B7832A #A5B72A #5EB72A
triadic
#A5B72A #2AA5B7 #B72AA5
tetradic
#A5B72A #2AB783 #3C2AB7 #B72A5E
square
#A5B72A #2AB783 #3C2AB7 #B72A5E
split-complementary
#A5B72A #2A5EB7 #832AB7
monochromatic
#4B5313 #78851F #A5B72A #C3D549 #D4E17B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5B72A#FFFFFF#000000##000000
##A5B72A1.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)
#C4AD00
Deuteranopia (green-blind)
#C2AE37
Tritanopia (blue-blind)
#B0AC9D
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #a5b72a;
/* rgb */ color: rgb(165, 183, 42);
/* oklch */ color: oklch(74.1% 0.158 116.9);
Tailwind
colors: {
  custom: {
    50: '#c3cc70',
    500: '#a5b72a',
    950: '#000000',
  },
}
SCSS
$custom: #a5b72a;
$custom-light: #c3cc70;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b72a",
  "rgb": {
    "r": 165,
    "g": 183,
    "b": 42
  },
  "hsl": {
    "h": 67.66,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.74103,
    "c": 0.15766,
    "h": 116.9
  },
  "luminance": 0.42033
}

Semantic roles & 50–950 ramp

primary
#A5B72A
secondary
#7F74C9
accent
#42E657
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A5B72A

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

Preview Lab → · Contrast checker → · Palette generator →

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