#4F9526#4F9526

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

Color values

HEX#4F9526
RGBrgb(79, 149, 38)
HSLhsl(98, 59%, 37%)
HSVhsv(98, 74%, 58%)
CMYKcmyk(47%, 0%, 74.5%, 41.6%)
CIE-LABlab(55.38, -41.59, 48.79)
CIE-LCHlch(55.38, 64.12, 130.44°)
OKLaboklab(60.14% -0.1156 0.1098)
OKLCHoklch(60.14% 0.159 136.5)
XYZxyz(14.3213, 23.2962, 5.5753)
Luminance0.2330 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F9526 #6C2695
analogous
#879526 #4F9526 #269535
triadic
#4F9526 #264F95 #95264F
tetradic
#4F9526 #268795 #6C2695 #953526
square
#4F9526 #268795 #6C2695 #953526
split-complementary
#4F9526 #352695 #952687
monochromatic
#1B330D #35641A #4F9526 #69C632 #8BD65F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F9526#FFFFFF#000000##000000
##4F95261.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)
#9A8811
Deuteranopia (green-blind)
#918231
Tritanopia (blue-blind)
#4C8F80
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #4f9526;
/* rgb */ color: rgb(79, 149, 38);
/* oklch */ color: oklch(60.1% 0.159 136.5);
Tailwind
colors: {
  custom: {
    50: '#87b568',
    500: '#4f9526',
    950: '#000000',
  },
}
SCSS
$custom: #4f9526;
$custom-light: #87b568;
$custom-dark: #000000;
JSON
{
  "hex": "#4f9526",
  "rgb": {
    "r": 79,
    "g": 149,
    "b": 38
  },
  "hsl": {
    "h": 97.838,
    "s": 59.358,
    "l": 36.667
  },
  "oklch": {
    "l": 0.60143,
    "c": 0.15945,
    "h": 136.5
  },
  "luminance": 0.23297
}

Semantic roles & 50–950 ramp

primary
#4F9526
secondary
#985BBB
accent
#45E3A8
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1107
muted
#7D807A

Preview Lab

Preview with #4F9526

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

Preview Lab → · Contrast checker → · Palette generator →

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