#4E7F2B#4E7F2B

#4E7F2B is a mid, vivid yellow-green. Relative luminance 0.170; OKLCH L 54.3% C 0.127 H 134.5°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#4E7F2B
RGBrgb(78, 127, 43)
HSLhsl(95, 49%, 33%)
HSVhsv(95, 66%, 50%)
CMYKcmyk(38.6%, 0%, 66.1%, 50.2%)
CIE-LABlab(48.23, -31.94, 39.24)
CIE-LCHlch(48.23, 50.60, 129.14°)
OKLaboklab(54.29% -0.089 0.0905)
OKLCHoklch(54.29% 0.127 134.5)
XYZxyz(11.1671, 16.9723, 4.9726)
Luminance0.1697 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7F2B #5C2B7F
analogous
#787F2B #4E7F2B #2B7F32
triadic
#4E7F2B #2B4E7F #7F2B4E
tetradic
#4E7F2B #2B787F #5C2B7F #7F322B
square
#4E7F2B #2B787F #5C2B7F #7F322B
split-complementary
#4E7F2B #322B7F #7F2B78
monochromatic
#16240C #32511C #4E7F2B #6AAD3A #89C85C

Accessibility & contrast

On white

4.78
#4E7F2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4E7F2B
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7F2B#FFFFFF#000000##FFFFFF
##4E7F2B1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847521
Deuteranopia (green-blind)
#7D7132
Tritanopia (blue-blind)
#4D7A6E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4e7f2b;
/* rgb */ color: rgb(78, 127, 43);
/* oklch */ color: oklch(54.3% 0.127 134.5);
Tailwind
colors: {
  custom: {
    50: '#83a468',
    500: '#4e7f2b',
    950: '#000000',
  },
}
SCSS
$custom: #4e7f2b;
$custom-light: #83a468;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7f2b",
  "rgb": {
    "r": 78,
    "g": 127,
    "b": 43
  },
  "hsl": {
    "h": 95,
    "s": 49.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.54287,
    "c": 0.12689,
    "h": 134.5
  },
  "luminance": 0.16973
}

Semantic roles & 50–950 ramp

primary
#4E7F2B
secondary
#8A58AE
accent
#4FD99F
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4E7F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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