#4F9015#4F9015

#4F9015 is a mid, vivid yellow-green. Relative luminance 0.217; OKLCH L 58.7% C 0.162 H 134.6°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#4F9015
RGBrgb(79, 144, 21)
HSLhsl(92, 75%, 32%)
HSVhsv(92, 85%, 56%)
CMYKcmyk(45.1%, 0%, 85.4%, 43.5%)
CIE-LABlab(53.67, -40.49, 52.60)
CIE-LCHlch(53.67, 66.38, 127.59°)
OKLaboklab(58.71% -0.1137 0.1152)
OKLCHoklch(58.71% 0.162 134.6)
XYZxyz(13.3328, 21.6621, 4.1880)
Luminance0.2166 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F9015 #561590
analogous
#8D9015 #4F9015 #159018
triadic
#4F9015 #154F90 #90154F
tetradic
#4F9015 #158D90 #561590 #901815
square
#4F9015 #158D90 #561590 #901815
split-complementary
#4F9015 #181590 #90158D
monochromatic
#142505 #325B0D #4F9015 #6CC51D #8BE33D

Accessibility & contrast

On white

3.94
#4F9015 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#4F9015 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F9015
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F9015#FFFFFF#000000##000000
##4F90151.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#8D7E25
Tritanopia (blue-blind)
#4E8A7A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4f9015;
/* rgb */ color: rgb(79, 144, 21);
/* oklch */ color: oklch(58.7% 0.162 134.6);
Tailwind
colors: {
  custom: {
    50: '#87b160',
    500: '#4f9015',
    950: '#000000',
  },
}
SCSS
$custom: #4f9015;
$custom-light: #87b160;
$custom-dark: #000000;
JSON
{
  "hex": "#4f9015",
  "rgb": {
    "r": 79,
    "g": 144,
    "b": 21
  },
  "hsl": {
    "h": 91.707,
    "s": 74.545,
    "l": 32.353
  },
  "oklch": {
    "l": 0.58711,
    "c": 0.16189,
    "h": 134.6
  },
  "luminance": 0.21663
}

Semantic roles & 50–950 ramp

primary
#4F9015
secondary
#843EC2
accent
#37F199
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1105
muted
#7D807A

Preview Lab

Preview with #4F9015

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

Preview Lab → · Contrast checker → · Palette generator →

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