#4F7E23#4F7E23

#4F7E23 is a mid, vivid yellow-green. Relative luminance 0.167; OKLCH L 54.0% C 0.131 H 132.9°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#4F7E23
RGBrgb(79, 126, 35)
HSLhsl(91, 57%, 32%)
HSVhsv(91, 72%, 49%)
CMYKcmyk(37.3%, 0%, 72.2%, 50.6%)
CIE-LABlab(47.89, -31.79, 42.38)
CIE-LCHlch(47.89, 52.98, 126.87°)
OKLaboklab(54% -0.0893 0.096)
OKLCHoklch(54% 0.131 132.9)
XYZxyz(10.9885, 16.7049, 4.2352)
Luminance0.1671 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7E23 #52237E
analogous
#7D7E23 #4F7E23 #237E25
triadic
#4F7E23 #234F7E #7E234F
tetradic
#4F7E23 #237D7E #52237E #7E2523
square
#4F7E23 #237D7E #52237E #7E2523
split-complementary
#4F7E23 #25237E #7E237D
monochromatic
#131E08 #314E16 #4F7E23 #6DAE30 #8CCE4E

Accessibility & contrast

On white

4.84
#4F7E23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#4F7E23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F7E23
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7E23#FFFFFF#000000##FFFFFF
##4F7E231.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837415
Deuteranopia (green-blind)
#7D702B
Tritanopia (blue-blind)
#4F796C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4f7e23;
/* rgb */ color: rgb(79, 126, 35);
/* oklch */ color: oklch(54.0% 0.131 132.9);
Tailwind
colors: {
  custom: {
    50: '#84a364',
    500: '#4f7e23',
    950: '#000000',
  },
}
SCSS
$custom: #4f7e23;
$custom-light: #84a364;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7e23",
  "rgb": {
    "r": 79,
    "g": 126,
    "b": 35
  },
  "hsl": {
    "h": 90.989,
    "s": 56.522,
    "l": 31.569
  },
  "oklch": {
    "l": 0.54003,
    "c": 0.13108,
    "h": 132.9
  },
  "luminance": 0.16705
}

Semantic roles & 50–950 ramp

primary
#4F7E23
secondary
#804CB0
accent
#48E096
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4F7E23

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

Preview Lab → · Contrast checker → · Palette generator →

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