#A5B72C#A5B72C

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

Color values

HEX#A5B72C
RGBrgb(165, 183, 44)
HSLhsl(68, 61%, 45%)
HSVhsv(68, 76%, 72%)
CMYKcmyk(9.8%, 0%, 76%, 28.2%)
CIE-LABlab(70.90, -23.50, 63.48)
CIE-LCHlch(70.90, 67.69, 110.31°)
OKLaboklab(74.11% -0.071 0.1396)
OKLCHoklch(74.11% 0.157 117)
XYZxyz(32.9060, 42.0486, 8.7651)
Luminance0.4205 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B72C #3E2CB7
analogous
#B7842C #A5B72C #60B72C
triadic
#A5B72C #2CA5B7 #B72CA5
tetradic
#A5B72C #2CB784 #3E2CB7 #B72C60
square
#A5B72C #2CB784 #3E2CB7 #B72C60
split-complementary
#A5B72C #2C60B7 #842CB7
monochromatic
#4C5414 #798620 #A5B72C #C2D44C #D3E07E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5B72C#FFFFFF#000000##000000
##A5B72C1.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)
#C4AD07
Deuteranopia (green-blind)
#C2AE39
Tritanopia (blue-blind)
#B0AC9D
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #a5b72c;
/* rgb */ color: rgb(165, 183, 44);
/* oklch */ color: oklch(74.1% 0.157 117.0);
Tailwind
colors: {
  custom: {
    50: '#c3cc70',
    500: '#a5b72c',
    950: '#000000',
  },
}
SCSS
$custom: #a5b72c;
$custom-light: #c3cc70;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b72c",
  "rgb": {
    "r": 165,
    "g": 183,
    "b": 44
  },
  "hsl": {
    "h": 67.77,
    "s": 61.233,
    "l": 44.51
  },
  "oklch": {
    "l": 0.74114,
    "c": 0.15661,
    "h": 117
  },
  "luminance": 0.42048
}

Semantic roles & 50–950 ramp

primary
#A5B72C
secondary
#8176C8
accent
#43E458
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A5B72C

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

Preview Lab → · Contrast checker → · Palette generator →

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