#7A982B#7A982B

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

Color values

HEX#7A982B
RGBrgb(122, 152, 43)
HSLhsl(77, 56%, 38%)
HSVhsv(77, 72%, 60%)
CMYKcmyk(19.7%, 0%, 71.7%, 40.4%)
CIE-LABlab(58.76, -26.39, 51.07)
CIE-LCHlch(58.76, 57.49, 117.32°)
OKLaboklab(63.55% -0.0766 0.1145)
OKLCHoklch(63.55% 0.138 123.8)
XYZxyz(19.6905, 26.7683, 6.4145)
Luminance0.2677 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A982B #492B98
analogous
#987F2B #7A982B #43982B
triadic
#7A982B #2B7A98 #982B7A
tetradic
#7A982B #2B987F #492B98 #982B43
square
#7A982B #2B987F #492B98 #982B43
split-complementary
#7A982B #2B4398 #7F2B98
monochromatic
#2D3910 #54681E #7A982B #A0C739 #B7D569

Accessibility & contrast

On white

3.31
#7A982B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#7A982B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A982B
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A982B#FFFFFF#000000##000000
##7A982B1.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E19
Deuteranopia (green-blind)
#9D8D34
Tritanopia (blue-blind)
#809083
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #7a982b;
/* rgb */ color: rgb(122, 152, 43);
/* oklch */ color: oklch(63.5% 0.138 123.8);
Tailwind
colors: {
  custom: {
    50: '#a4b66c',
    500: '#7a982b',
    950: '#000000',
  },
}
SCSS
$custom: #7a982b;
$custom-light: #a4b66c;
$custom-dark: #000000;
JSON
{
  "hex": "#7a982b",
  "rgb": {
    "r": 122,
    "g": 152,
    "b": 43
  },
  "hsl": {
    "h": 76.514,
    "s": 55.897,
    "l": 38.235
  },
  "oklch": {
    "l": 0.63548,
    "c": 0.13777,
    "h": 123.8
  },
  "luminance": 0.26768
}

Semantic roles & 50–950 ramp

primary
#7A982B
secondary
#7C64BB
accent
#49DF72
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #7A982B

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

Preview Lab → · Contrast checker → · Palette generator →

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