#7E9124#7E9124

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

Color values

HEX#7E9124
RGBrgb(126, 145, 36)
HSLhsl(70, 60%, 35%)
HSVhsv(70, 75%, 57%)
CMYKcmyk(13.1%, 0%, 75.2%, 43.1%)
CIE-LABlab(56.89, -21.60, 51.95)
CIE-LCHlch(56.89, 56.26, 112.57°)
OKLaboklab(62.1% -0.0642 0.1151)
OKLCHoklch(62.1% 0.132 119.2)
XYZxyz(19.0484, 24.8139, 5.4548)
Luminance0.2481 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9124 #372491
analogous
#916D24 #7E9124 #479124
triadic
#7E9124 #247E91 #91247E
tetradic
#7E9124 #24916D #372491 #912447
square
#7E9124 #24916D #372491 #912447
split-complementary
#7E9124 #244791 #6D2491
monochromatic
#292F0C #536018 #7E9124 #A9C230 #C0D659

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E9124#FFFFFF#000000##000000
##7E91241.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)
#9B890D
Deuteranopia (green-blind)
#99892E
Tritanopia (blue-blind)
#86897C
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #7e9124;
/* rgb */ color: rgb(126, 145, 36);
/* oklch */ color: oklch(62.1% 0.132 119.2);
Tailwind
colors: {
  custom: {
    50: '#a6b167',
    500: '#7e9124',
    950: '#000000',
  },
}
SCSS
$custom: #7e9124;
$custom-light: #a6b167;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9124",
  "rgb": {
    "r": 126,
    "g": 145,
    "b": 36
  },
  "hsl": {
    "h": 70.459,
    "s": 60.221,
    "l": 35.49
  },
  "oklch": {
    "l": 0.62101,
    "c": 0.13181,
    "h": 119.2
  },
  "luminance": 0.24814
}

Semantic roles & 50–950 ramp

primary
#7E9124
secondary
#6856BA
accent
#44E360
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7E9124

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

Preview Lab → · Contrast checker → · Palette generator →

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