#7A9031#7A9031

#7A9031 is a mid, vivid yellow-green. Relative luminance 0.243; OKLCH L 61.7% C 0.123 H 121.3°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#7A9031
RGBrgb(122, 144, 49)
HSLhsl(74, 49%, 38%)
HSVhsv(74, 66%, 56%)
CMYKcmyk(15.3%, 0%, 66%, 43.5%)
CIE-LABlab(56.39, -21.99, 46.17)
CIE-LCHlch(56.39, 51.14, 115.47°)
OKLaboklab(61.65% -0.0638 0.1052)
OKLCHoklch(61.65% 0.123 121.3)
XYZxyz(18.5539, 24.3059, 6.6192)
Luminance0.2431 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A9031 #473190
analogous
#907731 #7A9031 #4A9031
triadic
#7A9031 #317A90 #90317A
tetradic
#7A9031 #319077 #473190 #90314A
square
#7A9031 #319077 #473190 #90314A
split-complementary
#7A9031 #314A90 #773190
monochromatic
#2D3512 #536221 #7A9031 #A1BE41 #B7CE6E

Accessibility & contrast

On white

3.58
#7A9031 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#7A9031 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A9031
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A9031#FFFFFF#000000##000000
##7A90311.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#998825
Deuteranopia (green-blind)
#968738
Tritanopia (blue-blind)
#80897C
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7a9031;
/* rgb */ color: rgb(122, 144, 49);
/* oklch */ color: oklch(61.7% 0.123 121.3);
Tailwind
colors: {
  custom: {
    50: '#a3b06e',
    500: '#7a9031',
    950: '#000000',
  },
}
SCSS
$custom: #7a9031;
$custom-light: #a3b06e;
$custom-dark: #000000;
JSON
{
  "hex": "#7a9031",
  "rgb": {
    "r": 122,
    "g": 144,
    "b": 49
  },
  "hsl": {
    "h": 73.895,
    "s": 49.223,
    "l": 37.843
  },
  "oklch": {
    "l": 0.61653,
    "c": 0.12303,
    "h": 121.3
  },
  "luminance": 0.24306
}

Semantic roles & 50–950 ramp

primary
#7A9031
secondary
#7A68B5
accent
#4FD96F
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #7A9031

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

Preview Lab → · Contrast checker → · Palette generator →

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