#7A8F2D#7A8F2D

#7A8F2D is a mid, vivid yellow-green. Relative luminance 0.240; OKLCH L 61.4% C 0.125 H 120.6°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#7A8F2D
RGBrgb(122, 143, 45)
HSLhsl(73, 52%, 37%)
HSVhsv(73, 69%, 56%)
CMYKcmyk(14.7%, 0%, 68.5%, 43.9%)
CIE-LABlab(56.06, -21.77, 47.53)
CIE-LCHlch(56.06, 52.28, 114.61°)
OKLaboklab(61.38% -0.0636 0.1074)
OKLCHoklch(61.38% 0.125 120.6)
XYZxyz(18.3224, 23.9720, 6.1439)
Luminance0.2397 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8F2D #422D8F
analogous
#8F732D #7A8F2D #498F2D
triadic
#7A8F2D #2D7A8F #8F2D7A
tetradic
#7A8F2D #2D8F73 #422D8F #8F2D49
square
#7A8F2D #2D8F73 #422D8F #8F2D49
split-complementary
#7A8F2D #2D498F #732D8F
monochromatic
#2B3210 #52601E #7A8F2D #A2BE3C #B9CF67

Accessibility & contrast

On white

3.62
#7A8F2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#7A8F2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A8F2D
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8F2D#FFFFFF#000000##000000
##7A8F2D1.003.625.795.79
#FFFFFF3.621.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#98871F
Deuteranopia (green-blind)
#958734
Tritanopia (blue-blind)
#81887B
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7a8f2d;
/* rgb */ color: rgb(122, 143, 45);
/* oklch */ color: oklch(61.4% 0.125 120.6);
Tailwind
colors: {
  custom: {
    50: '#a3af6c',
    500: '#7a8f2d',
    950: '#000000',
  },
}
SCSS
$custom: #7a8f2d;
$custom-light: #a3af6c;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8f2d",
  "rgb": {
    "r": 122,
    "g": 143,
    "b": 45
  },
  "hsl": {
    "h": 72.857,
    "s": 52.128,
    "l": 36.863
  },
  "oklch": {
    "l": 0.61375,
    "c": 0.12483,
    "h": 120.6
  },
  "luminance": 0.23972
}

Semantic roles & 50–950 ramp

primary
#7A8F2D
secondary
#7462B6
accent
#4CDC6B
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #7A8F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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