#7A8D2A#7A8D2A

#7A8D2A is a mid, vivid yellow-green. Relative luminance 0.234; OKLCH L 60.9% C 0.124 H 119.7°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#7A8D2A
RGBrgb(122, 141, 42)
HSLhsl(72, 54%, 36%)
HSVhsv(72, 70%, 55%)
CMYKcmyk(13.5%, 0%, 70.2%, 44.7%)
CIE-LABlab(55.44, -20.94, 48.12)
CIE-LCHlch(55.44, 52.48, 113.52°)
OKLaboklab(60.87% -0.0616 0.1082)
OKLCHoklch(60.87% 0.125 119.7)
XYZxyz(17.9692, 23.3546, 5.7513)
Luminance0.2335 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8D2A #3D2A8D
analogous
#8D6E2A #7A8D2A #488D2A
triadic
#7A8D2A #2A7A8D #8D2A7A
tetradic
#7A8D2A #2A8D6E #3D2A8D #8D2A48
square
#7A8D2A #2A8D6E #3D2A8D #8D2A48
split-complementary
#7A8D2A #2A488D #6E2A8D
monochromatic
#282F0E #515E1C #7A8D2A #A3BC38 #BBD061

Accessibility & contrast

On white

3.70
#7A8D2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#7A8D2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A8D2A
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8D2A#FFFFFF#000000##000000
##7A8D2A1.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#96851B
Deuteranopia (green-blind)
#948532
Tritanopia (blue-blind)
#818579
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #7a8d2a;
/* rgb */ color: rgb(122, 141, 42);
/* oklch */ color: oklch(60.9% 0.124 119.7);
Tailwind
colors: {
  custom: {
    50: '#a3ae6a',
    500: '#7a8d2a',
    950: '#000000',
  },
}
SCSS
$custom: #7a8d2a;
$custom-light: #a3ae6a;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8d2a",
  "rgb": {
    "r": 122,
    "g": 141,
    "b": 42
  },
  "hsl": {
    "h": 71.515,
    "s": 54.098,
    "l": 35.882
  },
  "oklch": {
    "l": 0.60865,
    "c": 0.1245,
    "h": 119.7
  },
  "luminance": 0.23354
}

Semantic roles & 50–950 ramp

primary
#7A8D2A
secondary
#6E5DB6
accent
#4ADD67
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #7A8D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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