#7E9825#7E9825

#7E9825 is a light, vivid yellow-green. Relative luminance 0.270; OKLCH L 63.8% C 0.140 H 121.8°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#7E9825
RGBrgb(126, 152, 37)
HSLhsl(74, 61%, 37%)
HSVhsv(74, 76%, 60%)
CMYKcmyk(17.1%, 0%, 75.7%, 40.4%)
CIE-LABlab(59.00, -25.05, 53.61)
CIE-LCHlch(59.00, 59.17, 115.04°)
OKLaboklab(63.8% -0.0737 0.1188)
OKLCHoklch(63.8% 0.14 121.8)
XYZxyz(20.1667, 27.0256, 5.9040)
Luminance0.2703 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9825 #3F2598
analogous
#987925 #7E9825 #459825
triadic
#7E9825 #257E98 #98257E
tetradic
#7E9825 #259879 #3F2598 #982545
square
#7E9825 #259879 #3F2598 #982545
split-complementary
#7E9825 #254598 #792598
monochromatic
#2C360D #556719 #7E9825 #A7C931 #BDD85F

Accessibility & contrast

On white

3.28
#7E9825 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#7E9825 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9825
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9825#FFFFFF#000000##000000
##7E98251.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18F0C
Deuteranopia (green-blind)
#9E8E2F
Tritanopia (blue-blind)
#859082
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #7e9825;
/* rgb */ color: rgb(126, 152, 37);
/* oklch */ color: oklch(63.8% 0.140 121.8);
Tailwind
colors: {
  custom: {
    50: '#a7b669',
    500: '#7e9825',
    950: '#000000',
  },
}
SCSS
$custom: #7e9825;
$custom-light: #a7b669;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9825",
  "rgb": {
    "r": 126,
    "g": 152,
    "b": 37
  },
  "hsl": {
    "h": 73.565,
    "s": 60.847,
    "l": 37.059
  },
  "oklch": {
    "l": 0.638,
    "c": 0.13975,
    "h": 121.8
  },
  "luminance": 0.27026
}

Semantic roles & 50–950 ramp

primary
#7E9825
secondary
#725CBD
accent
#44E468
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #7E9825

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

Preview Lab → · Contrast checker → · Palette generator →

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