#4F8322#4F8322

#4F8322 is a mid, vivid yellow-green. Relative luminance 0.180; OKLCH L 55.3% C 0.139 H 133.7°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#4F8322
RGBrgb(79, 131, 34)
HSLhsl(92, 59%, 32%)
HSVhsv(92, 74%, 51%)
CMYKcmyk(39.7%, 0%, 74%, 48.6%)
CIE-LABlab(49.51, -34.14, 44.43)
CIE-LCHlch(49.51, 56.03, 127.54°)
OKLaboklab(55.33% -0.0957 0.1001)
OKLCHoklch(55.33% 0.139 133.7)
XYZxyz(11.6293, 18.0098, 4.3766)
Luminance0.1801 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8322 #562283
analogous
#808322 #4F8322 #228326
triadic
#4F8322 #224F83 #83224F
tetradic
#4F8322 #228083 #562283 #832622
square
#4F8322 #228083 #562283 #832622
split-complementary
#4F8322 #262283 #832280
monochromatic
#142209 #325215 #4F8322 #6CB42F #8BD14E

Accessibility & contrast

On white

4.56
#4F8322 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#4F8322 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8322
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8322#FFFFFF#000000##000000
##4F83221.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#887811
Deuteranopia (green-blind)
#81742B
Tritanopia (blue-blind)
#4F7E70
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4f8322;
/* rgb */ color: rgb(79, 131, 34);
/* oklch */ color: oklch(55.3% 0.139 133.7);
Tailwind
colors: {
  custom: {
    50: '#85a764',
    500: '#4f8322',
    950: '#000000',
  },
}
SCSS
$custom: #4f8322;
$custom-light: #85a764;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8322",
  "rgb": {
    "r": 79,
    "g": 131,
    "b": 34
  },
  "hsl": {
    "h": 92.165,
    "s": 58.788,
    "l": 32.353
  },
  "oklch": {
    "l": 0.55326,
    "c": 0.13852,
    "h": 133.7
  },
  "luminance": 0.1801
}

Semantic roles & 50–950 ramp

primary
#4F8322
secondary
#844CB4
accent
#46E29A
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4F8322

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

Preview Lab → · Contrast checker → · Palette generator →

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