#4E7F24#4E7F24

#4E7F24 is a mid, vivid yellow-green. Relative luminance 0.169; OKLCH L 54.2% C 0.132 H 133.6°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#4E7F24
RGBrgb(78, 127, 36)
HSLhsl(92, 56%, 32%)
HSVhsv(92, 72%, 50%)
CMYKcmyk(38.6%, 0%, 71.7%, 50.2%)
CIE-LABlab(48.17, -32.55, 42.24)
CIE-LCHlch(48.17, 53.33, 127.62°)
OKLaboklab(54.22% -0.0912 0.0958)
OKLCHoklch(54.22% 0.132 133.6)
XYZxyz(11.0495, 16.9253, 4.3534)
Luminance0.1693 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7F24 #55247F
analogous
#7C7F24 #4E7F24 #247F28
triadic
#4E7F24 #244E7F #7F244E
tetradic
#4E7F24 #247C7F #55247F #7F2824
square
#4E7F24 #247C7F #55247F #7F2824
split-complementary
#4E7F24 #28247F #7F247C
monochromatic
#132009 #314F16 #4E7F24 #6BAF32 #8ACD50

Accessibility & contrast

On white

4.79
#4E7F24 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#4E7F24 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7F24
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7F24#FFFFFF#000000##FFFFFF
##4E7F241.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847516
Deuteranopia (green-blind)
#7D712C
Tritanopia (blue-blind)
#4E7A6D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4e7f24;
/* rgb */ color: rgb(78, 127, 36);
/* oklch */ color: oklch(54.2% 0.132 133.6);
Tailwind
colors: {
  custom: {
    50: '#84a464',
    500: '#4e7f24',
    950: '#000000',
  },
}
SCSS
$custom: #4e7f24;
$custom-light: #84a464;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7f24",
  "rgb": {
    "r": 78,
    "g": 127,
    "b": 36
  },
  "hsl": {
    "h": 92.308,
    "s": 55.828,
    "l": 31.961
  },
  "oklch": {
    "l": 0.54219,
    "c": 0.13228,
    "h": 133.6
  },
  "luminance": 0.16926
}

Semantic roles & 50–950 ramp

primary
#4E7F24
secondary
#834EB1
accent
#49DF9A
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4E7F24

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

Preview Lab → · Contrast checker → · Palette generator →

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