#7E9727#7E9727

#7E9727 is a light, vivid yellow-green. Relative luminance 0.267; OKLCH L 63.6% C 0.137 H 121.5°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#7E9727
RGBrgb(126, 151, 39)
HSLhsl(73, 59%, 37%)
HSVhsv(73, 74%, 59%)
CMYKcmyk(16.6%, 0%, 74.2%, 40.8%)
CIE-LABlab(58.71, -24.45, 52.62)
CIE-LCHlch(58.71, 58.02, 114.92°)
OKLaboklab(63.57% -0.0718 0.117)
OKLCHoklch(63.57% 0.137 121.5)
XYZxyz(20.0373, 26.7153, 6.0200)
Luminance0.2671 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9727 #402797
analogous
#977827 #7E9727 #469727
triadic
#7E9727 #277E97 #97277E
tetradic
#7E9727 #279778 #402797 #972746
square
#7E9727 #279778 #402797 #972746
split-complementary
#7E9727 #274697 #782797
monochromatic
#2D360E #55661A #7E9727 #A7C834 #BCD662

Accessibility & contrast

On white

3.31
#7E9727 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#7E9727 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9727
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9727#FFFFFF#000000##000000
##7E97271.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08E11
Deuteranopia (green-blind)
#9D8D31
Tritanopia (blue-blind)
#858F81
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #7e9727;
/* rgb */ color: rgb(126, 151, 39);
/* oklch */ color: oklch(63.6% 0.137 121.5);
Tailwind
colors: {
  custom: {
    50: '#a7b569',
    500: '#7e9727',
    950: '#000000',
  },
}
SCSS
$custom: #7e9727;
$custom-light: #a7b569;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9727",
  "rgb": {
    "r": 126,
    "g": 151,
    "b": 39
  },
  "hsl": {
    "h": 73.393,
    "s": 58.947,
    "l": 37.255
  },
  "oklch": {
    "l": 0.63571,
    "c": 0.1373,
    "h": 121.5
  },
  "luminance": 0.26715
}

Semantic roles & 50–950 ramp

primary
#7E9727
secondary
#735EBC
accent
#46E269
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #7E9727

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

Preview Lab → · Contrast checker → · Palette generator →

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