#7B982E#7B982E

#7B982E is a light, vivid yellow-green. Relative luminance 0.269; OKLCH L 63.6% C 0.135 H 123.5°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#7B982E
RGBrgb(123, 152, 46)
HSLhsl(76, 54%, 39%)
HSVhsv(76, 70%, 60%)
CMYKcmyk(19.1%, 0%, 69.7%, 40.4%)
CIE-LABlab(58.85, -25.78, 50.01)
CIE-LCHlch(58.85, 56.26, 117.27°)
OKLaboklab(63.65% -0.0747 0.1127)
OKLCHoklch(63.65% 0.135 123.5)
XYZxyz(19.8900, 26.8646, 6.7218)
Luminance0.2686 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B982E #4B2E98
analogous
#98802E #7B982E #46982E
triadic
#7B982E #2E7B98 #982E7B
tetradic
#7B982E #2E9880 #4B2E98 #982E46
square
#7B982E #2E9880 #4B2E98 #982E46
split-complementary
#7B982E #2E4698 #802E98
monochromatic
#2F3A12 #556920 #7B982E #A0C53E #B7D36D

Accessibility & contrast

On white

3.30
#7B982E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#7B982E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B982E
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B982E#FFFFFF#000000##000000
##7B982E1.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E1E
Deuteranopia (green-blind)
#9D8D37
Tritanopia (blue-blind)
#819083
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #7b982e;
/* rgb */ color: rgb(123, 152, 46);
/* oklch */ color: oklch(63.6% 0.135 123.5);
Tailwind
colors: {
  custom: {
    50: '#a4b66d',
    500: '#7b982e',
    950: '#000000',
  },
}
SCSS
$custom: #7b982e;
$custom-light: #a4b66d;
$custom-dark: #000000;
JSON
{
  "hex": "#7b982e",
  "rgb": {
    "r": 123,
    "g": 152,
    "b": 46
  },
  "hsl": {
    "h": 76.415,
    "s": 53.535,
    "l": 38.824
  },
  "oklch": {
    "l": 0.63645,
    "c": 0.13523,
    "h": 123.5
  },
  "luminance": 0.26865
}

Semantic roles & 50–950 ramp

primary
#7B982E
secondary
#7E68BA
accent
#4BDD73
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #7B982E

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

Preview Lab → · Contrast checker → · Palette generator →

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