#4F8310#4F8310

#4F8310 is a mid, vivid yellow-green. Relative luminance 0.179; OKLCH L 55.2% C 0.148 H 132.4°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#4F8310
RGBrgb(79, 131, 16)
HSLhsl(87, 78%, 29%)
HSVhsv(87, 88%, 51%)
CMYKcmyk(39.7%, 0%, 87.8%, 48.6%)
CIE-LABlab(49.41, -35.13, 50.12)
CIE-LCHlch(49.41, 61.20, 125.03°)
OKLaboklab(55.22% -0.0996 0.1092)
OKLCHoklch(55.22% 0.148 132.4)
XYZxyz(11.4341, 17.9317, 3.3488)
Luminance0.1793 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8310 #441083
analogous
#837E10 #4F8310 #168310
triadic
#4F8310 #104F83 #83104F
tetradic
#4F8310 #10837E #441083 #831016
square
#4F8310 #10837E #441083 #831016
split-complementary
#4F8310 #101683 #7E1083
monochromatic
#101B03 #2E4C09 #4F8310 #70BA17 #90E529

Accessibility & contrast

On white

4.58
#4F8310 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#4F8310 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8310
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8310#FFFFFF#000000##000000
##4F83101.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#82741F
Tritanopia (blue-blind)
#507D6F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4f8310;
/* rgb */ color: rgb(79, 131, 16);
/* oklch */ color: oklch(55.2% 0.148 132.4);
Tailwind
colors: {
  custom: {
    50: '#86a75c',
    500: '#4f8310',
    950: '#000000',
  },
}
SCSS
$custom: #4f8310;
$custom-light: #86a75c;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8310",
  "rgb": {
    "r": 79,
    "g": 131,
    "b": 16
  },
  "hsl": {
    "h": 87.13,
    "s": 78.231,
    "l": 28.824
  },
  "oklch": {
    "l": 0.55218,
    "c": 0.14781,
    "h": 132.4
  },
  "luminance": 0.17932
}

Semantic roles & 50–950 ramp

primary
#4F8310
secondary
#7136B9
accent
#33F58B
background
#F8FAF5
surface
#F0F4E9
border
#CBCEC5
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #4F8310

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

Preview Lab → · Contrast checker → · Palette generator →

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