#4F8331#4F8331

#4F8331 is a mid, vivid yellow-green. Relative luminance 0.181; OKLCH L 55.5% C 0.127 H 135.8°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#4F8331
RGBrgb(79, 131, 49)
HSLhsl(98, 46%, 35%)
HSVhsv(98, 63%, 51%)
CMYKcmyk(39.7%, 0%, 62.6%, 48.6%)
CIE-LABlab(49.64, -32.82, 38.02)
CIE-LCHlch(49.64, 50.23, 130.80°)
OKLaboklab(55.47% -0.0909 0.0886)
OKLCHoklch(55.47% 0.127 135.8)
XYZxyz(11.8948, 18.1160, 5.7751)
Luminance0.1812 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8331 #653183
analogous
#788331 #4F8331 #31833C
triadic
#4F8331 #314F83 #83314F
tetradic
#4F8331 #317883 #653183 #833C31
square
#4F8331 #317883 #653183 #833C31
split-complementary
#4F8331 #3C3183 #833178
monochromatic
#192A10 #345620 #4F8331 #6AB042 #8BC668

Accessibility & contrast

On white

4.54
#4F8331 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#4F8331 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8331
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8331#FFFFFF#000000##000000
##4F83311.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#887928
Deuteranopia (green-blind)
#807437
Tritanopia (blue-blind)
#4E7E71
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4f8331;
/* rgb */ color: rgb(79, 131, 49);
/* oklch */ color: oklch(55.5% 0.127 135.8);
Tailwind
colors: {
  custom: {
    50: '#84a76c',
    500: '#4f8331',
    950: '#000000',
  },
}
SCSS
$custom: #4f8331;
$custom-light: #84a76c;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8331",
  "rgb": {
    "r": 79,
    "g": 131,
    "b": 49
  },
  "hsl": {
    "h": 98.049,
    "s": 45.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.55472,
    "c": 0.12695,
    "h": 135.8
  },
  "luminance": 0.18117
}

Semantic roles & 50–950 ramp

primary
#4F8331
secondary
#9262AE
accent
#53D5A5
background
#F8FAF6
surface
#EFF4EC
border
#CACEC7
text
#0B0F07
muted
#7C7F7A

Preview Lab

Preview with #4F8331

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

Preview Lab → · Contrast checker → · Palette generator →

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