#7B982A#7B982A

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

Color values

HEX#7B982A
RGBrgb(123, 152, 42)
HSLhsl(76, 57%, 38%)
HSVhsv(76, 72%, 60%)
CMYKcmyk(19.1%, 0%, 72.4%, 40.4%)
CIE-LABlab(58.82, -26.03, 51.54)
CIE-LCHlch(58.82, 57.74, 116.79°)
OKLaboklab(63.61% -0.0757 0.1153)
OKLCHoklch(63.61% 0.138 123.3)
XYZxyz(19.8148, 26.8345, 6.3257)
Luminance0.2683 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B982A #472A98
analogous
#987E2A #7B982A #44982A
triadic
#7B982A #2A7B98 #982A7B
tetradic
#7B982A #2A987E #472A98 #982A44
square
#7B982A #2A987E #472A98 #982A44
split-complementary
#7B982A #2A4498 #7E2A98
monochromatic
#2D3810 #54681D #7B982A #A2C837 #B8D567

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B982A#FFFFFF#000000##000000
##7B982A1.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)
#A18E17
Deuteranopia (green-blind)
#9D8D33
Tritanopia (blue-blind)
#819082
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #7b982a;
/* rgb */ color: rgb(123, 152, 42);
/* oklch */ color: oklch(63.6% 0.138 123.3);
Tailwind
colors: {
  custom: {
    50: '#a4b66b',
    500: '#7b982a',
    950: '#000000',
  },
}
SCSS
$custom: #7b982a;
$custom-light: #a4b66b;
$custom-dark: #000000;
JSON
{
  "hex": "#7b982a",
  "rgb": {
    "r": 123,
    "g": 152,
    "b": 42
  },
  "hsl": {
    "h": 75.818,
    "s": 56.701,
    "l": 38.039
  },
  "oklch": {
    "l": 0.63613,
    "c": 0.13798,
    "h": 123.3
  },
  "luminance": 0.26835
}

Semantic roles & 50–950 ramp

primary
#7B982A
secondary
#7A62BB
accent
#48E070
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7B982A

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

Preview Lab → · Contrast checker → · Palette generator →

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