#4F9022#4F9022

#4F9022 is a mid, vivid yellow-green. Relative luminance 0.217; OKLCH L 58.8% C 0.155 H 135.6°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#4F9022
RGBrgb(79, 144, 34)
HSLhsl(95, 62%, 35%)
HSVhsv(95, 76%, 56%)
CMYKcmyk(45.1%, 0%, 76.4%, 43.5%)
CIE-LABlab(53.73, -39.78, 48.63)
CIE-LCHlch(53.73, 62.83, 129.29°)
OKLaboklab(58.79% -0.111 0.1089)
OKLCHoklch(58.79% 0.155 135.6)
XYZxyz(13.4861, 21.7235, 4.9955)
Luminance0.2172 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F9022 #632290
analogous
#869022 #4F9022 #22902C
triadic
#4F9022 #224F90 #90224F
tetradic
#4F9022 #228690 #632290 #902C22
square
#4F9022 #228690 #632290 #902C22
split-complementary
#4F9022 #2C2290 #902286
monochromatic
#192D0B #345E16 #4F9022 #6AC22E #8AD755

Accessibility & contrast

On white

3.93
#4F9022 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#4F9022 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F9022
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F9022#FFFFFF#000000##000000
##4F90221.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#95840A
Deuteranopia (green-blind)
#8D7E2D
Tritanopia (blue-blind)
#4D8A7B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4f9022;
/* rgb */ color: rgb(79, 144, 34);
/* oklch */ color: oklch(58.8% 0.155 135.6);
Tailwind
colors: {
  custom: {
    50: '#86b165',
    500: '#4f9022',
    950: '#000000',
  },
}
SCSS
$custom: #4f9022;
$custom-light: #86b165;
$custom-dark: #000000;
JSON
{
  "hex": "#4f9022",
  "rgb": {
    "r": 79,
    "g": 144,
    "b": 34
  },
  "hsl": {
    "h": 95.455,
    "s": 61.798,
    "l": 34.902
  },
  "oklch": {
    "l": 0.58786,
    "c": 0.15549,
    "h": 135.6
  },
  "luminance": 0.21724
}

Semantic roles & 50–950 ramp

primary
#4F9022
secondary
#9053BB
accent
#43E5A3
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4F9022

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

Preview Lab → · Contrast checker → · Palette generator →

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