#7A9C1F#7A9C1F

#7A9C1F is a light, vivid yellow-green. Relative luminance 0.280; OKLCH L 64.5% C 0.150 H 124.4°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#7A9C1F
RGBrgb(122, 156, 31)
HSLhsl(76, 67%, 37%)
HSVhsv(76, 80%, 61%)
CMYKcmyk(21.8%, 0%, 80.1%, 38.8%)
CIE-LABlab(59.90, -28.96, 56.31)
CIE-LCHlch(59.90, 63.32, 117.22°)
OKLaboklab(64.45% -0.0846 0.1235)
OKLCHoklch(64.45% 0.15 124.4)
XYZxyz(20.1620, 28.0132, 5.6409)
Luminance0.2801 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A9C1F #411F9C
analogous
#9C801F #7A9C1F #3C9C1F
triadic
#7A9C1F #1F7A9C #9C1F7A
tetradic
#7A9C1F #1F9C80 #411F9C #9C1F3C
square
#7A9C1F #1F9C80 #411F9C #9C1F3C
split-complementary
#7A9C1F #1F3C9C #801F9C
monochromatic
#2A360B #526915 #7A9C1F #A2CF29 #B9DE58

Accessibility & contrast

On white

3.18
#7A9C1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#7A9C1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A9C1F
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A9C1F#FFFFFF#000000##000000
##7A9C1F1.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59100
Deuteranopia (green-blind)
#A1902C
Tritanopia (blue-blind)
#809485
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #7a9c1f;
/* rgb */ color: rgb(122, 156, 31);
/* oklch */ color: oklch(64.5% 0.150 124.4);
Tailwind
colors: {
  custom: {
    50: '#a4b966',
    500: '#7a9c1f',
    950: '#000000',
  },
}
SCSS
$custom: #7a9c1f;
$custom-light: #a4b966;
$custom-dark: #000000;
JSON
{
  "hex": "#7a9c1f",
  "rgb": {
    "r": 122,
    "g": 156,
    "b": 31
  },
  "hsl": {
    "h": 76.32,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.6445,
    "c": 0.14974,
    "h": 124.4
  },
  "luminance": 0.28013
}

Semantic roles & 50–950 ramp

primary
#7A9C1F
secondary
#7355C1
accent
#3EEA6D
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7A9C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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