#4F9825#4F9825

#4F9825 is a mid, vivid yellow-green. Relative luminance 0.243; OKLCH L 60.9% C 0.164 H 136.7°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#4F9825
RGBrgb(79, 152, 37)
HSLhsl(98, 61%, 37%)
HSVhsv(98, 76%, 60%)
CMYKcmyk(48%, 0%, 75.7%, 40.4%)
CIE-LABlab(56.34, -42.89, 50.12)
CIE-LCHlch(56.34, 65.97, 130.56°)
OKLaboklab(60.93% -0.1192 0.1124)
OKLCHoklch(60.93% 0.164 136.7)
XYZxyz(14.7862, 24.2513, 5.6517)
Luminance0.2425 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F9825 #6E2598
analogous
#899825 #4F9825 #259835
triadic
#4F9825 #254F98 #98254F
tetradic
#4F9825 #258998 #6E2598 #983525
square
#4F9825 #258998 #6E2598 #983525
split-complementary
#4F9825 #352598 #982589
monochromatic
#1C360D #356719 #4F9825 #69C931 #8BD85F

Accessibility & contrast

On white

3.59
#4F9825 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#4F9825 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F9825
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F9825#FFFFFF#000000##000000
##4F98251.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B0D
Deuteranopia (green-blind)
#948531
Tritanopia (blue-blind)
#4B9282
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #4f9825;
/* rgb */ color: rgb(79, 152, 37);
/* oklch */ color: oklch(60.9% 0.164 136.7);
Tailwind
colors: {
  custom: {
    50: '#87b768',
    500: '#4f9825',
    950: '#000000',
  },
}
SCSS
$custom: #4f9825;
$custom-light: #87b768;
$custom-dark: #000000;
JSON
{
  "hex": "#4f9825",
  "rgb": {
    "r": 79,
    "g": 152,
    "b": 37
  },
  "hsl": {
    "h": 98.087,
    "s": 60.847,
    "l": 37.059
  },
  "oklch": {
    "l": 0.60932,
    "c": 0.16385,
    "h": 136.7
  },
  "luminance": 0.24252
}

Semantic roles & 50–950 ramp

primary
#4F9825
secondary
#9A5CBD
accent
#44E4A9
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1107
muted
#7D807A

Preview Lab

Preview with #4F9825

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

Preview Lab → · Contrast checker → · Palette generator →

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