#4F9823#4F9823

#4F9823 is a mid, vivid yellow-green. Relative luminance 0.242; OKLCH L 60.9% C 0.165 H 136.5°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#4F9823
RGBrgb(79, 152, 35)
HSLhsl(97, 63%, 37%)
HSVhsv(97, 77%, 60%)
CMYKcmyk(48%, 0%, 77%, 40.4%)
CIE-LABlab(56.33, -43.03, 50.81)
CIE-LCHlch(56.33, 66.58, 130.26°)
OKLaboklab(60.92% -0.1197 0.1136)
OKLCHoklch(60.92% 0.165 136.5)
XYZxyz(14.7556, 24.2391, 5.4909)
Luminance0.2424 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F9823 #6C2398
analogous
#8A9823 #4F9823 #239832
triadic
#4F9823 #234F98 #98234F
tetradic
#4F9823 #238A98 #6C2398 #983223
square
#4F9823 #238A98 #6C2398 #983223
split-complementary
#4F9823 #322398 #98238A
monochromatic
#1B350C #356618 #4F9823 #69CA2E #8BD95C

Accessibility & contrast

On white

3.59
#4F9823 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#4F9823 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F9823
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F9823#FFFFFF#000000##000000
##4F98231.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B07
Deuteranopia (green-blind)
#94852F
Tritanopia (blue-blind)
#4B9282
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #4f9823;
/* rgb */ color: rgb(79, 152, 35);
/* oklch */ color: oklch(60.9% 0.165 136.5);
Tailwind
colors: {
  custom: {
    50: '#87b767',
    500: '#4f9823',
    950: '#000000',
  },
}
SCSS
$custom: #4f9823;
$custom-light: #87b767;
$custom-dark: #000000;
JSON
{
  "hex": "#4f9823",
  "rgb": {
    "r": 79,
    "g": 152,
    "b": 35
  },
  "hsl": {
    "h": 97.436,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.60918,
    "c": 0.165,
    "h": 136.5
  },
  "luminance": 0.2424
}

Semantic roles & 50–950 ramp

primary
#4F9823
secondary
#9859BE
accent
#42E6A8
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4F9823

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

Preview Lab → · Contrast checker → · Palette generator →

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