#A5B72B#A5B72B

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

Color values

HEX#A5B72B
RGBrgb(165, 183, 43)
HSLhsl(68, 62%, 44%)
HSVhsv(68, 77%, 72%)
CMYKcmyk(9.8%, 0%, 76.5%, 28.2%)
CIE-LABlab(70.90, -23.54, 63.79)
CIE-LCHlch(70.90, 68.00, 110.26°)
OKLaboklab(74.11% -0.0712 0.1401)
OKLCHoklch(74.11% 0.157 116.9)
XYZxyz(32.8874, 42.0411, 8.6673)
Luminance0.4204 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B72B #3D2BB7
analogous
#B7832B #A5B72B #5FB72B
triadic
#A5B72B #2BA5B7 #B72BA5
tetradic
#A5B72B #2BB783 #3D2BB7 #B72B5F
square
#A5B72B #2BB783 #3D2BB7 #B72B5F
split-complementary
#A5B72B #2B5FB7 #832BB7
monochromatic
#4C5414 #78851F #A5B72B #C3D54B #D3E07C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5B72B#FFFFFF#000000##000000
##A5B72B1.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)
#C4AD04
Deuteranopia (green-blind)
#C2AE38
Tritanopia (blue-blind)
#B0AC9D
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #a5b72b;
/* rgb */ color: rgb(165, 183, 43);
/* oklch */ color: oklch(74.1% 0.157 116.9);
Tailwind
colors: {
  custom: {
    50: '#c3cc70',
    500: '#a5b72b',
    950: '#000000',
  },
}
SCSS
$custom: #a5b72b;
$custom-light: #c3cc70;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b72b",
  "rgb": {
    "r": 165,
    "g": 183,
    "b": 43
  },
  "hsl": {
    "h": 67.714,
    "s": 61.947,
    "l": 44.314
  },
  "oklch": {
    "l": 0.74108,
    "c": 0.15714,
    "h": 116.9
  },
  "luminance": 0.42041
}

Semantic roles & 50–950 ramp

primary
#A5B72B
secondary
#8075C9
accent
#43E558
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A5B72B

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

Preview Lab → · Contrast checker → · Palette generator →

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