#7A8E17#7A8E17

#7A8E17 is a mid, vivid yellow-green. Relative luminance 0.235; OKLCH L 61.0% C 0.137 H 119.5°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#7A8E17
RGBrgb(122, 142, 23)
HSLhsl(70, 72%, 32%)
HSVhsv(70, 84%, 56%)
CMYKcmyk(14.1%, 0%, 83.8%, 44.3%)
CIE-LABlab(55.63, -22.40, 54.79)
CIE-LCHlch(55.63, 59.19, 112.23°)
OKLaboklab(60.99% -0.0672 0.119)
OKLCHoklch(60.99% 0.137 119.5)
XYZxyz(17.8541, 23.5455, 4.4146)
Luminance0.2354 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8E17 #2B178E
analogous
#8E6717 #7A8E17 #3F8E17
triadic
#7A8E17 #177A8E #8E177A
tetradic
#7A8E17 #178E67 #2B178E #8E173F
square
#7A8E17 #178E67 #2B178E #8E173F
split-complementary
#7A8E17 #173F8E #67178E
monochromatic
#1F2506 #4D590E #7A8E17 #A7C320 #C5E03F

Accessibility & contrast

On white

3.68
#7A8E17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#7A8E17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A8E17
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8E17#FFFFFF#000000##000000
##7A8E171.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#988500
Deuteranopia (green-blind)
#958624
Tritanopia (blue-blind)
#828679
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #7a8e17;
/* rgb */ color: rgb(122, 142, 23);
/* oklch */ color: oklch(61.0% 0.137 119.5);
Tailwind
colors: {
  custom: {
    50: '#a4af61',
    500: '#7a8e17',
    950: '#000000',
  },
}
SCSS
$custom: #7a8e17;
$custom-light: #a4af61;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8e17",
  "rgb": {
    "r": 122,
    "g": 142,
    "b": 23
  },
  "hsl": {
    "h": 70.084,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.60987,
    "c": 0.13664,
    "h": 119.5
  },
  "luminance": 0.23545
}

Semantic roles & 50–950 ramp

primary
#7A8E17
secondary
#5640C0
accent
#39EF58
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #7A8E17

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

Preview Lab → · Contrast checker → · Palette generator →

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