#4F9628#4F9628

#4F9628 is a mid, vivid yellow-green. Relative luminance 0.236; OKLCH L 60.4% C 0.159 H 136.8°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#4F9628
RGBrgb(79, 150, 40)
HSLhsl(99, 58%, 37%)
HSVhsv(99, 73%, 59%)
CMYKcmyk(47.3%, 0%, 73.3%, 41.2%)
CIE-LABlab(55.71, -41.86, 48.38)
CIE-LCHlch(55.71, 63.97, 130.87°)
OKLaboklab(60.42% -0.1162 0.1092)
OKLCHoklch(60.42% 0.159 136.8)
XYZxyz(14.5134, 23.6272, 5.8028)
Luminance0.2363 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F9628 #6F2896
analogous
#869628 #4F9628 #289638
triadic
#4F9628 #284F96 #96284F
tetradic
#4F9628 #288696 #6F2896 #963828
square
#4F9628 #288696 #6F2896 #963828
split-complementary
#4F9628 #382896 #962886
monochromatic
#1C350E #36661B #4F9628 #68C635 #8CD563

Accessibility & contrast

On white

3.67
#4F9628 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#4F9628 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F9628
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F9628#FFFFFF#000000##000000
##4F96281.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8915
Deuteranopia (green-blind)
#928333
Tritanopia (blue-blind)
#4B9080
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #4f9628;
/* rgb */ color: rgb(79, 150, 40);
/* oklch */ color: oklch(60.4% 0.159 136.8);
Tailwind
colors: {
  custom: {
    50: '#87b569',
    500: '#4f9628',
    950: '#000000',
  },
}
SCSS
$custom: #4f9628;
$custom-light: #87b569;
$custom-dark: #000000;
JSON
{
  "hex": "#4f9628",
  "rgb": {
    "r": 79,
    "g": 150,
    "b": 40
  },
  "hsl": {
    "h": 98.727,
    "s": 57.895,
    "l": 37.255
  },
  "oklch": {
    "l": 0.60424,
    "c": 0.15947,
    "h": 136.8
  },
  "luminance": 0.23628
}

Semantic roles & 50–950 ramp

primary
#4F9628
secondary
#9A5FBB
accent
#47E1AA
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1107
muted
#7D807A

Preview Lab

Preview with #4F9628

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

Preview Lab → · Contrast checker → · Palette generator →

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