#7A8F1E#7A8F1E

#7A8F1E is a mid, vivid yellow-green. Relative luminance 0.239; OKLCH L 61.3% C 0.134 H 120.0°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#7A8F1E
RGBrgb(122, 143, 30)
HSLhsl(71, 65%, 34%)
HSVhsv(71, 79%, 56%)
CMYKcmyk(14.7%, 0%, 79%, 43.9%)
CIE-LABlab(55.96, -22.61, 53.01)
CIE-LCHlch(55.96, 57.64, 113.10°)
OKLaboklab(61.27% -0.0673 0.1164)
OKLCHoklch(61.27% 0.134 120)
XYZxyz(18.0832, 23.8763, 4.8840)
Luminance0.2388 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8F1E #331E8F
analogous
#8F6C1E #7A8F1E #428F1E
triadic
#7A8F1E #1E7A8F #8F1E7A
tetradic
#7A8F1E #1E8F6C #331E8F #8F1E42
square
#7A8F1E #1E8F6C #331E8F #8F1E42
split-complementary
#7A8F1E #1E428F #6C1E8F
monochromatic
#242A09 #4F5C13 #7A8F1E #A5C229 #C0DA4E

Accessibility & contrast

On white

3.64
#7A8F1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#7A8F1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A8F1E
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8F1E#FFFFFF#000000##000000
##7A8F1E1.003.645.785.78
#FFFFFF3.641.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a8f1e;
/* rgb */ color: rgb(122, 143, 30);
/* oklch */ color: oklch(61.3% 0.134 120.0);
Tailwind
colors: {
  custom: {
    50: '#a4af64',
    500: '#7a8f1e',
    950: '#000000',
  },
}
SCSS
$custom: #7a8f1e;
$custom-light: #a4af64;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8f1e",
  "rgb": {
    "r": 122,
    "g": 143,
    "b": 30
  },
  "hsl": {
    "h": 71.15,
    "s": 65.318,
    "l": 33.922
  },
  "oklch": {
    "l": 0.61267,
    "c": 0.13447,
    "h": 120
  },
  "luminance": 0.23876
}

Semantic roles & 50–950 ramp

primary
#7A8F1E
secondary
#614CBC
accent
#40E85F
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7A8F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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