#4F7623#4F7623

#4F7623 is a mid, moderate yellow-green. Relative luminance 0.147; OKLCH L 51.9% C 0.120 H 131.2°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#4F7623
RGBrgb(79, 118, 35)
HSLhsl(88, 54%, 30%)
HSVhsv(88, 70%, 46%)
CMYKcmyk(33.1%, 0%, 70.3%, 53.7%)
CIE-LABlab(45.28, -28.03, 39.68)
CIE-LCHlch(45.28, 48.58, 125.24°)
OKLaboklab(51.88% -0.079 0.0903)
OKLCHoklch(51.88% 0.12 131.2)
XYZxyz(10.0062, 14.7401, 3.9077)
Luminance0.1474 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7623 #4A2376
analogous
#767423 #4F7623 #257623
triadic
#4F7623 #234F76 #76234F
tetradic
#4F7623 #237674 #4A2376 #762325
square
#4F7623 #237674 #4A2376 #762325
split-complementary
#4F7623 #232576 #742376
monochromatic
#101807 #2F4715 #4F7623 #6FA531 #8EC94A

Accessibility & contrast

On white

5.32
#4F7623 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#4F7623 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F7623
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7623#FFFFFF#000000##FFFFFF
##4F76231.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D17
Deuteranopia (green-blind)
#766A2A
Tritanopia (blue-blind)
#517165
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4f7623;
/* rgb */ color: rgb(79, 118, 35);
/* oklch */ color: oklch(51.9% 0.120 131.2);
Tailwind
colors: {
  custom: {
    50: '#849d63',
    500: '#4f7623',
    950: '#000000',
  },
}
SCSS
$custom: #4f7623;
$custom-light: #849d63;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7623",
  "rgb": {
    "r": 79,
    "g": 118,
    "b": 35
  },
  "hsl": {
    "h": 88.193,
    "s": 54.248,
    "l": 30
  },
  "oklch": {
    "l": 0.51876,
    "c": 0.11999,
    "h": 131.2
  },
  "luminance": 0.1474
}

Semantic roles & 50–950 ramp

primary
#4F7623
secondary
#784CA9
accent
#4ADE8F
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E05
muted
#7C7E7A

Preview Lab

Preview with #4F7623

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

Preview Lab → · Contrast checker → · Palette generator →

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