#7E9028#7E9028

#7E9028 is a mid, vivid yellow-green. Relative luminance 0.245; OKLCH L 61.9% C 0.128 H 118.9°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#7E9028
RGBrgb(126, 144, 40)
HSLhsl(70, 57%, 36%)
HSVhsv(70, 72%, 56%)
CMYKcmyk(12.5%, 0%, 72.2%, 43.5%)
CIE-LABlab(56.62, -20.86, 50.20)
CIE-LCHlch(56.62, 54.36, 112.57°)
OKLaboklab(61.89% -0.0619 0.1121)
OKLCHoklch(61.89% 0.128 118.9)
XYZxyz(18.9608, 24.5355, 5.7440)
Luminance0.2454 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9028 #3A2890
analogous
#906E28 #7E9028 #4A9028
triadic
#7E9028 #287E90 #90287E
tetradic
#7E9028 #28906E #3A2890 #90284A
square
#7E9028 #28906E #3A2890 #90284A
split-complementary
#7E9028 #284A90 #6E2890
monochromatic
#2A300D #54601B #7E9028 #A8C035 #BFD360

Accessibility & contrast

On white

3.56
#7E9028 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#7E9028 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9028
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9028#FFFFFF#000000##000000
##7E90281.003.565.915.91
#FFFFFF3.561.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8816
Deuteranopia (green-blind)
#988830
Tritanopia (blue-blind)
#86887C
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #7e9028;
/* rgb */ color: rgb(126, 144, 40);
/* oklch */ color: oklch(61.9% 0.128 118.9);
Tailwind
colors: {
  custom: {
    50: '#a6b069',
    500: '#7e9028',
    950: '#000000',
  },
}
SCSS
$custom: #7e9028;
$custom-light: #a6b069;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9028",
  "rgb": {
    "r": 126,
    "g": 144,
    "b": 40
  },
  "hsl": {
    "h": 70.385,
    "s": 56.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.61889,
    "c": 0.12803,
    "h": 118.9
  },
  "luminance": 0.24535
}

Semantic roles & 50–950 ramp

primary
#7E9028
secondary
#6C5CB8
accent
#48E062
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #7E9028

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

Preview Lab → · Contrast checker → · Palette generator →

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