#7A8E18#7A8E18

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

Color values

HEX#7A8E18
RGBrgb(122, 142, 24)
HSLhsl(70, 71%, 33%)
HSVhsv(70, 83%, 56%)
CMYKcmyk(14.1%, 0%, 83.1%, 44.3%)
CIE-LABlab(55.63, -22.36, 54.52)
CIE-LCHlch(55.63, 58.93, 112.30°)
OKLaboklab(60.99% -0.0671 0.1185)
OKLCHoklch(60.99% 0.136 119.5)
XYZxyz(17.8643, 23.5496, 4.4684)
Luminance0.2355 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8E18 #2C188E
analogous
#8E6718 #7A8E18 #3F8E18
triadic
#7A8E18 #187A8E #8E187A
tetradic
#7A8E18 #188E67 #2C188E #8E183F
square
#7A8E18 #188E67 #2C188E #8E183F
split-complementary
#7A8E18 #183F8E #67188E
monochromatic
#202506 #4D5A0F #7A8E18 #A7C221 #C4DF41

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A8E18#FFFFFF#000000##000000
##7A8E181.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)
#958625
Tritanopia (blue-blind)
#828679
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #7a8e18;
/* rgb */ color: rgb(122, 142, 24);
/* oklch */ color: oklch(61.0% 0.136 119.5);
Tailwind
colors: {
  custom: {
    50: '#a4af61',
    500: '#7a8e18',
    950: '#000000',
  },
}
SCSS
$custom: #7a8e18;
$custom-light: #a4af61;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8e18",
  "rgb": {
    "r": 122,
    "g": 142,
    "b": 24
  },
  "hsl": {
    "h": 70.169,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.60992,
    "c": 0.1362,
    "h": 119.5
  },
  "luminance": 0.2355
}

Semantic roles & 50–950 ramp

primary
#7A8E18
secondary
#5742C0
accent
#3AEE58
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7A8E18

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

Preview Lab → · Contrast checker → · Palette generator →

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