#7E9125#7E9125

#7E9125 is a light, vivid yellow-green. Relative luminance 0.248; OKLCH L 62.1% C 0.131 H 119.2°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#7E9125
RGBrgb(126, 145, 37)
HSLhsl(71, 59%, 36%)
HSVhsv(71, 74%, 57%)
CMYKcmyk(13.1%, 0%, 74.5%, 43.1%)
CIE-LABlab(56.90, -21.54, 51.59)
CIE-LCHlch(56.90, 55.91, 112.66°)
OKLaboklab(62.11% -0.064 0.1145)
OKLCHoklch(62.11% 0.131 119.2)
XYZxyz(19.0639, 24.8201, 5.5364)
Luminance0.2482 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9125 #382591
analogous
#916E25 #7E9125 #489125
triadic
#7E9125 #257E91 #91257E
tetradic
#7E9125 #25916E #382591 #912548
square
#7E9125 #25916E #382591 #912548
split-complementary
#7E9125 #254891 #6E2591
monochromatic
#292F0C #546019 #7E9125 #A8C231 #C0D55B

Accessibility & contrast

On white

3.52
#7E9125 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#7E9125 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9125
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9125#FFFFFF#000000##000000
##7E91251.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8910
Deuteranopia (green-blind)
#98892E
Tritanopia (blue-blind)
#86897C
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #7e9125;
/* rgb */ color: rgb(126, 145, 37);
/* oklch */ color: oklch(62.1% 0.131 119.2);
Tailwind
colors: {
  custom: {
    50: '#a6b168',
    500: '#7e9125',
    950: '#000000',
  },
}
SCSS
$custom: #7e9125;
$custom-light: #a6b168;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9125",
  "rgb": {
    "r": 126,
    "g": 145,
    "b": 37
  },
  "hsl": {
    "h": 70.556,
    "s": 59.341,
    "l": 35.686
  },
  "oklch": {
    "l": 0.62108,
    "c": 0.13119,
    "h": 119.2
  },
  "luminance": 0.2482
}

Semantic roles & 50–950 ramp

primary
#7E9125
secondary
#6958BA
accent
#45E361
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7E9125

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

Preview Lab → · Contrast checker → · Palette generator →

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