#4F8923#4F8923

#4F8923 is a mid, vivid yellow-green. Relative luminance 0.197; OKLCH L 56.9% C 0.146 H 134.7°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#4F8923
RGBrgb(79, 137, 35)
HSLhsl(94, 59%, 34%)
HSVhsv(94, 74%, 54%)
CMYKcmyk(42.3%, 0%, 74.5%, 46.3%)
CIE-LABlab(51.47, -36.72, 46.02)
CIE-LCHlch(51.47, 58.87, 128.59°)
OKLaboklab(56.93% -0.1026 0.1036)
OKLCHoklch(56.93% 0.146 134.7)
XYZxyz(12.4732, 19.6743, 4.7301)
Luminance0.1968 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8923 #5D2389
analogous
#828923 #4F8923 #23892A
triadic
#4F8923 #234F89 #89234F
tetradic
#4F8923 #238289 #5D2389 #892A23
square
#4F8923 #238289 #5D2389 #892A23
split-complementary
#4F8923 #2A2389 #892382
monochromatic
#17280A #335817 #4F8923 #6BBA2F #8AD353

Accessibility & contrast

On white

4.26
#4F8923 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#4F8923 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8923
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8923#FFFFFF#000000##000000
##4F89231.004.264.944.94
#FFFFFF4.261.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E10
Deuteranopia (green-blind)
#86792D
Tritanopia (blue-blind)
#4E8475
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4f8923;
/* rgb */ color: rgb(79, 137, 35);
/* oklch */ color: oklch(56.9% 0.146 134.7);
Tailwind
colors: {
  custom: {
    50: '#85ac65',
    500: '#4f8923',
    950: '#000000',
  },
}
SCSS
$custom: #4f8923;
$custom-light: #85ac65;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8923",
  "rgb": {
    "r": 79,
    "g": 137,
    "b": 35
  },
  "hsl": {
    "h": 94.118,
    "s": 59.302,
    "l": 33.725
  },
  "oklch": {
    "l": 0.56931,
    "c": 0.14581,
    "h": 134.7
  },
  "luminance": 0.19675
}

Semantic roles & 50–950 ramp

primary
#4F8923
secondary
#8B51B7
accent
#45E29F
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #4F8923

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

Preview Lab → · Contrast checker → · Palette generator →

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