#4F8232#4F8232

#4F8232 is a mid, vivid yellow-green. Relative luminance 0.179; OKLCH L 55.2% C 0.125 H 135.8°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#4F8232
RGBrgb(79, 130, 50)
HSLhsl(98, 44%, 35%)
HSVhsv(98, 62%, 51%)
CMYKcmyk(39.2%, 0%, 61.5%, 49%)
CIE-LABlab(49.32, -32.25, 37.19)
CIE-LCHlch(49.32, 49.23, 130.94°)
OKLaboklab(55.22% -0.0893 0.0869)
OKLCHoklch(55.22% 0.125 135.8)
XYZxyz(11.7825, 17.8572, 5.8430)
Luminance0.1786 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8232 #653282
analogous
#778232 #4F8232 #32823D
triadic
#4F8232 #324F82 #82324F
tetradic
#4F8232 #327782 #653282 #823D32
square
#4F8232 #327782 #653282 #823D32
split-complementary
#4F8232 #3D3282 #823277
monochromatic
#192A10 #345621 #4F8232 #6AAE43 #8BC569

Accessibility & contrast

On white

4.59
#4F8232 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#4F8232 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4F8232
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8232#FFFFFF#000000##FFFFFF
##4F82321.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877829
Deuteranopia (green-blind)
#7F7438
Tritanopia (blue-blind)
#4E7D71
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4f8232;
/* rgb */ color: rgb(79, 130, 50);
/* oklch */ color: oklch(55.2% 0.125 135.8);
Tailwind
colors: {
  custom: {
    50: '#84a66d',
    500: '#4f8232',
    950: '#000000',
  },
}
SCSS
$custom: #4f8232;
$custom-light: #84a66d;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8232",
  "rgb": {
    "r": 79,
    "g": 130,
    "b": 50
  },
  "hsl": {
    "h": 98.25,
    "s": 44.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.55219,
    "c": 0.12462,
    "h": 135.8
  },
  "luminance": 0.17858
}

Semantic roles & 50–950 ramp

primary
#4F8232
secondary
#9263AD
accent
#54D4A6
background
#F8FAF6
surface
#EFF4EC
border
#CACEC7
text
#0B0F07
muted
#7C7F7A

Preview Lab

Preview with #4F8232

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

Preview Lab → · Contrast checker → · Palette generator →

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