#7A9D1E#7A9D1E

#7A9D1E is a light, vivid yellow-green. Relative luminance 0.283; OKLCH L 64.7% C 0.151 H 124.7°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#7A9D1E
RGBrgb(122, 157, 30)
HSLhsl(77, 68%, 37%)
HSVhsv(77, 81%, 62%)
CMYKcmyk(22.3%, 0%, 80.9%, 38.4%)
CIE-LABlab(60.20, -29.48, 56.87)
CIE-LCHlch(60.20, 64.06, 117.40°)
OKLaboklab(64.69% -0.0861 0.1246)
OKLCHoklch(64.69% 0.151 124.7)
XYZxyz(20.3176, 28.3450, 5.6288)
Luminance0.2834 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A9D1E #411E9D
analogous
#9D811E #7A9D1E #3B9D1E
triadic
#7A9D1E #1E7A9D #9D1E7A
tetradic
#7A9D1E #1E9D81 #411E9D #9D1E3B
square
#7A9D1E #1E9D81 #411E9D #9D1E3B
split-complementary
#7A9D1E #1E3B9D #811E9D
monochromatic
#2A360A #526A14 #7A9D1E #A2D028 #B9DF57

Accessibility & contrast

On white

3.15
#7A9D1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#7A9D1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A9D1E
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A9D1E#FFFFFF#000000##000000
##7A9D1E1.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69200
Deuteranopia (green-blind)
#A1912C
Tritanopia (blue-blind)
#809586
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7a9d1e;
/* rgb */ color: rgb(122, 157, 30);
/* oklch */ color: oklch(64.7% 0.151 124.7);
Tailwind
colors: {
  custom: {
    50: '#a4ba66',
    500: '#7a9d1e',
    950: '#000000',
  },
}
SCSS
$custom: #7a9d1e;
$custom-light: #a4ba66;
$custom-dark: #000000;
JSON
{
  "hex": "#7a9d1e",
  "rgb": {
    "r": 122,
    "g": 157,
    "b": 30
  },
  "hsl": {
    "h": 76.535,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.6469,
    "c": 0.15143,
    "h": 124.7
  },
  "luminance": 0.28345
}

Semantic roles & 50–950 ramp

primary
#7A9D1E
secondary
#7354C2
accent
#3DEB6D
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7A9D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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