#4F702F#4F702F

#4F702F is a mid, moderate yellow-green. Relative luminance 0.135; OKLCH L 50.4% C 0.101 H 131.5°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#4F702F
RGBrgb(79, 112, 47)
HSLhsl(90, 41%, 31%)
HSVhsv(90, 58%, 44%)
CMYKcmyk(29.5%, 0%, 58%, 56.1%)
CIE-LABlab(43.44, -23.92, 31.91)
CIE-LCHlch(43.44, 39.88, 126.85°)
OKLaboklab(50.42% -0.0667 0.0752)
OKLCHoklch(50.42% 0.101 131.5)
XYZxyz(9.5316, 13.4556, 4.7838)
Luminance0.1346 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F702F #502F70
analogous
#6F702F #4F702F #2F702F
triadic
#4F702F #2F4F70 #702F4F
tetradic
#4F702F #2F6F70 #502F70 #702F2F
square
#4F702F #2F6F70 #502F70 #702F2F
split-complementary
#4F702F #2F2F70 #702F6F
monochromatic
#121A0B #31451D #4F702F #6D9B41 #8CBB5E

Accessibility & contrast

On white

5.69
#4F702F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#4F702F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F702F
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F702F#FFFFFF#000000##FFFFFF
##4F702F1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756829
Deuteranopia (green-blind)
#706633
Tritanopia (blue-blind)
#506C62
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4f702f;
/* rgb */ color: rgb(79, 112, 47);
/* oklch */ color: oklch(50.4% 0.101 131.5);
Tailwind
colors: {
  custom: {
    50: '#82996a',
    500: '#4f702f',
    950: '#000000',
  },
}
SCSS
$custom: #4f702f;
$custom-light: #82996a;
$custom-dark: #000000;
JSON
{
  "hex": "#4f702f",
  "rgb": {
    "r": 79,
    "g": 112,
    "b": 47
  },
  "hsl": {
    "h": 90.462,
    "s": 40.881,
    "l": 31.176
  },
  "oklch": {
    "l": 0.50424,
    "c": 0.10052,
    "h": 131.5
  },
  "luminance": 0.13456
}

Semantic roles & 50–950 ramp

primary
#4F702F
secondary
#7E5AA1
accent
#57D195
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E06
muted
#7C7E7A

Preview Lab

Preview with #4F702F

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

Preview Lab → · Contrast checker → · Palette generator →

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