#7E9A24#7E9A24

#7E9A24 is a light, vivid yellow-green. Relative luminance 0.277; OKLCH L 64.3% C 0.143 H 122.4°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#7E9A24
RGBrgb(126, 154, 36)
HSLhsl(74, 62%, 37%)
HSVhsv(74, 77%, 60%)
CMYKcmyk(18.2%, 0%, 76.6%, 39.6%)
CIE-LABlab(59.59, -26.08, 54.52)
CIE-LCHlch(59.59, 60.44, 115.57°)
OKLaboklab(64.28% -0.0766 0.1205)
OKLCHoklch(64.28% 0.143 122.4)
XYZxyz(20.4785, 27.6741, 5.9315)
Luminance0.2767 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9A24 #40249A
analogous
#9A7B24 #7E9A24 #439A24
triadic
#7E9A24 #247E9A #9A247E
tetradic
#7E9A24 #249A7B #40249A #9A2443
square
#7E9A24 #249A7B #40249A #9A2443
split-complementary
#7E9A24 #24439A #7B249A
monochromatic
#2D370D #556818 #7E9A24 #A7CC30 #BCDA5F

Accessibility & contrast

On white

3.21
#7E9A24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#7E9A24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9A24
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9A24#FFFFFF#000000##000000
##7E9A241.003.216.536.53
#FFFFFF3.211.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39007
Deuteranopia (green-blind)
#A08F2F
Tritanopia (blue-blind)
#859284
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7e9a24;
/* rgb */ color: rgb(126, 154, 36);
/* oklch */ color: oklch(64.3% 0.143 122.4);
Tailwind
colors: {
  custom: {
    50: '#a7b768',
    500: '#7e9a24',
    950: '#000000',
  },
}
SCSS
$custom: #7e9a24;
$custom-light: #a7b768;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9a24",
  "rgb": {
    "r": 126,
    "g": 154,
    "b": 36
  },
  "hsl": {
    "h": 74.237,
    "s": 62.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.64279,
    "c": 0.14277,
    "h": 122.4
  },
  "luminance": 0.27674
}

Semantic roles & 50–950 ramp

primary
#7E9A24
secondary
#735BBF
accent
#43E569
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #7E9A24

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

Preview Lab → · Contrast checker → · Palette generator →

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