#7A8E20#7A8E20

#7A8E20 is a mid, vivid yellow-green. Relative luminance 0.236; OKLCH L 61.0% C 0.132 H 119.7°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#7A8E20
RGBrgb(122, 142, 32)
HSLhsl(71, 63%, 34%)
HSVhsv(71, 77%, 56%)
CMYKcmyk(14.1%, 0%, 77.5%, 44.3%)
CIE-LABlab(55.67, -22.02, 52.08)
CIE-LCHlch(55.67, 56.55, 112.91°)
OKLaboklab(61.04% -0.0655 0.1148)
OKLCHoklch(61.04% 0.132 119.7)
XYZxyz(17.9601, 23.5880, 4.9730)
Luminance0.2359 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8E20 #34208E
analogous
#8E6B20 #7A8E20 #438E20
triadic
#7A8E20 #207A8E #8E207A
tetradic
#7A8E20 #208E6B #34208E #8E2043
square
#7A8E20 #208E6B #34208E #8E2043
split-complementary
#7A8E20 #20438E #6B208E
monochromatic
#242A09 #4F5C15 #7A8E20 #A5C02B #BFD851

Accessibility & contrast

On white

3.67
#7A8E20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#7A8E20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A8E20
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8E20#FFFFFF#000000##000000
##7A8E201.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#978505
Deuteranopia (green-blind)
#95862A
Tritanopia (blue-blind)
#818679
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #7a8e20;
/* rgb */ color: rgb(122, 142, 32);
/* oklch */ color: oklch(61.0% 0.132 119.7);
Tailwind
colors: {
  custom: {
    50: '#a4af65',
    500: '#7a8e20',
    950: '#000000',
  },
}
SCSS
$custom: #7a8e20;
$custom-light: #a4af65;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8e20",
  "rgb": {
    "r": 122,
    "g": 142,
    "b": 32
  },
  "hsl": {
    "h": 70.909,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.61036,
    "c": 0.13216,
    "h": 119.7
  },
  "luminance": 0.23588
}

Semantic roles & 50–950 ramp

primary
#7A8E20
secondary
#634FBB
accent
#42E65F
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7A8E20

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

Preview Lab → · Contrast checker → · Palette generator →

#7A8E20 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva