#A5C226#A5C226

#A5C226 is a light, vivid yellow-green. Relative luminance 0.467; OKLCH L 76.6% C 0.172 H 120.3°. Best body text is #000000 at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#A5C226
RGBrgb(165, 194, 38)
HSLhsl(71, 67%, 45%)
HSVhsv(71, 80%, 76%)
CMYKcmyk(14.9%, 0%, 80.4%, 23.9%)
CIE-LABlab(74.01, -29.06, 68.07)
CIE-LCHlch(74.01, 74.02, 113.12°)
OKLaboklab(76.61% -0.0867 0.1483)
OKLCHoklch(76.61% 0.172 120.3)
XYZxyz(35.1594, 46.7230, 8.9995)
Luminance0.4672 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5C226 #4326C2
analogous
#C29126 #A5C226 #57C226
triadic
#A5C226 #26A5C2 #C226A5
tetradic
#A5C226 #26C291 #4326C2 #C22657
square
#A5C226 #26C291 #4326C2 #C22657
split-complementary
#A5C226 #2657C2 #9126C2
monochromatic
#4E5C12 #798F1C #A5C226 #C0DB4A #D2E67D

Accessibility & contrast

On white

2.03
#A5C226 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.34
#A5C226 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5C226
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5C226#FFFFFF#000000##000000
##A5C2261.002.0310.3410.34
#FFFFFF2.031.0021.0021.00
#00000010.3421.001.001.00
##00000010.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB600
Deuteranopia (green-blind)
#CBB636
Tritanopia (blue-blind)
#AFB7A6
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #a5c226;
/* rgb */ color: rgb(165, 194, 38);
/* oklch */ color: oklch(76.6% 0.172 120.3);
Tailwind
colors: {
  custom: {
    50: '#c4d46f',
    500: '#a5c226',
    950: '#000000',
  },
}
SCSS
$custom: #a5c226;
$custom-light: #c4d46f;
$custom-dark: #000000;
JSON
{
  "hex": "#a5c226",
  "rgb": {
    "r": 165,
    "g": 194,
    "b": 38
  },
  "hsl": {
    "h": 71.154,
    "s": 67.241,
    "l": 45.49
  },
  "oklch": {
    "l": 0.76608,
    "c": 0.17183,
    "h": 120.3
  },
  "luminance": 0.46723
}

Semantic roles & 50–950 ramp

primary
#A5C226
secondary
#8676CE
accent
#3EEA5E
background
#FCFDF7
surface
#F8FAED
border
#D1D3C8
text
#131408
muted
#82837B

Preview Lab

Preview with #A5C226

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

Preview Lab → · Contrast checker → · Palette generator →

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