#7F9A24#7F9A24

#7F9A24 is a light, vivid yellow-green. Relative luminance 0.278; OKLCH L 64.4% C 0.142 H 122.0°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#7F9A24
RGBrgb(127, 154, 36)
HSLhsl(74, 62%, 37%)
HSVhsv(74, 77%, 60%)
CMYKcmyk(17.5%, 0%, 76.6%, 39.6%)
CIE-LABlab(59.66, -25.66, 54.61)
CIE-LCHlch(59.66, 60.34, 115.17°)
OKLaboklab(64.35% -0.0755 0.1207)
OKLCHoklch(64.35% 0.142 122)
XYZxyz(20.6267, 27.7506, 5.9385)
Luminance0.2775 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F9A24 #3F249A
analogous
#9A7A24 #7F9A24 #449A24
triadic
#7F9A24 #247F9A #9A247F
tetradic
#7F9A24 #249A7A #3F249A #9A2444
square
#7F9A24 #249A7A #3F249A #9A2444
split-complementary
#7F9A24 #24449A #7A249A
monochromatic
#2D370D #566818 #7F9A24 #A8CC30 #BDDA5F

Accessibility & contrast

On white

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

On black

6.55
#7F9A24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F9A24
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F9A24#FFFFFF#000000##000000
##7F9A241.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49007
Deuteranopia (green-blind)
#A0902F
Tritanopia (blue-blind)
#869284
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #7f9a24;
/* rgb */ color: rgb(127, 154, 36);
/* oklch */ color: oklch(64.4% 0.142 122.0);
Tailwind
colors: {
  custom: {
    50: '#a7b768',
    500: '#7f9a24',
    950: '#000000',
  },
}
SCSS
$custom: #7f9a24;
$custom-light: #a7b768;
$custom-dark: #000000;
JSON
{
  "hex": "#7f9a24",
  "rgb": {
    "r": 127,
    "g": 154,
    "b": 36
  },
  "hsl": {
    "h": 73.729,
    "s": 62.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.64353,
    "c": 0.14232,
    "h": 122
  },
  "luminance": 0.27751
}

Semantic roles & 50–950 ramp

primary
#7F9A24
secondary
#725BBF
accent
#43E568
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #7F9A24

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

Preview Lab → · Contrast checker → · Palette generator →

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