#7A9D1A#7A9D1A

#7A9D1A is a light, vivid yellow-green. Relative luminance 0.283; OKLCH L 64.7% C 0.153 H 124.5°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#7A9D1A
RGBrgb(122, 157, 26)
HSLhsl(76, 72%, 36%)
HSVhsv(76, 83%, 62%)
CMYKcmyk(22.3%, 0%, 83.4%, 38.4%)
CIE-LABlab(60.18, -29.64, 57.97)
CIE-LCHlch(60.18, 65.11, 117.08°)
OKLaboklab(64.67% -0.0868 0.1263)
OKLCHoklch(64.67% 0.153 124.5)
XYZxyz(20.2697, 28.3259, 5.3766)
Luminance0.2833 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A9D1A #3D1A9D
analogous
#9D7E1A #7A9D1A #389D1A
triadic
#7A9D1A #1A7A9D #9D1A7A
tetradic
#7A9D1A #1A9D7E #3D1A9D #9D1A38
square
#7A9D1A #1A9D7E #3D1A9D #9D1A38
split-complementary
#7A9D1A #1A389D #7E1A9D
monochromatic
#283409 #516811 #7A9D1A #A3D223 #BBE24F

Accessibility & contrast

On white

3.15
#7A9D1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#7A9D1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A9D1A
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A9D1A#FFFFFF#000000##000000
##7A9D1A1.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69200
Deuteranopia (green-blind)
#A29129
Tritanopia (blue-blind)
#809586
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7a9d1a;
/* rgb */ color: rgb(122, 157, 26);
/* oklch */ color: oklch(64.7% 0.153 124.5);
Tailwind
colors: {
  custom: {
    50: '#a4ba65',
    500: '#7a9d1a',
    950: '#000000',
  },
}
SCSS
$custom: #7a9d1a;
$custom-light: #a4ba65;
$custom-dark: #000000;
JSON
{
  "hex": "#7a9d1a",
  "rgb": {
    "r": 122,
    "g": 157,
    "b": 26
  },
  "hsl": {
    "h": 76.031,
    "s": 71.585,
    "l": 35.882
  },
  "oklch": {
    "l": 0.64671,
    "c": 0.15322,
    "h": 124.5
  },
  "luminance": 0.28326
}

Semantic roles & 50–950 ramp

primary
#7A9D1A
secondary
#6E4EC4
accent
#39EE6A
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7A9D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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