#A7D258#A7D258

#A7D258 is a light, vivid yellow-green. Relative luminance 0.550; OKLCH L 80.8% C 0.157 H 126.0°. Best body text is #000000 at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#A7D258
RGBrgb(167, 210, 88)
HSLhsl(81, 58%, 58%)
HSVhsv(81, 58%, 82%)
CMYKcmyk(20.5%, 0%, 58.1%, 17.6%)
CIE-LABlab(79.05, -32.69, 54.72)
CIE-LCHlch(79.05, 63.74, 120.85°)
OKLaboklab(80.82% -0.0926 0.1273)
OKLCHoklch(80.82% 0.157 126)
XYZxyz(40.7444, 55.0127, 17.7026)
Luminance0.5501 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7D258 #8358D2
analogous
#D2C058 #A7D258 #6AD258
triadic
#A7D258 #58A7D2 #D258A7
tetradic
#A7D258 #58D2C0 #8358D2 #D2586A
square
#A7D258 #58D2C0 #8358D2 #D2586A
split-complementary
#A7D258 #586AD2 #C058D2
monochromatic
#678A25 #8BBB32 #A7D258 #C0DF88 #DAECB8

Accessibility & contrast

On white

1.75
#A7D258 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.00
#A7D258 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7D258
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7D258#FFFFFF#000000##000000
##A7D2581.001.7512.0012.00
#FFFFFF1.751.0021.0021.00
#00000012.0021.001.001.00
##00000012.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC54B
Deuteranopia (green-blind)
#D6C360
Tritanopia (blue-blind)
#ADC9B8
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #a7d258;
/* rgb */ color: rgb(167, 210, 88);
/* oklch */ color: oklch(80.8% 0.157 126.0);
Tailwind
colors: {
  custom: {
    50: '#c4e08b',
    500: '#a7d258',
    950: '#000000',
  },
}
SCSS
$custom: #a7d258;
$custom-light: #c4e08b;
$custom-dark: #000000;
JSON
{
  "hex": "#a7d258",
  "rgb": {
    "r": 167,
    "g": 210,
    "b": 88
  },
  "hsl": {
    "h": 81.148,
    "s": 57.547,
    "l": 58.431
  },
  "oklch": {
    "l": 0.80816,
    "c": 0.15745,
    "h": 126
  },
  "luminance": 0.55013
}

Semantic roles & 50–950 ramp

primary
#A7D258
secondary
#5B3E91
accent
#47E17D
background
#FDFEFC
surface
#F9FCF4
border
#D2D5CE
text
#13150C
muted
#82847F

Preview Lab

Preview with #A7D258

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

Preview Lab → · Contrast checker → · Palette generator →

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