#7E9725#7E9725

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

Color values

HEX#7E9725
RGBrgb(126, 151, 37)
HSLhsl(73, 61%, 37%)
HSVhsv(73, 75%, 59%)
CMYKcmyk(16.6%, 0%, 75.5%, 40.8%)
CIE-LABlab(58.70, -24.55, 53.32)
CIE-LCHlch(58.70, 58.70, 114.73°)
OKLaboklab(63.56% -0.0723 0.1182)
OKLCHoklch(63.56% 0.139 121.5)
XYZxyz(20.0050, 26.7024, 5.8501)
Luminance0.2670 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9725 #3E2597
analogous
#977725 #7E9725 #459725
triadic
#7E9725 #257E97 #97257E
tetradic
#7E9725 #259777 #3E2597 #972545
square
#7E9725 #259777 #3E2597 #972545
split-complementary
#7E9725 #254597 #772597
monochromatic
#2C350D #556619 #7E9725 #A7C831 #BDD85F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E9725#FFFFFF#000000##000000
##7E97251.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)
#A08E0C
Deuteranopia (green-blind)
#9D8D2F
Tritanopia (blue-blind)
#858F81
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #7e9725;
/* rgb */ color: rgb(126, 151, 37);
/* oklch */ color: oklch(63.6% 0.139 121.5);
Tailwind
colors: {
  custom: {
    50: '#a7b568',
    500: '#7e9725',
    950: '#000000',
  },
}
SCSS
$custom: #7e9725;
$custom-light: #a7b568;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9725",
  "rgb": {
    "r": 126,
    "g": 151,
    "b": 37
  },
  "hsl": {
    "h": 73.158,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.63558,
    "c": 0.13852,
    "h": 121.5
  },
  "luminance": 0.26702
}

Semantic roles & 50–950 ramp

primary
#7E9725
secondary
#705BBD
accent
#44E467
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #7E9725

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

Preview Lab → · Contrast checker → · Palette generator →

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