#A5C262#A5C262

#A5C262 is a light, vivid yellow-green. Relative luminance 0.475; OKLCH L 77.1% C 0.127 H 123.2°. Best body text is #000000 at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#A5C262
RGBrgb(165, 194, 98)
HSLhsl(78, 44%, 57%)
HSVhsv(78, 49%, 76%)
CMYKcmyk(14.9%, 0%, 49.5%, 23.9%)
CIE-LABlab(74.49, -24.90, 44.71)
CIE-LCHlch(74.49, 51.18, 119.11°)
OKLaboklab(77.14% -0.0699 0.1066)
OKLCHoklch(77.14% 0.127 123.2)
XYZxyz(37.0135, 47.4646, 18.7645)
Luminance0.4747 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5C262 #7F62C2
analogous
#C2AF62 #A5C262 #75C262
triadic
#A5C262 #62A5C2 #C262A5
tetradic
#A5C262 #62C2AF #7F62C2 #C26275
square
#A5C262 #62C2AF #7F62C2 #C26275
split-complementary
#A5C262 #6275C2 #AF62C2
monochromatic
#647A2F #88A641 #A5C262 #BED38E #D8E4BA

Accessibility & contrast

On white

2.00
#A5C262 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.49
#A5C262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5C262
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5C262#FFFFFF#000000##000000
##A5C2621.002.0010.4910.49
#FFFFFF2.001.0021.0021.00
#00000010.4921.001.001.00
##00000010.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB85A
Deuteranopia (green-blind)
#C8B768
Tritanopia (blue-blind)
#ABBAAC
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #a5c262;
/* rgb */ color: rgb(165, 194, 98);
/* oklch */ color: oklch(77.1% 0.127 123.2);
Tailwind
colors: {
  custom: {
    50: '#c1d491',
    500: '#a5c262',
    950: '#000000',
  },
}
SCSS
$custom: #a5c262;
$custom-light: #c1d491;
$custom-dark: #000000;
JSON
{
  "hex": "#a5c262",
  "rgb": {
    "r": 165,
    "g": 194,
    "b": 98
  },
  "hsl": {
    "h": 78.125,
    "s": 44.037,
    "l": 57.255
  },
  "oklch": {
    "l": 0.77141,
    "c": 0.12745,
    "h": 123.2
  },
  "luminance": 0.47465
}

Semantic roles & 50–950 ramp

primary
#A5C262
secondary
#B8ACD3
accent
#54D47B
background
#FCFDF9
surface
#F8FAF1
border
#D1D3CB
text
#12140D
muted
#81837E

Preview Lab

Preview with #A5C262

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

Preview Lab → · Contrast checker → · Palette generator →

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