#4F8522#4F8522

#4F8522 is a mid, vivid yellow-green. Relative luminance 0.186; OKLCH L 55.9% C 0.141 H 134.0°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#4F8522
RGBrgb(79, 133, 34)
HSLhsl(93, 59%, 33%)
HSVhsv(93, 74%, 52%)
CMYKcmyk(40.6%, 0%, 74.4%, 47.8%)
CIE-LABlab(50.16, -35.03, 45.09)
CIE-LCHlch(50.16, 57.10, 127.84°)
OKLaboklab(55.86% -0.0981 0.1015)
OKLCHoklch(55.86% 0.141 134)
XYZxyz(11.9005, 18.5522, 4.4670)
Luminance0.1855 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8522 #582285
analogous
#808522 #4F8522 #228526
triadic
#4F8522 #224F85 #85224F
tetradic
#4F8522 #228085 #582285 #852622
square
#4F8522 #228085 #582285 #852622
split-complementary
#4F8522 #262285 #852280
monochromatic
#152409 #325416 #4F8522 #6CB62E #8BD24F

Accessibility & contrast

On white

4.46
#4F8522 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#4F8522 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8522
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8522#FFFFFF#000000##000000
##4F85221.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A10
Deuteranopia (green-blind)
#83762B
Tritanopia (blue-blind)
#4F8072
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4f8522;
/* rgb */ color: rgb(79, 133, 34);
/* oklch */ color: oklch(55.9% 0.141 134.0);
Tailwind
colors: {
  custom: {
    50: '#85a964',
    500: '#4f8522',
    950: '#000000',
  },
}
SCSS
$custom: #4f8522;
$custom-light: #85a964;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8522",
  "rgb": {
    "r": 79,
    "g": 133,
    "b": 34
  },
  "hsl": {
    "h": 92.727,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.55858,
    "c": 0.14118,
    "h": 134
  },
  "luminance": 0.18553
}

Semantic roles & 50–950 ramp

primary
#4F8522
secondary
#864DB6
accent
#45E29B
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4F8522

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

Preview Lab → · Contrast checker → · Palette generator →

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