#7A9F1C#7A9F1C

#7A9F1C 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#7A9F1C
RGBrgb(122, 159, 28)
HSLhsl(77, 70%, 37%)
HSVhsv(77, 82%, 62%)
CMYKcmyk(23.3%, 0%, 82.4%, 37.6%)
CIE-LABlab(60.80, -30.52, 57.98)
CIE-LCHlch(60.80, 65.52, 117.76°)
OKLaboklab(65.17% -0.089 0.1266)
OKLCHoklch(65.17% 0.155 125.1)
XYZxyz(20.6340, 29.0174, 5.6122)
Luminance0.2902 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A9F1C #411C9F
analogous
#9F831C #7A9F1C #389F1C
triadic
#7A9F1C #1C7A9F #9F1C7A
tetradic
#7A9F1C #1C9F83 #411C9F #9F1C38
square
#7A9F1C #1C9F83 #411C9F #9F1C38
split-complementary
#7A9F1C #1C389F #831C9F
monochromatic
#2A370A #526B13 #7A9F1C #A2D325 #B9E154

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A9F1C#FFFFFF#000000##000000
##7A9F1C1.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)
#A3922B
Tritanopia (blue-blind)
#809787
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #7a9f1c;
/* rgb */ color: rgb(122, 159, 28);
/* oklch */ color: oklch(65.2% 0.155 125.1);
Tailwind
colors: {
  custom: {
    50: '#a4bb66',
    500: '#7a9f1c',
    950: '#000000',
  },
}
SCSS
$custom: #7a9f1c;
$custom-light: #a4bb66;
$custom-dark: #000000;
JSON
{
  "hex": "#7a9f1c",
  "rgb": {
    "r": 122,
    "g": 159,
    "b": 28
  },
  "hsl": {
    "h": 76.947,
    "s": 70.053,
    "l": 36.667
  },
  "oklch": {
    "l": 0.65172,
    "c": 0.15476,
    "h": 125.1
  },
  "luminance": 0.29018
}

Semantic roles & 50–950 ramp

primary
#7A9F1C
secondary
#7353C4
accent
#3BED6D
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101206
muted
#7F817A

Preview Lab

Preview with #7A9F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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