#7A9028#7A9028

#7A9028 is a mid, vivid yellow-green. Relative luminance 0.242; OKLCH L 61.6% C 0.130 H 120.8°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#7A9028
RGBrgb(122, 144, 40)
HSLhsl(73, 57%, 36%)
HSVhsv(73, 72%, 56%)
CMYKcmyk(15.3%, 0%, 72.2%, 43.5%)
CIE-LABlab(56.32, -22.59, 49.81)
CIE-LCHlch(56.32, 54.69, 114.40°)
OKLaboklab(61.58% -0.0664 0.1114)
OKLCHoklch(61.58% 0.13 120.8)
XYZxyz(18.3826, 24.2373, 5.7169)
Luminance0.2424 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A9028 #3E2890
analogous
#907228 #7A9028 #469028
triadic
#7A9028 #287A90 #90287A
tetradic
#7A9028 #289072 #3E2890 #902846
square
#7A9028 #289072 #3E2890 #902846
split-complementary
#7A9028 #284690 #722890
monochromatic
#29300D #51601B #7A9028 #A3C035 #BAD360

Accessibility & contrast

On white

3.59
#7A9028 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#7A9028 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A9028
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A9028#FFFFFF#000000##000000
##7A90281.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#998716
Deuteranopia (green-blind)
#968731
Tritanopia (blue-blind)
#81887C
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7a9028;
/* rgb */ color: rgb(122, 144, 40);
/* oklch */ color: oklch(61.6% 0.130 120.8);
Tailwind
colors: {
  custom: {
    50: '#a3b069',
    500: '#7a9028',
    950: '#000000',
  },
}
SCSS
$custom: #7a9028;
$custom-light: #a3b069;
$custom-dark: #000000;
JSON
{
  "hex": "#7a9028",
  "rgb": {
    "r": 122,
    "g": 144,
    "b": 40
  },
  "hsl": {
    "h": 72.692,
    "s": 56.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.61577,
    "c": 0.12967,
    "h": 120.8
  },
  "luminance": 0.24237
}

Semantic roles & 50–950 ramp

primary
#7A9028
secondary
#6F5CB8
accent
#48E068
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #7A9028

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

Preview Lab → · Contrast checker → · Palette generator →

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