#7B982D#7B982D

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

Color values

HEX#7B982D
RGBrgb(123, 152, 45)
HSLhsl(76, 54%, 39%)
HSVhsv(76, 70%, 60%)
CMYKcmyk(19.1%, 0%, 70.4%, 40.4%)
CIE-LABlab(58.84, -25.84, 50.40)
CIE-LCHlch(58.84, 56.64, 117.15°)
OKLaboklab(63.64% -0.0749 0.1134)
OKLCHoklch(63.64% 0.136 123.5)
XYZxyz(19.8705, 26.8568, 6.6192)
Luminance0.2686 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B982D #4A2D98
analogous
#987F2D #7B982D #45982D
triadic
#7B982D #2D7B98 #982D7B
tetradic
#7B982D #2D987F #4A2D98 #982D45
square
#7B982D #2D987F #4A2D98 #982D45
split-complementary
#7B982D #2D4598 #7F2D98
monochromatic
#2F3A11 #55691F #7B982D #A0C53D #B7D36C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B982D#FFFFFF#000000##000000
##7B982D1.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)
#A18E1C
Deuteranopia (green-blind)
#9D8D36
Tritanopia (blue-blind)
#819083
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #7b982d;
/* rgb */ color: rgb(123, 152, 45);
/* oklch */ color: oklch(63.6% 0.136 123.5);
Tailwind
colors: {
  custom: {
    50: '#a4b66d',
    500: '#7b982d',
    950: '#000000',
  },
}
SCSS
$custom: #7b982d;
$custom-light: #a4b66d;
$custom-dark: #000000;
JSON
{
  "hex": "#7b982d",
  "rgb": {
    "r": 123,
    "g": 152,
    "b": 45
  },
  "hsl": {
    "h": 76.262,
    "s": 54.315,
    "l": 38.627
  },
  "oklch": {
    "l": 0.63637,
    "c": 0.13593,
    "h": 123.5
  },
  "luminance": 0.26857
}

Semantic roles & 50–950 ramp

primary
#7B982D
secondary
#7D66BA
accent
#4ADE72
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7B982D

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

Preview Lab → · Contrast checker → · Palette generator →

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