#4E7F28#4E7F28

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

Color values

HEX#4E7F28
RGBrgb(78, 127, 40)
HSLhsl(94, 52%, 33%)
HSVhsv(94, 69%, 50%)
CMYKcmyk(38.6%, 0%, 68.5%, 50.2%)
CIE-LABlab(48.20, -32.22, 40.56)
CIE-LCHlch(48.20, 51.80, 128.46°)
OKLaboklab(54.26% -0.09 0.0929)
OKLCHoklch(54.26% 0.129 134.1)
XYZxyz(11.1140, 16.9511, 4.6934)
Luminance0.1695 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7F28 #59287F
analogous
#797F28 #4E7F28 #287F2D
triadic
#4E7F28 #284E7F #7F284E
tetradic
#4E7F28 #28797F #59287F #7F2D28
square
#4E7F28 #28797F #59287F #7F2D28
split-complementary
#4E7F28 #2D287F #7F2879
monochromatic
#15220B #315019 #4E7F28 #6BAE37 #89CA57

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E7F28#FFFFFF#000000##FFFFFF
##4E7F281.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)
#84751C
Deuteranopia (green-blind)
#7D712F
Tritanopia (blue-blind)
#4E7A6D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4e7f28;
/* rgb */ color: rgb(78, 127, 40);
/* oklch */ color: oklch(54.3% 0.129 134.1);
Tailwind
colors: {
  custom: {
    50: '#83a467',
    500: '#4e7f28',
    950: '#000000',
  },
}
SCSS
$custom: #4e7f28;
$custom-light: #83a467;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7f28",
  "rgb": {
    "r": 78,
    "g": 127,
    "b": 40
  },
  "hsl": {
    "h": 93.793,
    "s": 52.096,
    "l": 32.745
  },
  "oklch": {
    "l": 0.54256,
    "c": 0.1293,
    "h": 134.1
  },
  "luminance": 0.16952
}

Semantic roles & 50–950 ramp

primary
#4E7F28
secondary
#8754AF
accent
#4CDC9D
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4E7F28

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

Preview Lab → · Contrast checker → · Palette generator →

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