#A7C138#A7C138

#A7C138 is a light, vivid yellow-green. Relative luminance 0.466; OKLCH L 76.6% C 0.160 H 119.8°. Best body text is #000000 at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#A7C138
RGBrgb(167, 193, 56)
HSLhsl(71, 55%, 49%)
HSVhsv(71, 71%, 76%)
CMYKcmyk(13.5%, 0%, 71%, 24.3%)
CIE-LABlab(73.96, -26.93, 62.35)
CIE-LCHlch(73.96, 67.92, 113.36°)
OKLaboklab(76.63% -0.0796 0.1392)
OKLCHoklch(76.63% 0.16 119.8)
XYZxyz(35.7208, 46.6411, 10.8614)
Luminance0.4664 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7C138 #5238C1
analogous
#C19738 #A7C138 #63C138
triadic
#A7C138 #38A7C1 #C138A7
tetradic
#A7C138 #38C197 #5238C1 #C13863
square
#A7C138 #38C197 #5238C1 #C13863
split-complementary
#A7C138 #3863C1 #9738C1
monochromatic
#55621C #7E922A #A7C138 #BDD264 #D1E094

Accessibility & contrast

On white

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

On black

10.33
#A7C138 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7C138
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7C138#FFFFFF#000000##000000
##A7C1381.002.0310.3310.33
#FFFFFF2.031.0021.0021.00
#00000010.3321.001.001.00
##00000010.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB620
Deuteranopia (green-blind)
#CAB643
Tritanopia (blue-blind)
#B1B7A6
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #a7c138;
/* rgb */ color: rgb(167, 193, 56);
/* oklch */ color: oklch(76.6% 0.160 119.8);
Tailwind
colors: {
  custom: {
    50: '#c4d377',
    500: '#a7c138',
    950: '#000000',
  },
}
SCSS
$custom: #a7c138;
$custom-light: #c4d377;
$custom-dark: #000000;
JSON
{
  "hex": "#a7c138",
  "rgb": {
    "r": 167,
    "g": 193,
    "b": 56
  },
  "hsl": {
    "h": 71.387,
    "s": 55.02,
    "l": 48.824
  },
  "oklch": {
    "l": 0.7663,
    "c": 0.1603,
    "h": 119.8
  },
  "luminance": 0.46641
}

Semantic roles & 50–950 ramp

primary
#A7C138
secondary
#968ACB
accent
#49DE66
background
#FCFCF7
surface
#F8F9EE
border
#D1D2C9
text
#131409
muted
#82827B

Preview Lab

Preview with #A7C138

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

Preview Lab → · Contrast checker → · Palette generator →

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