#4F8623#4F8623

#4F8623 is a mid, vivid yellow-green. Relative luminance 0.188; OKLCH L 56.1% C 0.142 H 134.3°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#4F8623
RGBrgb(79, 134, 35)
HSLhsl(93, 59%, 33%)
HSVhsv(93, 74%, 53%)
CMYKcmyk(41%, 0%, 73.9%, 47.5%)
CIE-LABlab(50.49, -35.40, 45.03)
CIE-LCHlch(50.49, 57.28, 128.17°)
OKLaboklab(56.13% -0.0991 0.1015)
OKLCHoklch(56.13% 0.142 134.3)
XYZxyz(12.0527, 18.8332, 4.5899)
Luminance0.1883 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8623 #5A2386
analogous
#808623 #4F8623 #238628
triadic
#4F8623 #234F86 #86234F
tetradic
#4F8623 #238086 #5A2386 #862823
square
#4F8623 #238086 #5A2386 #862823
split-complementary
#4F8623 #282386 #862380
monochromatic
#16250A #325516 #4F8623 #6CB730 #8BD252

Accessibility & contrast

On white

4.41
#4F8623 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#4F8623 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8623
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8623#FFFFFF#000000##000000
##4F86231.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B12
Deuteranopia (green-blind)
#84772C
Tritanopia (blue-blind)
#4E8173
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4f8623;
/* rgb */ color: rgb(79, 134, 35);
/* oklch */ color: oklch(56.1% 0.142 134.3);
Tailwind
colors: {
  custom: {
    50: '#85a965',
    500: '#4f8623',
    950: '#000000',
  },
}
SCSS
$custom: #4f8623;
$custom-light: #85a965;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8623",
  "rgb": {
    "r": 79,
    "g": 134,
    "b": 35
  },
  "hsl": {
    "h": 93.333,
    "s": 58.58,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56132,
    "c": 0.14186,
    "h": 134.3
  },
  "luminance": 0.18834
}

Semantic roles & 50–950 ramp

primary
#4F8623
secondary
#884FB5
accent
#46E29D
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4F8623

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

Preview Lab → · Contrast checker → · Palette generator →

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