#4F8024#4F8024

#4F8024 is a mid, vivid yellow-green. Relative luminance 0.172; OKLCH L 54.5% C 0.133 H 133.4°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#4F8024
RGBrgb(79, 128, 36)
HSLhsl(92, 56%, 32%)
HSVhsv(92, 72%, 50%)
CMYKcmyk(38.3%, 0%, 71.9%, 49.8%)
CIE-LABlab(48.55, -32.63, 42.65)
CIE-LCHlch(48.55, 53.70, 127.42°)
OKLaboklab(54.54% -0.0915 0.0967)
OKLCHoklch(54.54% 0.133 133.4)
XYZxyz(11.2619, 17.2275, 4.4006)
Luminance0.1723 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8024 #552480
analogous
#7D8024 #4F8024 #248027
triadic
#4F8024 #244F80 #80244F
tetradic
#4F8024 #247D80 #552480 #802724
square
#4F8024 #247D80 #552480 #802724
split-complementary
#4F8024 #272480 #80247D
monochromatic
#142009 #325017 #4F8024 #6CB031 #8BCE50

Accessibility & contrast

On white

4.72
#4F8024 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#4F8024 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F8024
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8024#FFFFFF#000000##FFFFFF
##4F80241.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857616
Deuteranopia (green-blind)
#7F722C
Tritanopia (blue-blind)
#4F7B6E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4f8024;
/* rgb */ color: rgb(79, 128, 36);
/* oklch */ color: oklch(54.5% 0.133 133.4);
Tailwind
colors: {
  custom: {
    50: '#84a564',
    500: '#4f8024',
    950: '#000000',
  },
}
SCSS
$custom: #4f8024;
$custom-light: #84a564;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8024",
  "rgb": {
    "r": 79,
    "g": 128,
    "b": 36
  },
  "hsl": {
    "h": 91.957,
    "s": 56.098,
    "l": 32.157
  },
  "oklch": {
    "l": 0.54544,
    "c": 0.1331,
    "h": 133.4
  },
  "luminance": 0.17228
}

Semantic roles & 50–950 ramp

primary
#4F8024
secondary
#834EB2
accent
#48DF99
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4F8024

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

Preview Lab → · Contrast checker → · Palette generator →

#4F8024 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva