#A5B72F#A5B72F

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

Color values

HEX#A5B72F
RGBrgb(165, 183, 47)
HSLhsl(68, 59%, 45%)
HSVhsv(68, 74%, 72%)
CMYKcmyk(9.8%, 0%, 74.3%, 28.2%)
CIE-LABlab(70.92, -23.36, 62.51)
CIE-LCHlch(70.92, 66.73, 110.49°)
OKLaboklab(74.13% -0.0704 0.1381)
OKLCHoklch(74.13% 0.155 117)
XYZxyz(32.9644, 42.0719, 9.0729)
Luminance0.4207 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B72F #412FB7
analogous
#B7852F #A5B72F #61B72F
triadic
#A5B72F #2FA5B7 #B72FA5
tetradic
#A5B72F #2FB785 #412FB7 #B72F61
square
#A5B72F #2FB785 #412FB7 #B72F61
split-complementary
#A5B72F #2F61B7 #852FB7
monochromatic
#4D5616 #798622 #A5B72F #C1D251 #D2DF82

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5B72F#FFFFFF#000000##000000
##A5B72F1.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)
#C4AD11
Deuteranopia (green-blind)
#C2AE3B
Tritanopia (blue-blind)
#AFAD9D
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #a5b72f;
/* rgb */ color: rgb(165, 183, 47);
/* oklch */ color: oklch(74.1% 0.155 117.0);
Tailwind
colors: {
  custom: {
    50: '#c3cc72',
    500: '#a5b72f',
    950: '#000000',
  },
}
SCSS
$custom: #a5b72f;
$custom-light: #c3cc72;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b72f",
  "rgb": {
    "r": 165,
    "g": 183,
    "b": 47
  },
  "hsl": {
    "h": 67.941,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.74132,
    "c": 0.15496,
    "h": 117
  },
  "luminance": 0.42072
}

Semantic roles & 50–950 ramp

primary
#A5B72F
secondary
#847AC8
accent
#45E25A
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A5B72F

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

Preview Lab → · Contrast checker → · Palette generator →

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