#4F8622#4F8622

#4F8622 is a mid, vivid yellow-green. Relative luminance 0.188; OKLCH L 56.1% C 0.142 H 134.2°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#4F8622
RGBrgb(79, 134, 34)
HSLhsl(93, 60%, 33%)
HSVhsv(93, 75%, 53%)
CMYKcmyk(41%, 0%, 74.6%, 47.5%)
CIE-LABlab(50.48, -35.47, 45.41)
CIE-LCHlch(50.48, 57.63, 127.99°)
OKLaboklab(56.13% -0.0993 0.1022)
OKLCHoklch(56.13% 0.143 134.2)
XYZxyz(12.0381, 18.8273, 4.5128)
Luminance0.1883 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8622 #592286
analogous
#818622 #4F8622 #228627
triadic
#4F8622 #224F86 #86224F
tetradic
#4F8622 #228186 #592286 #862722
square
#4F8622 #228186 #592286 #862722
split-complementary
#4F8622 #272286 #862281
monochromatic
#152409 #325516 #4F8622 #6CB72E #8BD350

Accessibility & contrast

On white

4.41
#4F8622 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#4F8622 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8622
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8622#FFFFFF#000000##000000
##4F86221.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B10
Deuteranopia (green-blind)
#84772C
Tritanopia (blue-blind)
#4E8173
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4f8622;
/* rgb */ color: rgb(79, 134, 34);
/* oklch */ color: oklch(56.1% 0.142 134.2);
Tailwind
colors: {
  custom: {
    50: '#85a964',
    500: '#4f8622',
    950: '#000000',
  },
}
SCSS
$custom: #4f8622;
$custom-light: #85a964;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8622",
  "rgb": {
    "r": 79,
    "g": 134,
    "b": 34
  },
  "hsl": {
    "h": 93,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56125,
    "c": 0.1425,
    "h": 134.2
  },
  "luminance": 0.18828
}

Semantic roles & 50–950 ramp

primary
#4F8622
secondary
#874EB6
accent
#45E39C
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4F8622

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

Preview Lab → · Contrast checker → · Palette generator →

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