#7A8E1A#7A8E1A

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

Color values

HEX#7A8E1A
RGBrgb(122, 142, 26)
HSLhsl(70, 69%, 33%)
HSVhsv(70, 82%, 56%)
CMYKcmyk(14.1%, 0%, 81.7%, 44.3%)
CIE-LABlab(55.64, -22.28, 53.96)
CIE-LCHlch(55.64, 58.38, 112.44°)
OKLaboklab(61% -0.0667 0.1177)
OKLCHoklch(61% 0.135 119.6)
XYZxyz(17.8859, 23.5583, 4.5820)
Luminance0.2356 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8E1A #2E1A8E
analogous
#8E681A #7A8E1A #408E1A
triadic
#7A8E1A #1A7A8E #8E1A7A
tetradic
#7A8E1A #1A8E68 #2E1A8E #8E1A40
square
#7A8E1A #1A8E68 #2E1A8E #8E1A40
split-complementary
#7A8E1A #1A408E #681A8E
monochromatic
#212707 #4E5A11 #7A8E1A #A6C223 #C3DD45

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #7a8e1a;
/* rgb */ color: rgb(122, 142, 26);
/* oklch */ color: oklch(61.0% 0.135 119.6);
Tailwind
colors: {
  custom: {
    50: '#a4af62',
    500: '#7a8e1a',
    950: '#000000',
  },
}
SCSS
$custom: #7a8e1a;
$custom-light: #a4af62;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8e1a",
  "rgb": {
    "r": 122,
    "g": 142,
    "b": 26
  },
  "hsl": {
    "h": 70.345,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.61002,
    "c": 0.13529,
    "h": 119.6
  },
  "luminance": 0.23558
}

Semantic roles & 50–950 ramp

primary
#7A8E1A
secondary
#5A45BE
accent
#3CEC5A
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7A8E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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