#7E9E27#7E9E27

#7E9E27 is a light, vivid yellow-green. Relative luminance 0.290; OKLCH L 65.3% C 0.146 H 123.8°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#7E9E27
RGBrgb(126, 158, 39)
HSLhsl(76, 60%, 39%)
HSVhsv(76, 75%, 62%)
CMYKcmyk(20.3%, 0%, 75.3%, 38%)
CIE-LABlab(60.81, -27.88, 54.65)
CIE-LCHlch(60.81, 61.35, 117.03°)
OKLaboklab(65.27% -0.0812 0.1213)
OKLCHoklch(65.27% 0.146 123.8)
XYZxyz(21.1975, 29.0357, 6.4068)
Luminance0.2904 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9E27 #47279E
analogous
#9E8227 #7E9E27 #439E27
triadic
#7E9E27 #277E9E #9E277E
tetradic
#7E9E27 #279E82 #47279E #9E2743
square
#7E9E27 #279E82 #47279E #9E2743
split-complementary
#7E9E27 #27439E #82279E
monochromatic
#303C0F #576D1B #7E9E27 #A4CD35 #BAD966

Accessibility & contrast

On white

3.08
#7E9E27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#7E9E27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9E27
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9E27#FFFFFF#000000##000000
##7E9E271.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7940D
Deuteranopia (green-blind)
#A39232
Tritanopia (blue-blind)
#849687
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #7e9e27;
/* rgb */ color: rgb(126, 158, 39);
/* oklch */ color: oklch(65.3% 0.146 123.8);
Tailwind
colors: {
  custom: {
    50: '#a7ba6a',
    500: '#7e9e27',
    950: '#000000',
  },
}
SCSS
$custom: #7e9e27;
$custom-light: #a7ba6a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9e27",
  "rgb": {
    "r": 126,
    "g": 158,
    "b": 39
  },
  "hsl": {
    "h": 76.134,
    "s": 60.406,
    "l": 38.627
  },
  "oklch": {
    "l": 0.6527,
    "c": 0.14597,
    "h": 123.8
  },
  "luminance": 0.29036
}

Semantic roles & 50–950 ramp

primary
#7E9E27
secondary
#7B62BF
accent
#44E46F
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7E9E27

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

Preview Lab → · Contrast checker → · Palette generator →

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