#7A9A1F#7A9A1F

#7A9A1F is a light, vivid yellow-green. Relative luminance 0.273; OKLCH L 64.0% C 0.147 H 123.8°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#7A9A1F
RGBrgb(122, 154, 31)
HSLhsl(76, 66%, 36%)
HSVhsv(76, 80%, 60%)
CMYKcmyk(20.8%, 0%, 79.9%, 39.6%)
CIE-LABlab(59.29, -28.00, 55.75)
CIE-LCHlch(59.29, 62.39, 116.67°)
OKLaboklab(63.96% -0.082 0.1224)
OKLCHoklch(63.96% 0.147 123.8)
XYZxyz(19.8292, 27.3475, 5.5300)
Luminance0.2735 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A9A1F #3F1F9A
analogous
#9A7D1F #7A9A1F #3D9A1F
triadic
#7A9A1F #1F7A9A #9A1F7A
tetradic
#7A9A1F #1F9A7D #3F1F9A #9A1F3D
square
#7A9A1F #1F9A7D #3F1F9A #9A1F3D
split-complementary
#7A9A1F #1F3D9A #7D1F9A
monochromatic
#29340A #526715 #7A9A1F #A2CD29 #BADD56

Accessibility & contrast

On white

3.25
#7A9A1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#7A9A1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A9A1F
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A9A1F#FFFFFF#000000##000000
##7A9A1F1.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39000
Deuteranopia (green-blind)
#9F8E2C
Tritanopia (blue-blind)
#809283
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7a9a1f;
/* rgb */ color: rgb(122, 154, 31);
/* oklch */ color: oklch(64.0% 0.147 123.8);
Tailwind
colors: {
  custom: {
    50: '#a4b766',
    500: '#7a9a1f',
    950: '#000000',
  },
}
SCSS
$custom: #7a9a1f;
$custom-light: #a4b766;
$custom-dark: #000000;
JSON
{
  "hex": "#7a9a1f",
  "rgb": {
    "r": 122,
    "g": 154,
    "b": 31
  },
  "hsl": {
    "h": 75.61,
    "s": 66.486,
    "l": 36.275
  },
  "oklch": {
    "l": 0.63959,
    "c": 0.1473,
    "h": 123.8
  },
  "luminance": 0.27348
}

Semantic roles & 50–950 ramp

primary
#7A9A1F
secondary
#7054C1
accent
#3EE96B
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7A9A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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