#A7C838#A7C838

#A7C838 is a light, vivid yellow-green. Relative luminance 0.498; OKLCH L 78.2% C 0.169 H 121.8°. Best body text is #000000 at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#A7C838
RGBrgb(167, 200, 56)
HSLhsl(74, 57%, 50%)
HSVhsv(74, 72%, 78%)
CMYKcmyk(16.5%, 0%, 72%, 21.6%)
CIE-LABlab(75.95, -30.26, 64.30)
CIE-LCHlch(75.95, 71.07, 115.20°)
OKLaboklab(78.24% -0.0888 0.1433)
OKLCHoklch(78.24% 0.169 121.8)
XYZxyz(37.3050, 49.8095, 11.3895)
Luminance0.4981 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7C838 #5938C8
analogous
#C8A138 #A7C838 #5FC838
triadic
#A7C838 #38A7C8 #C838A7
tetradic
#A7C838 #38C8A1 #5938C8 #C8385F
square
#A7C838 #38C8A1 #5938C8 #C8385F
split-complementary
#A7C838 #385FC8 #A138C8
monochromatic
#57691D #7F992A #A7C838 #BCD568 #D1E398

Accessibility & contrast

On white

1.92
#A7C838 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.96
#A7C838 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7C838
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7C838#FFFFFF#000000##000000
##A7C8381.001.9210.9610.96
#FFFFFF1.921.0021.0021.00
#00000010.9621.001.001.00
##00000010.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BC1D
Deuteranopia (green-blind)
#D0BB44
Tritanopia (blue-blind)
#B0BEAC
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #a7c838;
/* rgb */ color: rgb(167, 200, 56);
/* oklch */ color: oklch(78.2% 0.169 121.8);
Tailwind
colors: {
  custom: {
    50: '#c5d878',
    500: '#a7c838',
    950: '#000000',
  },
}
SCSS
$custom: #a7c838;
$custom-light: #c5d878;
$custom-dark: #000000;
JSON
{
  "hex": "#a7c838",
  "rgb": {
    "r": 167,
    "g": 200,
    "b": 56
  },
  "hsl": {
    "h": 73.75,
    "s": 56.693,
    "l": 50.196
  },
  "oklch": {
    "l": 0.78237,
    "c": 0.16854,
    "h": 121.8
  },
  "luminance": 0.4981
}

Semantic roles & 50–950 ramp

primary
#A7C838
secondary
#9C8ECE
accent
#48E06B
background
#FCFDF7
surface
#F8FAEE
border
#D1D3C9
text
#13140A
muted
#82837C

Preview Lab

Preview with #A7C838

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

Preview Lab → · Contrast checker → · Palette generator →

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