#7A8A2B#7A8A2B

#7A8A2B is a mid, vivid yellow-green. Relative luminance 0.225; OKLCH L 60.1% C 0.120 H 118.4°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#7A8A2B
RGBrgb(122, 138, 43)
HSLhsl(70, 52%, 35%)
HSVhsv(70, 69%, 54%)
CMYKcmyk(11.6%, 0%, 68.8%, 45.9%)
CIE-LABlab(54.54, -19.34, 46.80)
CIE-LCHlch(54.54, 50.64, 112.45°)
OKLaboklab(60.15% -0.0571 0.1056)
OKLCHoklch(60.15% 0.12 118.4)
XYZxyz(17.5509, 22.4891, 5.7013)
Luminance0.2249 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8A2B #3B2B8A
analogous
#8A6A2B #7A8A2B #4B8A2B
triadic
#7A8A2B #2B7A8A #8A2B7A
tetradic
#7A8A2B #2B8A6A #3B2B8A #8A2B4B
square
#7A8A2B #2B8A6A #3B2B8A #8A2B4B
split-complementary
#7A8A2B #2B4B8A #6A2B8A
monochromatic
#272D0E #515B1C #7A8A2B #A3B93A #BCCE61

Accessibility & contrast

On white

3.82
#7A8A2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#7A8A2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A8A2B
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8A2B#FFFFFF#000000##000000
##7A8A2B1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#93821D
Deuteranopia (green-blind)
#918332
Tritanopia (blue-blind)
#818277
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7a8a2b;
/* rgb */ color: rgb(122, 138, 43);
/* oklch */ color: oklch(60.1% 0.120 118.4);
Tailwind
colors: {
  custom: {
    50: '#a3ac6a',
    500: '#7a8a2b',
    950: '#000000',
  },
}
SCSS
$custom: #7a8a2b;
$custom-light: #a3ac6a;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8a2b",
  "rgb": {
    "r": 122,
    "g": 138,
    "b": 43
  },
  "hsl": {
    "h": 70.105,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.60149,
    "c": 0.12,
    "h": 118.4
  },
  "luminance": 0.22489
}

Semantic roles & 50–950 ramp

primary
#7A8A2B
secondary
#6C5DB4
accent
#4CDC64
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #7A8A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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