#4F8110#4F8110

#4F8110 is a mid, vivid yellow-green. Relative luminance 0.174; OKLCH L 54.7% C 0.145 H 132.0°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#4F8110
RGBrgb(79, 129, 16)
HSLhsl(87, 78%, 28%)
HSVhsv(87, 88%, 51%)
CMYKcmyk(38.8%, 0%, 87.6%, 49.4%)
CIE-LABlab(48.76, -34.24, 49.55)
CIE-LCHlch(48.76, 60.23, 124.64°)
OKLaboklab(54.68% -0.0972 0.108)
OKLCHoklch(54.68% 0.145 132)
XYZxyz(11.1681, 17.3997, 3.2601)
Luminance0.1740 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8110 #421081
analogous
#817A10 #4F8110 #168110
triadic
#4F8110 #104F81 #81104F
tetradic
#4F8110 #10817A #421081 #811016
square
#4F8110 #10817A #421081 #811016
split-complementary
#4F8110 #101681 #7A1081
monochromatic
#111B03 #2E4B09 #4F8110 #70B717 #91E427

Accessibility & contrast

On white

4.69
#4F8110 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#4F8110 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F8110
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8110#FFFFFF#000000##FFFFFF
##4F81101.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877600
Deuteranopia (green-blind)
#80721F
Tritanopia (blue-blind)
#507B6D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4f8110;
/* rgb */ color: rgb(79, 129, 16);
/* oklch */ color: oklch(54.7% 0.145 132.0);
Tailwind
colors: {
  custom: {
    50: '#85a65c',
    500: '#4f8110',
    950: '#000000',
  },
}
SCSS
$custom: #4f8110;
$custom-light: #85a65c;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8110",
  "rgb": {
    "r": 79,
    "g": 129,
    "b": 16
  },
  "hsl": {
    "h": 86.549,
    "s": 77.931,
    "l": 28.431
  },
  "oklch": {
    "l": 0.54683,
    "c": 0.14532,
    "h": 132
  },
  "luminance": 0.174
}

Semantic roles & 50–950 ramp

primary
#4F8110
secondary
#6F36B7
accent
#33F489
background
#F8FAF5
surface
#F0F4E9
border
#CBCEC5
text
#0C0F04
muted
#7D7F79

Preview Lab

Preview with #4F8110

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

Preview Lab → · Contrast checker → · Palette generator →

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