#4E7411#4E7411

#4E7411 is a mid, vivid yellow-green. Relative luminance 0.142; OKLCH L 51.1% C 0.129 H 129.5°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#4E7411
RGBrgb(78, 116, 17)
HSLhsl(83, 74%, 26%)
HSVhsv(83, 85%, 45%)
CMYKcmyk(32.8%, 0%, 85.3%, 54.5%)
CIE-LABlab(44.45, -28.61, 45.46)
CIE-LCHlch(44.45, 53.71, 122.18°)
OKLaboklab(51.15% -0.0819 0.0995)
OKLCHoklch(51.15% 0.129 129.5)
XYZxyz(9.4884, 14.1507, 2.7616)
Luminance0.1415 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7411 #371174
analogous
#746811 #4E7411 #1D7411
triadic
#4E7411 #114E74 #74114E
tetradic
#4E7411 #117468 #371174 #74111D
square
#4E7411 #117468 #371174 #74111D
split-complementary
#4E7411 #111D74 #681174
monochromatic
#121B04 #2A3F09 #4E7411 #72A919 #96DE21

Accessibility & contrast

On white

5.48
#4E7411 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#4E7411 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7411
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7411#FFFFFF#000000##FFFFFF
##4E74111.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#75681D
Tritanopia (blue-blind)
#506E62
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4e7411;
/* rgb */ color: rgb(78, 116, 17);
/* oklch */ color: oklch(51.1% 0.129 129.5);
Tailwind
colors: {
  custom: {
    50: '#849c5a',
    500: '#4e7411',
    950: '#000000',
  },
}
SCSS
$custom: #4e7411;
$custom-light: #849c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7411",
  "rgb": {
    "r": 78,
    "g": 116,
    "b": 17
  },
  "hsl": {
    "h": 83.03,
    "s": 74.436,
    "l": 26.078
  },
  "oklch": {
    "l": 0.51149,
    "c": 0.12891,
    "h": 129.5
  },
  "luminance": 0.14151
}

Semantic roles & 50–950 ramp

primary
#4E7411
secondary
#6336AB
accent
#37F17E
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4E7411

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

Preview Lab → · Contrast checker → · Palette generator →

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