#4F5E17#4F5E17

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

Color values

HEX#4F5E17
RGBrgb(79, 94, 23)
HSLhsl(73, 61%, 23%)
HSVhsv(73, 76%, 37%)
CMYKcmyk(16%, 0%, 75.5%, 63.1%)
CIE-LABlab(37.35, -16.64, 36.70)
CIE-LCHlch(37.35, 40.30, 114.39°)
OKLaboklab(45.43% -0.0489 0.0821)
OKLCHoklch(45.43% 0.096 120.8)
XYZxyz(7.3819, 9.7295, 2.2995)
Luminance0.0973 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5E17 #26175E
analogous
#5E4917 #4F5E17 #2B5E17
triadic
#4F5E17 #174F5E #5E174F
tetradic
#4F5E17 #175E49 #26175E #5E172B
square
#4F5E17 #175E49 #26175E #5E172B
split-complementary
#4F5E17 #172B5E #49175E
monochromatic
#151906 #262D0B #4F5E17 #788F23 #A2C02F

Accessibility & contrast

On white

7.13
#4F5E17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#4F5E17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F5E17
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5E17#FFFFFF#000000##FFFFFF
##4F5E171.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#64580B
Deuteranopia (green-blind)
#62581D
Tritanopia (blue-blind)
#545950
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4f5e17;
/* rgb */ color: rgb(79, 94, 23);
/* oklch */ color: oklch(45.4% 0.096 120.8);
Tailwind
colors: {
  custom: {
    50: '#838b59',
    500: '#4f5e17',
    950: '#000000',
  },
}
SCSS
$custom: #4f5e17;
$custom-light: #838b59;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5e17",
  "rgb": {
    "r": 79,
    "g": 94,
    "b": 23
  },
  "hsl": {
    "h": 72.676,
    "s": 60.684,
    "l": 22.941
  },
  "oklch": {
    "l": 0.45425,
    "c": 0.09556,
    "h": 120.8
  },
  "luminance": 0.0973
}

Semantic roles & 50–950 ramp

primary
#4F5E17
secondary
#4F3C95
accent
#44E466
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #4F5E17

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

Preview Lab → · Contrast checker → · Palette generator →

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