#7A8B2A#7A8B2A

#7A8B2A is a mid, vivid yellow-green. Relative luminance 0.228; OKLCH L 60.4% C 0.122 H 118.8°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#7A8B2A
RGBrgb(122, 139, 42)
HSLhsl(71, 54%, 35%)
HSVhsv(71, 70%, 55%)
CMYKcmyk(12.2%, 0%, 69.8%, 45.5%)
CIE-LABlab(54.83, -19.92, 47.51)
CIE-LCHlch(54.83, 51.52, 112.74°)
OKLaboklab(60.38% -0.0588 0.1069)
OKLCHoklch(60.38% 0.122 118.8)
XYZxyz(17.6769, 22.7701, 5.6539)
Luminance0.2277 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8B2A #3B2A8B
analogous
#8B6B2A #7A8B2A #4A8B2A
triadic
#7A8B2A #2A7A8B #8B2A7A
tetradic
#7A8B2A #2A8B6B #3B2A8B #8B2A4A
square
#7A8B2A #2A8B6B #3B2A8B #8B2A4A
split-complementary
#7A8B2A #2A4A8B #6B2A8B
monochromatic
#272D0E #515C1C #7A8B2A #A3BA38 #BCCF60

Accessibility & contrast

On white

3.78
#7A8B2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#7A8B2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A8B2A
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8B2A#FFFFFF#000000##000000
##7A8B2A1.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#94831B
Deuteranopia (green-blind)
#928431
Tritanopia (blue-blind)
#818378
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7a8b2a;
/* rgb */ color: rgb(122, 139, 42);
/* oklch */ color: oklch(60.4% 0.122 118.8);
Tailwind
colors: {
  custom: {
    50: '#a3ac6a',
    500: '#7a8b2a',
    950: '#000000',
  },
}
SCSS
$custom: #7a8b2a;
$custom-light: #a3ac6a;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8b2a",
  "rgb": {
    "r": 122,
    "g": 139,
    "b": 42
  },
  "hsl": {
    "h": 70.515,
    "s": 53.591,
    "l": 35.49
  },
  "oklch": {
    "l": 0.60382,
    "c": 0.122,
    "h": 118.8
  },
  "luminance": 0.2277
}

Semantic roles & 50–950 ramp

primary
#7A8B2A
secondary
#6C5CB5
accent
#4BDD64
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #7A8B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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