#7A981D#7A981D

#7A981D is a light, vivid yellow-green. Relative luminance 0.267; OKLCH L 63.5% C 0.146 H 123.1°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#7A981D
RGBrgb(122, 152, 29)
HSLhsl(75, 68%, 35%)
HSVhsv(75, 81%, 60%)
CMYKcmyk(19.7%, 0%, 80.9%, 40.4%)
CIE-LABlab(58.68, -27.12, 55.80)
CIE-LCHlch(58.68, 62.04, 115.92°)
OKLaboklab(63.46% -0.0797 0.1221)
OKLCHoklch(63.46% 0.146 123.1)
XYZxyz(19.4763, 26.6826, 5.2864)
Luminance0.2668 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A981D #3B1D98
analogous
#98781D #7A981D #3C981D
triadic
#7A981D #1D7A98 #981D7A
tetradic
#7A981D #1D9878 #3B1D98 #981D3C
square
#7A981D #1D9878 #3B1D98 #981D3C
split-complementary
#7A981D #1D3C98 #781D98
monochromatic
#273109 #516513 #7A981D #A3CB27 #BCDE52

Accessibility & contrast

On white

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

On black

6.34
#7A981D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A981D
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A981D#FFFFFF#000000##000000
##7A981D1.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E00
Deuteranopia (green-blind)
#9D8D2A
Tritanopia (blue-blind)
#819082
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #7a981d;
/* rgb */ color: rgb(122, 152, 29);
/* oklch */ color: oklch(63.5% 0.146 123.1);
Tailwind
colors: {
  custom: {
    50: '#a4b665',
    500: '#7a981d',
    950: '#000000',
  },
}
SCSS
$custom: #7a981d;
$custom-light: #a4b665;
$custom-dark: #000000;
JSON
{
  "hex": "#7a981d",
  "rgb": {
    "r": 122,
    "g": 152,
    "b": 29
  },
  "hsl": {
    "h": 74.634,
    "s": 67.956,
    "l": 35.49
  },
  "oklch": {
    "l": 0.63458,
    "c": 0.14584,
    "h": 123.1
  },
  "luminance": 0.26683
}

Semantic roles & 50–950 ramp

primary
#7A981D
secondary
#6C50C1
accent
#3DEB67
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7A981D

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

Preview Lab → · Contrast checker → · Palette generator →

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