#A7D238#A7D238

#A7D238 is a light, vivid yellow-green. Relative luminance 0.546; OKLCH L 80.5% C 0.180 H 124.2°. Best body text is #000000 at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#A7D238
RGBrgb(167, 210, 56)
HSLhsl(77, 63%, 52%)
HSVhsv(77, 73%, 82%)
CMYKcmyk(20.5%, 0%, 73.3%, 17.6%)
CIE-LABlab(78.81, -34.90, 67.08)
CIE-LCHlch(78.81, 75.61, 117.49°)
OKLaboklab(80.54% -0.1015 0.1491)
OKLCHoklch(80.54% 0.18 124.2)
XYZxyz(39.6971, 54.5938, 12.1869)
Luminance0.5459 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7D238 #6338D2
analogous
#D2B038 #A7D238 #5AD238
triadic
#A7D238 #38A7D2 #D238A7
tetradic
#A7D238 #38D2B0 #6338D2 #D2385A
square
#A7D238 #38D2B0 #6338D2 #D2385A
split-complementary
#A7D238 #385AD2 #B038D2
monochromatic
#5C751A #83A726 #A7D238 #BDDD6A #D3E99C

Accessibility & contrast

On white

1.76
#A7D238 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.92
#A7D238 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7D238
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7D238#FFFFFF#000000##000000
##A7D2381.001.7611.9211.92
#FFFFFF1.761.0021.0021.00
#00000011.9221.001.001.00
##00000011.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC418
Deuteranopia (green-blind)
#D8C346
Tritanopia (blue-blind)
#AFC8B5
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #a7d238;
/* rgb */ color: rgb(167, 210, 56);
/* oklch */ color: oklch(80.5% 0.180 124.2);
Tailwind
colors: {
  custom: {
    50: '#c5e079',
    500: '#a7d238',
    950: '#000000',
  },
}
SCSS
$custom: #a7d238;
$custom-light: #c5e079;
$custom-dark: #000000;
JSON
{
  "hex": "#a7d238",
  "rgb": {
    "r": 167,
    "g": 210,
    "b": 56
  },
  "hsl": {
    "h": 76.753,
    "s": 63.115,
    "l": 52.157
  },
  "oklch": {
    "l": 0.80543,
    "c": 0.18036,
    "h": 124.2
  },
  "luminance": 0.54594
}

Semantic roles & 50–950 ramp

primary
#A7D238
secondary
#46317E
accent
#42E670
background
#FEFEFB
surface
#FAFCF2
border
#D3D5CC
text
#13150A
muted
#83847D

Preview Lab

Preview with #A7D238

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

Preview Lab → · Contrast checker → · Palette generator →

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