#4E811B#4E811B

#4E811B is a mid, vivid yellow-green. Relative luminance 0.174; OKLCH L 54.7% C 0.141 H 133.0°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#4E811B
RGBrgb(78, 129, 27)
HSLhsl(90, 65%, 31%)
HSVhsv(90, 79%, 51%)
CMYKcmyk(39.5%, 0%, 79.1%, 49.4%)
CIE-LABlab(48.76, -34.08, 46.26)
CIE-LCHlch(48.76, 57.46, 126.37°)
OKLaboklab(54.68% -0.096 0.1029)
OKLCHoklch(54.68% 0.141 133)
XYZxyz(11.1898, 17.3988, 3.8054)
Luminance0.1740 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E811B #4E1B81
analogous
#81811B #4E811B #1B811B
triadic
#4E811B #1B4E81 #811B4E
tetradic
#4E811B #1B8181 #4E1B81 #811B1B
square
#4E811B #1B8181 #4E1B81 #811B1B
split-complementary
#4E811B #1B1B81 #811B81
monochromatic
#111C06 #2F4E10 #4E811B #6DB426 #8BD73F

Accessibility & contrast

On white

4.69
#4E811B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#4E811B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E811B
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E811B#FFFFFF#000000##FFFFFF
##4E811B1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877602
Deuteranopia (green-blind)
#807226
Tritanopia (blue-blind)
#4E7C6E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4e811b;
/* rgb */ color: rgb(78, 129, 27);
/* oklch */ color: oklch(54.7% 0.141 133.0);
Tailwind
colors: {
  custom: {
    50: '#84a660',
    500: '#4e811b',
    950: '#000000',
  },
}
SCSS
$custom: #4e811b;
$custom-light: #84a660;
$custom-dark: #000000;
JSON
{
  "hex": "#4e811b",
  "rgb": {
    "r": 78,
    "g": 129,
    "b": 27
  },
  "hsl": {
    "h": 90,
    "s": 65.385,
    "l": 30.588
  },
  "oklch": {
    "l": 0.54685,
    "c": 0.14071,
    "h": 133
  },
  "luminance": 0.17399
}

Semantic roles & 50–950 ramp

primary
#4E811B
secondary
#7C43B5
accent
#3FE894
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4E811B

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

Preview Lab → · Contrast checker → · Palette generator →

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