#4F831A#4F831A

#4F831A is a mid, vivid yellow-green. Relative luminance 0.180; OKLCH L 55.3% C 0.143 H 133.0°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#4F831A
RGBrgb(79, 131, 26)
HSLhsl(90, 67%, 31%)
HSVhsv(90, 80%, 51%)
CMYKcmyk(39.7%, 0%, 80.2%, 48.6%)
CIE-LABlab(49.46, -34.66, 47.28)
CIE-LCHlch(49.46, 58.62, 126.24°)
OKLaboklab(55.27% -0.0977 0.1048)
OKLCHoklch(55.27% 0.143 133)
XYZxyz(11.5270, 17.9689, 3.8381)
Luminance0.1797 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F831A #4E1A83
analogous
#83821A #4F831A #1B831A
triadic
#4F831A #1A4F83 #831A4F
tetradic
#4F831A #1A8382 #4E1A83 #831A1B
square
#4F831A #1A8382 #4E1A83 #831A1B
split-complementary
#4F831A #1A1B83 #821A83
monochromatic
#111D06 #305010 #4F831A #6EB624 #8CD93F

Accessibility & contrast

On white

4.57
#4F831A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#4F831A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F831A
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F831A#FFFFFF#000000##000000
##4F831A1.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#827425
Tritanopia (blue-blind)
#4F7D6F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4f831a;
/* rgb */ color: rgb(79, 131, 26);
/* oklch */ color: oklch(55.3% 0.143 133.0);
Tailwind
colors: {
  custom: {
    50: '#85a760',
    500: '#4f831a',
    950: '#000000',
  },
}
SCSS
$custom: #4f831a;
$custom-light: #85a760;
$custom-dark: #000000;
JSON
{
  "hex": "#4f831a",
  "rgb": {
    "r": 79,
    "g": 131,
    "b": 26
  },
  "hsl": {
    "h": 89.714,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.55269,
    "c": 0.1433,
    "h": 133
  },
  "luminance": 0.17969
}

Semantic roles & 50–950 ramp

primary
#4F831A
secondary
#7C42B7
accent
#3EEA93
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4F831A

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

Preview Lab → · Contrast checker → · Palette generator →

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