#A5B52E#A5B52E

#A5B52E is a light, vivid yellow. Relative luminance 0.412; OKLCH L 73.7% C 0.153 H 116.3°. Best body text is #000000 at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#A5B52E
RGBrgb(165, 181, 46)
HSLhsl(67, 59%, 45%)
HSVhsv(67, 75%, 71%)
CMYKcmyk(8.8%, 0%, 74.6%, 29%)
CIE-LABlab(70.35, -22.42, 62.30)
CIE-LCHlch(70.35, 66.21, 109.79°)
OKLaboklab(73.67% -0.0679 0.1374)
OKLCHoklch(73.67% 0.153 116.3)
XYZxyz(32.5349, 41.2448, 8.8314)
Luminance0.4124 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B52E #3E2EB5
analogous
#B5822E #A5B52E #62B52E
triadic
#A5B52E #2EA5B5 #B52EA5
tetradic
#A5B52E #2EB582 #3E2EB5 #B52E62
square
#A5B52E #2EB582 #3E2EB5 #B52E62
split-complementary
#A5B52E #2E62B5 #822EB5
monochromatic
#4C5315 #798422 #A5B52E #C2D24E #D3DE7F

Accessibility & contrast

On white

2.27
#A5B52E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.25
#A5B52E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B52E
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B52E#FFFFFF#000000##000000
##A5B52E1.002.279.259.25
#FFFFFF2.271.0021.0021.00
#0000009.2521.001.001.00
##0000009.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AB10
Deuteranopia (green-blind)
#C0AD3A
Tritanopia (blue-blind)
#B0AB9B
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #a5b52e;
/* rgb */ color: rgb(165, 181, 46);
/* oklch */ color: oklch(73.7% 0.153 116.3);
Tailwind
colors: {
  custom: {
    50: '#c3cb71',
    500: '#a5b52e',
    950: '#000000',
  },
}
SCSS
$custom: #a5b52e;
$custom-light: #c3cb71;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b52e",
  "rgb": {
    "r": 165,
    "g": 181,
    "b": 46
  },
  "hsl": {
    "h": 67.111,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.7367,
    "c": 0.15328,
    "h": 116.3
  },
  "luminance": 0.41244
}

Semantic roles & 50–950 ramp

primary
#A5B52E
secondary
#8178C7
accent
#45E358
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A5B52E

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

Preview Lab → · Contrast checker → · Palette generator →

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