#A7C151#A7C151

#A7C151 is a light, vivid yellow-green. Relative luminance 0.469; OKLCH L 76.9% C 0.141 H 120.8°. Best body text is #000000 at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#A7C151
RGBrgb(167, 193, 81)
HSLhsl(74, 47%, 54%)
HSVhsv(74, 58%, 76%)
CMYKcmyk(13.5%, 0%, 58%, 24.3%)
CIE-LABlab(74.16, -25.21, 52.33)
CIE-LCHlch(74.16, 58.08, 115.72°)
OKLaboklab(76.85% -0.0724 0.1215)
OKLCHoklch(76.85% 0.141 120.8)
XYZxyz(36.4919, 46.9496, 14.9227)
Luminance0.4695 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7C151 #6B51C1
analogous
#C1A351 #A7C151 #6FC151
triadic
#A7C151 #51A7C1 #C151A7
tetradic
#A7C151 #51C1A3 #6B51C1 #C1516F
square
#A7C151 #51C1A3 #6B51C1 #C1516F
split-complementary
#A7C151 #516FC1 #A351C1
monochromatic
#5F7028 #859D38 #A7C151 #BED17E #D5E1AB

Accessibility & contrast

On white

2.02
#A7C151 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.39
#A7C151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7C151
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7C151#FFFFFF#000000##000000
##A7C1511.002.0210.3910.39
#FFFFFF2.021.0021.0021.00
#00000010.3921.001.001.00
##00000010.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB745
Deuteranopia (green-blind)
#C9B758
Tritanopia (blue-blind)
#AFB8A9
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #a7c151;
/* rgb */ color: rgb(167, 193, 81);
/* oklch */ color: oklch(76.9% 0.141 120.8);
Tailwind
colors: {
  custom: {
    50: '#c3d386',
    500: '#a7c151',
    950: '#000000',
  },
}
SCSS
$custom: #a7c151;
$custom-light: #c3d386;
$custom-dark: #000000;
JSON
{
  "hex": "#a7c151",
  "rgb": {
    "r": 167,
    "g": 193,
    "b": 81
  },
  "hsl": {
    "h": 73.929,
    "s": 47.458,
    "l": 53.725
  },
  "oklch": {
    "l": 0.76853,
    "c": 0.1414,
    "h": 120.8
  },
  "luminance": 0.46949
}

Semantic roles & 50–950 ramp

primary
#A7C151
secondary
#AA9FCF
accent
#51D770
background
#FCFCF8
surface
#F8F9F0
border
#D1D2CB
text
#13140B
muted
#82827C

Preview Lab

Preview with #A7C151

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

Preview Lab → · Contrast checker → · Palette generator →

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