#4F5F11#4F5F11

#4F5F11 is a mid, moderate yellow-green. Relative luminance 0.099; OKLCH L 45.6% C 0.101 H 121.0°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#4F5F11
RGBrgb(79, 95, 17)
HSLhsl(72, 70%, 22%)
HSVhsv(72, 82%, 37%)
CMYKcmyk(16.8%, 0%, 82.1%, 62.7%)
CIE-LABlab(37.64, -17.53, 39.29)
CIE-LCHlch(37.64, 43.03, 114.04°)
OKLaboklab(45.64% -0.0519 0.0864)
OKLCHoklch(45.64% 0.101 121)
XYZxyz(7.4180, 9.8872, 2.0478)
Luminance0.0989 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5F11 #21115F
analogous
#5F4811 #4F5F11 #285F11
triadic
#4F5F11 #114F5F #5F114F
tetradic
#4F5F11 #115F48 #21115F #5F1128
square
#4F5F11 #115F48 #21115F #5F1128
split-complementary
#4F5F11 #11285F #48115F
monochromatic
#161A05 #242B08 #4F5F11 #7A931A #A5C724

Accessibility & contrast

On white

7.05
#4F5F11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#4F5F11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F5F11
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5F11#FFFFFF#000000##FFFFFF
##4F5F111.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655900
Deuteranopia (green-blind)
#635918
Tritanopia (blue-blind)
#545A50
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4f5f11;
/* rgb */ color: rgb(79, 95, 17);
/* oklch */ color: oklch(45.6% 0.101 121.0);
Tailwind
colors: {
  custom: {
    50: '#838c56',
    500: '#4f5f11',
    950: '#000000',
  },
}
SCSS
$custom: #4f5f11;
$custom-light: #838c56;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5f11",
  "rgb": {
    "r": 79,
    "g": 95,
    "b": 17
  },
  "hsl": {
    "h": 72.308,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.45644,
    "c": 0.10082,
    "h": 121
  },
  "luminance": 0.09887
}

Semantic roles & 50–950 ramp

primary
#4F5F11
secondary
#493498
accent
#3BEC60
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #4F5F11

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

Preview Lab → · Contrast checker → · Palette generator →

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