#7A981E#7A981E

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

Color values

HEX#7A981E
RGBrgb(122, 152, 30)
HSLhsl(75, 67%, 36%)
HSVhsv(75, 80%, 60%)
CMYKcmyk(19.7%, 0%, 80.3%, 40.4%)
CIE-LABlab(58.68, -27.07, 55.50)
CIE-LCHlch(58.68, 61.75, 116.00°)
OKLaboklab(63.46% -0.0795 0.1217)
OKLCHoklch(63.46% 0.145 123.2)
XYZxyz(19.4889, 26.6877, 5.3525)
Luminance0.2669 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A981E #3C1E98
analogous
#98791E #7A981E #3D981E
triadic
#7A981E #1E7A98 #981E7A
tetradic
#7A981E #1E9879 #3C1E98 #981E3D
square
#7A981E #1E9879 #3C1E98 #981E3D
split-complementary
#7A981E #1E3D98 #791E98
monochromatic
#28320A #516514 #7A981E #A3CB28 #BBDD53

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A981E#FFFFFF#000000##000000
##7A981E1.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)
#9D8D2B
Tritanopia (blue-blind)
#819082
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #7a981e;
/* rgb */ color: rgb(122, 152, 30);
/* oklch */ color: oklch(63.5% 0.145 123.2);
Tailwind
colors: {
  custom: {
    50: '#a4b665',
    500: '#7a981e',
    950: '#000000',
  },
}
SCSS
$custom: #7a981e;
$custom-light: #a4b665;
$custom-dark: #000000;
JSON
{
  "hex": "#7a981e",
  "rgb": {
    "r": 122,
    "g": 152,
    "b": 30
  },
  "hsl": {
    "h": 74.754,
    "s": 67.033,
    "l": 35.686
  },
  "oklch": {
    "l": 0.63464,
    "c": 0.14535,
    "h": 123.2
  },
  "luminance": 0.26688
}

Semantic roles & 50–950 ramp

primary
#7A981E
secondary
#6D51C0
accent
#3EEA68
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7A981E

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

Preview Lab → · Contrast checker → · Palette generator →

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