#4F8D10#4F8D10

#4F8D10 is a mid, vivid yellow-green. Relative luminance 0.207; OKLCH L 57.9% C 0.160 H 134.0°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#4F8D10
RGBrgb(79, 141, 16)
HSLhsl(90, 80%, 31%)
HSVhsv(90, 89%, 55%)
CMYKcmyk(44%, 0%, 88.7%, 44.7%)
CIE-LABlab(52.67, -39.43, 52.94)
CIE-LCHlch(52.67, 66.01, 126.68°)
OKLaboklab(57.89% -0.1111 0.1152)
OKLCHoklch(57.89% 0.16 134)
XYZxyz(12.8426, 20.7487, 3.8183)
Luminance0.2075 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8D10 #4E108D
analogous
#8D8C10 #4F8D10 #108D10
triadic
#4F8D10 #104F8D #8D104F
tetradic
#4F8D10 #108D8C #4E108D #8D1010
square
#4F8D10 #108D8C #4E108D #8D1010
split-complementary
#4F8D10 #10108D #8C108D
monochromatic
#111F04 #30560A #4F8D10 #6EC416 #8CE730

Accessibility & contrast

On white

4.08
#4F8D10 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#4F8D10 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8D10
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8D10#FFFFFF#000000##000000
##4F8D101.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f8d10;
/* rgb */ color: rgb(79, 141, 16);
/* oklch */ color: oklch(57.9% 0.160 134.0);
Tailwind
colors: {
  custom: {
    50: '#87af5e',
    500: '#4f8d10',
    950: '#000000',
  },
}
SCSS
$custom: #4f8d10;
$custom-light: #87af5e;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8d10",
  "rgb": {
    "r": 79,
    "g": 141,
    "b": 16
  },
  "hsl": {
    "h": 89.76,
    "s": 79.618,
    "l": 30.784
  },
  "oklch": {
    "l": 0.5789,
    "c": 0.16008,
    "h": 134
  },
  "luminance": 0.20749
}

Semantic roles & 50–950 ramp

primary
#4F8D10
secondary
#7C37C2
accent
#32F693
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #4F8D10

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

Preview Lab → · Contrast checker → · Palette generator →

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