#7A9F1B#7A9F1B

#7A9F1B is a light, vivid yellow-green. Relative luminance 0.290; OKLCH L 65.2% C 0.155 H 125.1°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#7A9F1B
RGBrgb(122, 159, 27)
HSLhsl(77, 71%, 36%)
HSVhsv(77, 83%, 62%)
CMYKcmyk(23.3%, 0%, 83%, 37.6%)
CIE-LABlab(60.79, -30.56, 58.25)
CIE-LCHlch(60.79, 65.77, 117.68°)
OKLaboklab(65.17% -0.0892 0.127)
OKLCHoklch(65.17% 0.155 125.1)
XYZxyz(20.6222, 29.0127, 5.5502)
Luminance0.2901 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A9F1B #401B9F
analogous
#9F821B #7A9F1B #389F1B
triadic
#7A9F1B #1B7A9F #9F1B7A
tetradic
#7A9F1B #1B9F82 #401B9F #9F1B38
square
#7A9F1B #1B9F82 #401B9F #9F1B38
split-complementary
#7A9F1B #1B389F #821B9F
monochromatic
#2A3609 #526B12 #7A9F1B #A2D324 #BAE253

Accessibility & contrast

On white

3.09
#7A9F1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#7A9F1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A9F1B
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A9F1B#FFFFFF#000000##000000
##7A9F1B1.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89400
Deuteranopia (green-blind)
#A3922A
Tritanopia (blue-blind)
#809787
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #7a9f1b;
/* rgb */ color: rgb(122, 159, 27);
/* oklch */ color: oklch(65.2% 0.155 125.1);
Tailwind
colors: {
  custom: {
    50: '#a4bb65',
    500: '#7a9f1b',
    950: '#000000',
  },
}
SCSS
$custom: #7a9f1b;
$custom-light: #a4bb65;
$custom-dark: #000000;
JSON
{
  "hex": "#7a9f1b",
  "rgb": {
    "r": 122,
    "g": 159,
    "b": 27
  },
  "hsl": {
    "h": 76.818,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.65167,
    "c": 0.15519,
    "h": 125.1
  },
  "luminance": 0.29013
}

Semantic roles & 50–950 ramp

primary
#7A9F1B
secondary
#7251C5
accent
#3AEE6C
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101206
muted
#7F817A

Preview Lab

Preview with #7A9F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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