#4F8D18#4F8D18

#4F8D18 is a mid, vivid yellow-green. Relative luminance 0.208; OKLCH L 57.9% C 0.157 H 134.4°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#4F8D18
RGBrgb(79, 141, 24)
HSLhsl(92, 71%, 32%)
HSVhsv(92, 83%, 55%)
CMYKcmyk(44%, 0%, 83%, 44.7%)
CIE-LABlab(52.70, -39.10, 50.91)
CIE-LCHlch(52.70, 64.19, 127.52°)
OKLaboklab(57.93% -0.1098 0.1121)
OKLCHoklch(57.93% 0.157 134.4)
XYZxyz(12.9139, 20.7772, 4.1939)
Luminance0.2078 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8D18 #56188D
analogous
#898D18 #4F8D18 #188D1C
triadic
#4F8D18 #184F8D #8D184F
tetradic
#4F8D18 #18898D #56188D #8D1C18
square
#4F8D18 #18898D #56188D #8D1C18
split-complementary
#4F8D18 #1C188D #8D1889
monochromatic
#142406 #32590F #4F8D18 #6CC121 #8BDF41

Accessibility & contrast

On white

4.07
#4F8D18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#4F8D18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8D18
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8D18#FFFFFF#000000##000000
##4F8D181.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#8A7C26
Tritanopia (blue-blind)
#4E8778
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4f8d18;
/* rgb */ color: rgb(79, 141, 24);
/* oklch */ color: oklch(57.9% 0.157 134.4);
Tailwind
colors: {
  custom: {
    50: '#86af61',
    500: '#4f8d18',
    950: '#000000',
  },
}
SCSS
$custom: #4f8d18;
$custom-light: #86af61;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8d18",
  "rgb": {
    "r": 79,
    "g": 141,
    "b": 24
  },
  "hsl": {
    "h": 91.795,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.57926,
    "c": 0.15693,
    "h": 134.4
  },
  "luminance": 0.20778
}

Semantic roles & 50–950 ramp

primary
#4F8D18
secondary
#8442BF
accent
#3AEE99
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #4F8D18

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

Preview Lab → · Contrast checker → · Palette generator →

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