#4F8518#4F8518

#4F8518 is a mid, vivid yellow-green. Relative luminance 0.185; OKLCH L 55.8% C 0.147 H 133.2°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#4F8518
RGBrgb(79, 133, 24)
HSLhsl(90, 69%, 31%)
HSVhsv(90, 82%, 52%)
CMYKcmyk(40.6%, 0%, 82%, 47.8%)
CIE-LABlab(50.10, -35.65, 48.52)
CIE-LCHlch(50.10, 60.21, 126.30°)
OKLaboklab(55.79% -0.1005 0.1071)
OKLCHoklch(55.79% 0.147 133.2)
XYZxyz(11.7767, 18.5027, 3.8148)
Luminance0.1850 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8518 #4E1885
analogous
#858418 #4F8518 #188518
triadic
#4F8518 #184F85 #85184F
tetradic
#4F8518 #188584 #4E1885 #851818
square
#4F8518 #188584 #4E1885 #851818
split-complementary
#4F8518 #181885 #841885
monochromatic
#111D05 #30510F #4F8518 #6EB921 #8CDC3C

Accessibility & contrast

On white

4.47
#4F8518 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#4F8518 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8518
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8518#FFFFFF#000000##000000
##4F85181.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#837624
Tritanopia (blue-blind)
#4F7F71
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4f8518;
/* rgb */ color: rgb(79, 133, 24);
/* oklch */ color: oklch(55.8% 0.147 133.2);
Tailwind
colors: {
  custom: {
    50: '#86a95f',
    500: '#4f8518',
    950: '#000000',
  },
}
SCSS
$custom: #4f8518;
$custom-light: #86a95f;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8518",
  "rgb": {
    "r": 79,
    "g": 133,
    "b": 24
  },
  "hsl": {
    "h": 89.725,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.55791,
    "c": 0.14688,
    "h": 133.2
  },
  "luminance": 0.18503
}

Semantic roles & 50–950 ramp

primary
#4F8518
secondary
#7C40B9
accent
#3CEC93
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #4F8518

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

Preview Lab → · Contrast checker → · Palette generator →

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