#A5B22E#A5B22E

#A5B22E is a light, vivid yellow. Relative luminance 0.400; OKLCH L 73.0% C 0.150 H 115.2°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#A5B22E
RGBrgb(165, 178, 46)
HSLhsl(66, 59%, 44%)
HSVhsv(66, 74%, 70%)
CMYKcmyk(7.3%, 0%, 74.2%, 30.2%)
CIE-LABlab(69.50, -20.93, 61.50)
CIE-LCHlch(69.50, 64.96, 108.80°)
OKLaboklab(72.99% -0.0637 0.1358)
OKLCHoklch(72.99% 0.15 115.2)
XYZxyz(31.9315, 40.0379, 8.6302)
Luminance0.4004 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B22E #3B2EB2
analogous
#B27D2E #A5B22E #63B22E
triadic
#A5B22E #2EA5B2 #B22EA5
tetradic
#A5B22E #2EB27D #3B2EB2 #B22E63
square
#A5B22E #2EB27D #3B2EB2 #B22E63
split-complementary
#A5B22E #2E63B2 #7D2EB2
monochromatic
#4B5115 #788121 #A5B22E #C4D14C #D4DD7D

Accessibility & contrast

On white

2.33
#A5B22E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.01
#A5B22E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B22E
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B22E#FFFFFF#000000##000000
##A5B22E1.002.339.019.01
#FFFFFF2.331.0021.0021.00
#0000009.0121.001.001.00
##0000009.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA912
Deuteranopia (green-blind)
#BEAB39
Tritanopia (blue-blind)
#B0A799
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a5b22e;
/* rgb */ color: rgb(165, 178, 46);
/* oklch */ color: oklch(73.0% 0.150 115.2);
Tailwind
colors: {
  custom: {
    50: '#c3c871',
    500: '#a5b22e',
    950: '#000000',
  },
}
SCSS
$custom: #a5b22e;
$custom-light: #c3c871;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b22e",
  "rgb": {
    "r": 165,
    "g": 178,
    "b": 46
  },
  "hsl": {
    "h": 65.909,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.72987,
    "c": 0.14997,
    "h": 115.2
  },
  "luminance": 0.40037
}

Semantic roles & 50–950 ramp

primary
#A5B22E
secondary
#7E76C6
accent
#46E255
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A5B22E

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

Preview Lab → · Contrast checker → · Palette generator →

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