#4F9522#4F9522

#4F9522 is a mid, vivid yellow-green. Relative luminance 0.233; OKLCH L 60.1% C 0.162 H 136.1°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#4F9522
RGBrgb(79, 149, 34)
HSLhsl(97, 63%, 36%)
HSVhsv(97, 77%, 58%)
CMYKcmyk(47%, 0%, 77.2%, 41.6%)
CIE-LABlab(55.35, -41.86, 50.21)
CIE-LCHlch(55.35, 65.37, 129.82°)
OKLaboklab(60.11% -0.1166 0.1122)
OKLCHoklch(60.11% 0.162 136.1)
XYZxyz(14.2603, 23.2717, 5.2535)
Luminance0.2327 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F9522 #682295
analogous
#889522 #4F9522 #22952E
triadic
#4F9522 #224F95 #95224F
tetradic
#4F9522 #228895 #682295 #952E22
square
#4F9522 #228895 #682295 #952E22
split-complementary
#4F9522 #2E2295 #952288
monochromatic
#1A310B #356317 #4F9522 #69C72D #8BD958

Accessibility & contrast

On white

3.71
#4F9522 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#4F9522 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F9522
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F9522#FFFFFF#000000##000000
##4F95221.003.715.655.65
#FFFFFF3.711.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8807
Deuteranopia (green-blind)
#91822E
Tritanopia (blue-blind)
#4C8F7F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #4f9522;
/* rgb */ color: rgb(79, 149, 34);
/* oklch */ color: oklch(60.1% 0.162 136.1);
Tailwind
colors: {
  custom: {
    50: '#87b566',
    500: '#4f9522',
    950: '#000000',
  },
}
SCSS
$custom: #4f9522;
$custom-light: #87b566;
$custom-dark: #000000;
JSON
{
  "hex": "#4f9522",
  "rgb": {
    "r": 79,
    "g": 149,
    "b": 34
  },
  "hsl": {
    "h": 96.522,
    "s": 62.842,
    "l": 35.882
  },
  "oklch": {
    "l": 0.60115,
    "c": 0.16181,
    "h": 136.1
  },
  "luminance": 0.23273
}

Semantic roles & 50–950 ramp

primary
#4F9522
secondary
#9556BD
accent
#42E6A6
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4F9522

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

Preview Lab → · Contrast checker → · Palette generator →

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