#7A9B1E#7A9B1E

#7A9B1E is a light, vivid yellow-green. Relative luminance 0.277; OKLCH L 64.2% C 0.149 H 124.1°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#7A9B1E
RGBrgb(122, 155, 30)
HSLhsl(76, 68%, 36%)
HSVhsv(76, 81%, 61%)
CMYKcmyk(21.3%, 0%, 80.6%, 39.2%)
CIE-LABlab(59.59, -28.53, 56.33)
CIE-LCHlch(59.59, 63.14, 116.86°)
OKLaboklab(64.2% -0.0835 0.1234)
OKLCHoklch(64.2% 0.149 124.1)
XYZxyz(19.9820, 27.6738, 5.5169)
Luminance0.2767 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A9B1E #3F1E9B
analogous
#9B7E1E #7A9B1E #3C9B1E
triadic
#7A9B1E #1E7A9B #9B1E7A
tetradic
#7A9B1E #1E9B7E #3F1E9B #9B1E3C
square
#7A9B1E #1E9B7E #3F1E9B #9B1E3C
split-complementary
#7A9B1E #1E3C9B #7E1E9B
monochromatic
#29340A #526814 #7A9B1E #A2CE28 #BADE55

Accessibility & contrast

On white

3.21
#7A9B1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#7A9B1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A9B1E
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A9B1E#FFFFFF#000000##000000
##7A9B1E1.003.216.536.53
#FFFFFF3.211.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49100
Deuteranopia (green-blind)
#A08F2B
Tritanopia (blue-blind)
#809384
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7a9b1e;
/* rgb */ color: rgb(122, 155, 30);
/* oklch */ color: oklch(64.2% 0.149 124.1);
Tailwind
colors: {
  custom: {
    50: '#a4b866',
    500: '#7a9b1e',
    950: '#000000',
  },
}
SCSS
$custom: #7a9b1e;
$custom-light: #a4b866;
$custom-dark: #000000;
JSON
{
  "hex": "#7a9b1e",
  "rgb": {
    "r": 122,
    "g": 155,
    "b": 30
  },
  "hsl": {
    "h": 75.84,
    "s": 67.568,
    "l": 36.275
  },
  "oklch": {
    "l": 0.64199,
    "c": 0.149,
    "h": 124.1
  },
  "luminance": 0.27674
}

Semantic roles & 50–950 ramp

primary
#7A9B1E
secondary
#7053C2
accent
#3DEA6B
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7A9B1E

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

Preview Lab → · Contrast checker → · Palette generator →

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