#7A8D22#7A8D22

#7A8D22 is a mid, vivid yellow-green. Relative luminance 0.233; OKLCH L 60.8% C 0.130 H 119.4°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#7A8D22
RGBrgb(122, 141, 34)
HSLhsl(71, 61%, 34%)
HSVhsv(71, 76%, 55%)
CMYKcmyk(13.5%, 0%, 75.9%, 44.7%)
CIE-LABlab(55.38, -21.41, 51.12)
CIE-LCHlch(55.38, 55.42, 112.72°)
OKLaboklab(60.81% -0.0637 0.1131)
OKLCHoklch(60.81% 0.13 119.4)
XYZxyz(17.8400, 23.3029, 5.0712)
Luminance0.2330 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8D22 #35228D
analogous
#8D6B22 #7A8D22 #458D22
triadic
#7A8D22 #227A8D #8D227A
tetradic
#7A8D22 #228D6B #35228D #8D2245
square
#7A8D22 #228D6B #35228D #8D2245
split-complementary
#7A8D22 #22458D #6B228D
monochromatic
#252A0A #4F5C16 #7A8D22 #A5BE2E #BFD654

Accessibility & contrast

On white

3.71
#7A8D22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#7A8D22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A8D22
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8D22#FFFFFF#000000##000000
##7A8D221.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#96850B
Deuteranopia (green-blind)
#94852B
Tritanopia (blue-blind)
#818579
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #7a8d22;
/* rgb */ color: rgb(122, 141, 34);
/* oklch */ color: oklch(60.8% 0.130 119.4);
Tailwind
colors: {
  custom: {
    50: '#a4ae66',
    500: '#7a8d22',
    950: '#000000',
  },
}
SCSS
$custom: #7a8d22;
$custom-light: #a4ae66;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8d22",
  "rgb": {
    "r": 122,
    "g": 141,
    "b": 34
  },
  "hsl": {
    "h": 70.654,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.60806,
    "c": 0.12979,
    "h": 119.4
  },
  "luminance": 0.23303
}

Semantic roles & 50–950 ramp

primary
#7A8D22
secondary
#6451B9
accent
#44E460
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #7A8D22

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

Preview Lab → · Contrast checker → · Palette generator →

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