#4E7511#4E7511

#4E7511 is a mid, vivid yellow-green. Relative luminance 0.144; OKLCH L 51.4% C 0.130 H 129.7°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#4E7511
RGBrgb(78, 117, 17)
HSLhsl(83, 75%, 26%)
HSVhsv(83, 85%, 46%)
CMYKcmyk(33.3%, 0%, 85.5%, 54.1%)
CIE-LABlab(44.78, -29.08, 45.75)
CIE-LCHlch(44.78, 54.21, 122.44°)
OKLaboklab(51.42% -0.0832 0.1001)
OKLCHoklch(51.42% 0.13 129.7)
XYZxyz(9.6043, 14.3824, 2.8003)
Luminance0.1438 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7511 #381175
analogous
#756A11 #4E7511 #1C7511
triadic
#4E7511 #114E75 #75114E
tetradic
#4E7511 #11756A #381175 #75111C
square
#4E7511 #11756A #381175 #75111C
split-complementary
#4E7511 #111C75 #6A1175
monochromatic
#121B04 #2A4009 #4E7511 #72AA19 #95DF22

Accessibility & contrast

On white

5.42
#4E7511 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#4E7511 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7511
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7511#FFFFFF#000000##FFFFFF
##4E75111.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#76691D
Tritanopia (blue-blind)
#506F63
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4e7511;
/* rgb */ color: rgb(78, 117, 17);
/* oklch */ color: oklch(51.4% 0.130 129.7);
Tailwind
colors: {
  custom: {
    50: '#849d5a',
    500: '#4e7511',
    950: '#000000',
  },
}
SCSS
$custom: #4e7511;
$custom-light: #849d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7511",
  "rgb": {
    "r": 78,
    "g": 117,
    "b": 17
  },
  "hsl": {
    "h": 83.4,
    "s": 74.627,
    "l": 26.275
  },
  "oklch": {
    "l": 0.51417,
    "c": 0.1302,
    "h": 129.7
  },
  "luminance": 0.14383
}

Semantic roles & 50–950 ramp

primary
#4E7511
secondary
#6436AC
accent
#37F17F
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4E7511

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

Preview Lab → · Contrast checker → · Palette generator →

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