#4F8227#4F8227

#4F8227 is a mid, vivid yellow-green. Relative luminance 0.178; OKLCH L 55.1% C 0.134 H 134.1°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#4F8227
RGBrgb(79, 130, 39)
HSLhsl(94, 54%, 33%)
HSVhsv(94, 70%, 51%)
CMYKcmyk(39.2%, 0%, 70%, 49%)
CIE-LABlab(49.22, -33.30, 42.09)
CIE-LCHlch(49.22, 53.67, 128.35°)
OKLaboklab(55.1% -0.0931 0.0959)
OKLCHoklch(55.1% 0.134 134.1)
XYZxyz(11.5731, 17.7735, 4.7399)
Luminance0.1777 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8227 #5A2782
analogous
#7C8227 #4F8227 #27822C
triadic
#4F8227 #274F82 #82274F
tetradic
#4F8227 #277C82 #5A2782 #822C27
square
#4F8227 #277C82 #5A2782 #822C27
split-complementary
#4F8227 #2C2782 #82277C
monochromatic
#16240B #325319 #4F8227 #6CB135 #8BCD57

Accessibility & contrast

On white

4.61
#4F8227 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#4F8227 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4F8227
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8227#FFFFFF#000000##FFFFFF
##4F82271.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#87781A
Deuteranopia (green-blind)
#80732F
Tritanopia (blue-blind)
#4F7D70
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4f8227;
/* rgb */ color: rgb(79, 130, 39);
/* oklch */ color: oklch(55.1% 0.134 134.1);
Tailwind
colors: {
  custom: {
    50: '#85a666',
    500: '#4f8227',
    950: '#000000',
  },
}
SCSS
$custom: #4f8227;
$custom-light: #85a666;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8227",
  "rgb": {
    "r": 79,
    "g": 130,
    "b": 39
  },
  "hsl": {
    "h": 93.626,
    "s": 53.846,
    "l": 33.137
  },
  "oklch": {
    "l": 0.55103,
    "c": 0.13365,
    "h": 134.1
  },
  "luminance": 0.17774
}

Semantic roles & 50–950 ramp

primary
#4F8227
secondary
#8853B1
accent
#4BDD9D
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4F8227

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

Preview Lab → · Contrast checker → · Palette generator →

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