#7A8E2B#7A8E2B

#7A8E2B is a mid, vivid yellow-green. Relative luminance 0.237; OKLCH L 61.1% C 0.125 H 120.1°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#7A8E2B
RGBrgb(122, 142, 43)
HSLhsl(72, 54%, 36%)
HSVhsv(72, 70%, 56%)
CMYKcmyk(14.1%, 0%, 69.7%, 44.3%)
CIE-LABlab(55.74, -21.39, 48.03)
CIE-LCHlch(55.74, 52.58, 114.01°)
OKLaboklab(61.12% -0.0628 0.1081)
OKLCHoklch(61.12% 0.125 120.1)
XYZxyz(18.1354, 23.6581, 5.8961)
Luminance0.2366 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8E2B #3F2B8E
analogous
#8E712B #7A8E2B #498E2B
triadic
#7A8E2B #2B7A8E #8E2B7A
tetradic
#7A8E2B #2B8E71 #3F2B8E #8E2B49
square
#7A8E2B #2B8E71 #3F2B8E #8E2B49
split-complementary
#7A8E2B #2B498E #712B8E
monochromatic
#29300F #525F1D #7A8E2B #A2BD39 #BAD063

Accessibility & contrast

On white

3.66
#7A8E2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#7A8E2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A8E2B
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8E2B#FFFFFF#000000##000000
##7A8E2B1.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#97861C
Deuteranopia (green-blind)
#958633
Tritanopia (blue-blind)
#81867A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7a8e2b;
/* rgb */ color: rgb(122, 142, 43);
/* oklch */ color: oklch(61.1% 0.125 120.1);
Tailwind
colors: {
  custom: {
    50: '#a3af6a',
    500: '#7a8e2b',
    950: '#000000',
  },
}
SCSS
$custom: #7a8e2b;
$custom-light: #a3af6a;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8e2b",
  "rgb": {
    "r": 122,
    "g": 142,
    "b": 43
  },
  "hsl": {
    "h": 72.121,
    "s": 53.514,
    "l": 36.275
  },
  "oklch": {
    "l": 0.61116,
    "c": 0.12504,
    "h": 120.1
  },
  "luminance": 0.23658
}

Semantic roles & 50–950 ramp

primary
#7A8E2B
secondary
#705FB6
accent
#4BDD68
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #7A8E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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