#7D9E27#7D9E27

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

Color values

HEX#7D9E27
RGBrgb(125, 158, 39)
HSLhsl(77, 60%, 39%)
HSVhsv(77, 75%, 62%)
CMYKcmyk(20.9%, 0%, 75.3%, 38%)
CIE-LABlab(60.75, -28.29, 54.56)
CIE-LCHlch(60.75, 61.46, 117.41°)
OKLaboklab(65.2% -0.0823 0.1211)
OKLCHoklch(65.2% 0.146 124.2)
XYZxyz(21.0507, 28.9600, 6.3999)
Luminance0.2896 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9E27 #48279E
analogous
#9E8327 #7D9E27 #419E27
triadic
#7D9E27 #277D9E #9E277D
tetradic
#7D9E27 #279E83 #48279E #9E2741
square
#7D9E27 #279E83 #48279E #9E2741
split-complementary
#7D9E27 #27419E #83279E
monochromatic
#2F3C0F #566D1B #7D9E27 #A3CD35 #B9D966

Accessibility & contrast

On white

3.09
#7D9E27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#7D9E27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D9E27
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D9E27#FFFFFF#000000##000000
##7D9E271.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d9e27;
/* rgb */ color: rgb(125, 158, 39);
/* oklch */ color: oklch(65.2% 0.146 124.2);
Tailwind
colors: {
  custom: {
    50: '#a6ba6a',
    500: '#7d9e27',
    950: '#000000',
  },
}
SCSS
$custom: #7d9e27;
$custom-light: #a6ba6a;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9e27",
  "rgb": {
    "r": 125,
    "g": 158,
    "b": 39
  },
  "hsl": {
    "h": 76.639,
    "s": 60.406,
    "l": 38.627
  },
  "oklch": {
    "l": 0.65199,
    "c": 0.14645,
    "h": 124.2
  },
  "luminance": 0.2896
}

Semantic roles & 50–950 ramp

primary
#7D9E27
secondary
#7C62BF
accent
#44E470
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7D9E27

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

Preview Lab → · Contrast checker → · Palette generator →

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