#7E9027#7E9027

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

Color values

HEX#7E9027
RGBrgb(126, 144, 39)
HSLhsl(70, 57%, 36%)
HSVhsv(70, 73%, 56%)
CMYKcmyk(12.5%, 0%, 72.9%, 43.5%)
CIE-LABlab(56.61, -20.92, 50.57)
CIE-LCHlch(56.61, 54.73, 112.48°)
OKLaboklab(61.88% -0.0621 0.1127)
OKLCHoklch(61.88% 0.129 118.9)
XYZxyz(18.9440, 24.5288, 5.6556)
Luminance0.2453 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9027 #392790
analogous
#906D27 #7E9027 #499027
triadic
#7E9027 #277E90 #90277E
tetradic
#7E9027 #27906D #392790 #902749
square
#7E9027 #27906D #392790 #902749
split-complementary
#7E9027 #274990 #6D2790
monochromatic
#2A300D #54601A #7E9027 #A8C034 #BFD35E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E9027#FFFFFF#000000##000000
##7E90271.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)
#9A8814
Deuteranopia (green-blind)
#988830
Tritanopia (blue-blind)
#86887C
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #7e9027;
/* rgb */ color: rgb(126, 144, 39);
/* oklch */ color: oklch(61.9% 0.129 118.9);
Tailwind
colors: {
  custom: {
    50: '#a6b069',
    500: '#7e9027',
    950: '#000000',
  },
}
SCSS
$custom: #7e9027;
$custom-light: #a6b069;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9027",
  "rgb": {
    "r": 126,
    "g": 144,
    "b": 39
  },
  "hsl": {
    "h": 70.286,
    "s": 57.377,
    "l": 35.882
  },
  "oklch": {
    "l": 0.61882,
    "c": 0.12869,
    "h": 118.9
  },
  "luminance": 0.24529
}

Semantic roles & 50–950 ramp

primary
#7E9027
secondary
#6A5AB9
accent
#47E161
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #7E9027

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

Preview Lab → · Contrast checker → · Palette generator →

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