#4F7111#4F7111

#4F7111 is a mid, vivid yellow-green. Relative luminance 0.135; OKLCH L 50.4% C 0.124 H 128.2°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#4F7111
RGBrgb(79, 113, 17)
HSLhsl(81, 74%, 25%)
HSVhsv(81, 85%, 44%)
CMYKcmyk(30.1%, 0%, 85%, 55.7%)
CIE-LABlab(43.53, -26.75, 44.66)
CIE-LCHlch(43.53, 52.05, 120.92°)
OKLaboklab(50.41% -0.077 0.0978)
OKLCHoklch(50.41% 0.124 128.2)
XYZxyz(9.2308, 13.5128, 2.6521)
Luminance0.1351 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7111 #331171
analogous
#716311 #4F7111 #1F7111
triadic
#4F7111 #114F71 #71114F
tetradic
#4F7111 #117163 #331171 #71111F
square
#4F7111 #117163 #331171 #71111F
split-complementary
#4F7111 #111F71 #631171
monochromatic
#131B04 #2A3C09 #4F7111 #74A619 #99DB21

Accessibility & contrast

On white

5.67
#4F7111 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#4F7111 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F7111
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7111#FFFFFF#000000##FFFFFF
##4F71111.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776800
Deuteranopia (green-blind)
#72661C
Tritanopia (blue-blind)
#526B60
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4f7111;
/* rgb */ color: rgb(79, 113, 17);
/* oklch */ color: oklch(50.4% 0.124 128.2);
Tailwind
colors: {
  custom: {
    50: '#849a59',
    500: '#4f7111',
    950: '#000000',
  },
}
SCSS
$custom: #4f7111;
$custom-light: #849a59;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7111",
  "rgb": {
    "r": 79,
    "g": 113,
    "b": 17
  },
  "hsl": {
    "h": 81.25,
    "s": 73.846,
    "l": 25.49
  },
  "oklch": {
    "l": 0.50414,
    "c": 0.12446,
    "h": 128.2
  },
  "luminance": 0.13513
}

Semantic roles & 50–950 ramp

primary
#4F7111
secondary
#5E36A8
accent
#37F179
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4F7111

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

Preview Lab → · Contrast checker → · Palette generator →

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