#4F9525#4F9525

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

Color values

HEX#4F9525
RGBrgb(79, 149, 37)
HSLhsl(98, 60%, 36%)
HSVhsv(98, 75%, 58%)
CMYKcmyk(47%, 0%, 75.2%, 41.6%)
CIE-LABlab(55.37, -41.66, 49.16)
CIE-LCHlch(55.37, 64.44, 130.28°)
OKLaboklab(60.14% -0.1159 0.1104)
OKLCHoklch(60.14% 0.16 136.4)
XYZxyz(14.3054, 23.2898, 5.4915)
Luminance0.2329 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F9525 #6B2595
analogous
#879525 #4F9525 #259533
triadic
#4F9525 #254F95 #95254F
tetradic
#4F9525 #258795 #6B2595 #953325
square
#4F9525 #258795 #6B2595 #953325
split-complementary
#4F9525 #332595 #952587
monochromatic
#1B330D #356419 #4F9525 #69C631 #8BD75E

Accessibility & contrast

On white

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

On black

5.66
#4F9525 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F9525
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F9525#FFFFFF#000000##000000
##4F95251.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A880F
Deuteranopia (green-blind)
#918230
Tritanopia (blue-blind)
#4C8F7F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #4f9525;
/* rgb */ color: rgb(79, 149, 37);
/* oklch */ color: oklch(60.1% 0.160 136.4);
Tailwind
colors: {
  custom: {
    50: '#87b568',
    500: '#4f9525',
    950: '#000000',
  },
}
SCSS
$custom: #4f9525;
$custom-light: #87b568;
$custom-dark: #000000;
JSON
{
  "hex": "#4f9525",
  "rgb": {
    "r": 79,
    "g": 149,
    "b": 37
  },
  "hsl": {
    "h": 97.5,
    "s": 60.215,
    "l": 36.471
  },
  "oklch": {
    "l": 0.60136,
    "c": 0.16006,
    "h": 136.4
  },
  "luminance": 0.23291
}

Semantic roles & 50–950 ramp

primary
#4F9525
secondary
#975ABC
accent
#44E3A8
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4F9525

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

Preview Lab → · Contrast checker → · Palette generator →

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