#A5B72E#A5B72E

#A5B72E 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#A5B72E
RGBrgb(165, 183, 46)
HSLhsl(68, 60%, 45%)
HSVhsv(68, 75%, 72%)
CMYKcmyk(9.8%, 0%, 74.9%, 28.2%)
CIE-LABlab(70.92, -23.41, 62.84)
CIE-LCHlch(70.92, 67.05, 110.43°)
OKLaboklab(74.13% -0.0706 0.1386)
OKLCHoklch(74.13% 0.156 117)
XYZxyz(32.9445, 42.0640, 8.9679)
Luminance0.4206 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B72E #402EB7
analogous
#B7842E #A5B72E #61B72E
triadic
#A5B72E #2EA5B7 #B72EA5
tetradic
#A5B72E #2EB784 #402EB7 #B72E61
square
#A5B72E #2EB784 #402EB7 #B72E61
split-complementary
#A5B72E #2E61B7 #842EB7
monochromatic
#4D5515 #798622 #A5B72E #C2D34F #D3DF80

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5B72E#FFFFFF#000000##000000
##A5B72E1.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)
#C4AD0E
Deuteranopia (green-blind)
#C2AE3A
Tritanopia (blue-blind)
#AFAD9D
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #a5b72e;
/* rgb */ color: rgb(165, 183, 46);
/* oklch */ color: oklch(74.1% 0.156 117.0);
Tailwind
colors: {
  custom: {
    50: '#c3cc71',
    500: '#a5b72e',
    950: '#000000',
  },
}
SCSS
$custom: #a5b72e;
$custom-light: #c3cc71;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b72e",
  "rgb": {
    "r": 165,
    "g": 183,
    "b": 46
  },
  "hsl": {
    "h": 67.883,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.74126,
    "c": 0.15552,
    "h": 117
  },
  "luminance": 0.42064
}

Semantic roles & 50–950 ramp

primary
#A5B72E
secondary
#8379C8
accent
#45E35A
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A5B72E

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

Preview Lab → · Contrast checker → · Palette generator →

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