#4F8023#4F8023

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

Color values

HEX#4F8023
RGBrgb(79, 128, 35)
HSLhsl(92, 57%, 32%)
HSVhsv(92, 73%, 50%)
CMYKcmyk(38.3%, 0%, 72.7%, 49.8%)
CIE-LABlab(48.54, -32.71, 43.05)
CIE-LCHlch(48.54, 54.07, 127.23°)
OKLaboklab(54.54% -0.0918 0.0974)
OKLCHoklch(54.54% 0.134 133.3)
XYZxyz(11.2468, 17.2215, 4.3213)
Luminance0.1722 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8023 #542380
analogous
#7E8023 #4F8023 #238026
triadic
#4F8023 #234F80 #80234F
tetradic
#4F8023 #237E80 #542380 #802623
square
#4F8023 #237E80 #542380 #802623
split-complementary
#4F8023 #262380 #80237E
monochromatic
#142009 #315016 #4F8023 #6DB030 #8BCF4F

Accessibility & contrast

On white

4.73
#4F8023 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#4F8023 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F8023
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8023#FFFFFF#000000##FFFFFF
##4F80231.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f8023;
/* rgb */ color: rgb(79, 128, 35);
/* oklch */ color: oklch(54.5% 0.134 133.3);
Tailwind
colors: {
  custom: {
    50: '#85a564',
    500: '#4f8023',
    950: '#000000',
  },
}
SCSS
$custom: #4f8023;
$custom-light: #85a564;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8023",
  "rgb": {
    "r": 79,
    "g": 128,
    "b": 35
  },
  "hsl": {
    "h": 91.613,
    "s": 57.055,
    "l": 31.961
  },
  "oklch": {
    "l": 0.54535,
    "c": 0.1338,
    "h": 133.3
  },
  "luminance": 0.17222
}

Semantic roles & 50–950 ramp

primary
#4F8023
secondary
#824DB2
accent
#47E098
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4F8023

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

Preview Lab → · Contrast checker → · Palette generator →

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