#7A8E2E#7A8E2E

#7A8E2E is a mid, vivid yellow-green. Relative luminance 0.237; OKLCH L 61.1% C 0.123 H 120.3°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#7A8E2E
RGBrgb(122, 142, 46)
HSLhsl(73, 51%, 37%)
HSVhsv(73, 68%, 56%)
CMYKcmyk(14.1%, 0%, 67.6%, 44.3%)
CIE-LABlab(55.77, -21.19, 46.81)
CIE-LCHlch(55.77, 51.38, 114.36°)
OKLaboklab(61.14% -0.0619 0.106)
OKLCHoklch(61.14% 0.123 120.3)
XYZxyz(18.1925, 23.6809, 6.1967)
Luminance0.2368 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8E2E #422E8E
analogous
#8E722E #7A8E2E #4A8E2E
triadic
#7A8E2E #2E7A8E #8E2E7A
tetradic
#7A8E2E #2E8E72 #422E8E #8E2E4A
square
#7A8E2E #2E8E72 #422E8E #8E2E4A
split-complementary
#7A8E2E #2E4A8E #722E8E
monochromatic
#2B3210 #52601F #7A8E2E #A2BC3D #B9CE68

Accessibility & contrast

On white

3.66
#7A8E2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#7A8E2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A8E2E
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8E2E#FFFFFF#000000##000000
##7A8E2E1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#978621
Deuteranopia (green-blind)
#948635
Tritanopia (blue-blind)
#81877A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7a8e2e;
/* rgb */ color: rgb(122, 142, 46);
/* oklch */ color: oklch(61.1% 0.123 120.3);
Tailwind
colors: {
  custom: {
    50: '#a3af6c',
    500: '#7a8e2e',
    950: '#000000',
  },
}
SCSS
$custom: #7a8e2e;
$custom-light: #a3af6c;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8e2e",
  "rgb": {
    "r": 122,
    "g": 142,
    "b": 46
  },
  "hsl": {
    "h": 72.5,
    "s": 51.064,
    "l": 36.863
  },
  "oklch": {
    "l": 0.61142,
    "c": 0.12279,
    "h": 120.3
  },
  "luminance": 0.23681
}

Semantic roles & 50–950 ramp

primary
#7A8E2E
secondary
#7463B5
accent
#4DDB6B
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #7A8E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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