#A5B72D#A5B72D

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

Color values

HEX#A5B72D
RGBrgb(165, 183, 45)
HSLhsl(68, 61%, 45%)
HSVhsv(68, 75%, 72%)
CMYKcmyk(9.8%, 0%, 75.4%, 28.2%)
CIE-LABlab(70.91, -23.46, 63.16)
CIE-LCHlch(70.91, 67.37, 110.37°)
OKLaboklab(74.12% -0.0708 0.1391)
OKLCHoklch(74.12% 0.156 117)
XYZxyz(32.9250, 42.0562, 8.8653)
Luminance0.4206 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B72D #3F2DB7
analogous
#B7842D #A5B72D #60B72D
triadic
#A5B72D #2DA5B7 #B72DA5
tetradic
#A5B72D #2DB784 #3F2DB7 #B72D60
square
#A5B72D #2DB784 #3F2DB7 #B72D60
split-complementary
#A5B72D #2D60B7 #842DB7
monochromatic
#4C5515 #798621 #A5B72D #C2D34E #D3DF7F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5B72D#FFFFFF#000000##000000
##A5B72D1.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)
#C4AD0B
Deuteranopia (green-blind)
#C2AE39
Tritanopia (blue-blind)
#AFAC9D
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #a5b72d;
/* rgb */ color: rgb(165, 183, 45);
/* oklch */ color: oklch(74.1% 0.156 117.0);
Tailwind
colors: {
  custom: {
    50: '#c3cc71',
    500: '#a5b72d',
    950: '#000000',
  },
}
SCSS
$custom: #a5b72d;
$custom-light: #c3cc71;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b72d",
  "rgb": {
    "r": 165,
    "g": 183,
    "b": 45
  },
  "hsl": {
    "h": 67.826,
    "s": 60.526,
    "l": 44.706
  },
  "oklch": {
    "l": 0.7412,
    "c": 0.15608,
    "h": 117
  },
  "luminance": 0.42056
}

Semantic roles & 50–950 ramp

primary
#A5B72D
secondary
#8278C8
accent
#44E459
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A5B72D

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

Preview Lab → · Contrast checker → · Palette generator →

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