#4F5E12#4F5E12

#4F5E12 is a mid, moderate yellow-green. Relative luminance 0.097; OKLCH L 45.4% C 0.099 H 120.5°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#4F5E12
RGBrgb(79, 94, 18)
HSLhsl(72, 68%, 22%)
HSVhsv(72, 81%, 37%)
CMYKcmyk(16%, 0%, 80.9%, 63.1%)
CIE-LABlab(37.32, -16.94, 38.64)
CIE-LCHlch(37.32, 42.19, 113.67°)
OKLaboklab(45.39% -0.0502 0.0852)
OKLCHoklch(45.39% 0.099 120.5)
XYZxyz(7.3365, 9.7114, 2.0601)
Luminance0.0971 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5E12 #21125E
analogous
#5E4712 #4F5E12 #295E12
triadic
#4F5E12 #124F5E #5E124F
tetradic
#4F5E12 #125E47 #21125E #5E1229
square
#4F5E12 #125E47 #21125E #5E1229
split-complementary
#4F5E12 #12295E #47125E
monochromatic
#161A05 #242B08 #4F5E12 #7A911C #A5C526

Accessibility & contrast

On white

7.14
#4F5E12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#4F5E12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F5E12
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5E12#FFFFFF#000000##FFFFFF
##4F5E121.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645802
Deuteranopia (green-blind)
#635819
Tritanopia (blue-blind)
#545950
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4f5e12;
/* rgb */ color: rgb(79, 94, 18);
/* oklch */ color: oklch(45.4% 0.099 120.5);
Tailwind
colors: {
  custom: {
    50: '#838b57',
    500: '#4f5e12',
    950: '#000000',
  },
}
SCSS
$custom: #4f5e12;
$custom-light: #838b57;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5e12",
  "rgb": {
    "r": 79,
    "g": 94,
    "b": 18
  },
  "hsl": {
    "h": 71.842,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.45387,
    "c": 0.09892,
    "h": 120.5
  },
  "luminance": 0.09711
}

Semantic roles & 50–950 ramp

primary
#4F5E12
secondary
#493596
accent
#3DEB5F
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #4F5E12

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

Preview Lab → · Contrast checker → · Palette generator →

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