#7A8F1A#7A8F1A

#7A8F1A is a mid, vivid yellow-green. Relative luminance 0.239; OKLCH L 61.2% C 0.136 H 119.9°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#7A8F1A
RGBrgb(122, 143, 26)
HSLhsl(71, 69%, 33%)
HSVhsv(71, 82%, 56%)
CMYKcmyk(14.7%, 0%, 81.8%, 43.9%)
CIE-LABlab(55.94, -22.79, 54.23)
CIE-LCHlch(55.94, 58.82, 112.79°)
OKLaboklab(61.25% -0.0681 0.1183)
OKLCHoklch(61.25% 0.136 119.9)
XYZxyz(18.0353, 23.8572, 4.6319)
Luminance0.2386 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8F1A #2F1A8F
analogous
#8F691A #7A8F1A #3F8F1A
triadic
#7A8F1A #1A7A8F #8F1A7A
tetradic
#7A8F1A #1A8F69 #2F1A8F #8F1A3F
square
#7A8F1A #1A8F69 #2F1A8F #8F1A3F
split-complementary
#7A8F1A #1A3F8F #691A8F
monochromatic
#222707 #4E5B11 #7A8F1A #A6C323 #C2DD46

Accessibility & contrast

On white

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

On black

5.77
#7A8F1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A8F1A
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8F1A#FFFFFF#000000##000000
##7A8F1A1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#998600
Deuteranopia (green-blind)
#968626
Tritanopia (blue-blind)
#82877A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7a8f1a;
/* rgb */ color: rgb(122, 143, 26);
/* oklch */ color: oklch(61.2% 0.136 119.9);
Tailwind
colors: {
  custom: {
    50: '#a4af62',
    500: '#7a8f1a',
    950: '#000000',
  },
}
SCSS
$custom: #7a8f1a;
$custom-light: #a4af62;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8f1a",
  "rgb": {
    "r": 122,
    "g": 143,
    "b": 26
  },
  "hsl": {
    "h": 70.769,
    "s": 69.231,
    "l": 33.137
  },
  "oklch": {
    "l": 0.61245,
    "c": 0.13647,
    "h": 119.9
  },
  "luminance": 0.23857
}

Semantic roles & 50–950 ramp

primary
#7A8F1A
secondary
#5C46BF
accent
#3CEC5B
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7A8F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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