#4E7B14#4E7B14

#4E7B14 is a mid, vivid yellow-green. Relative luminance 0.158; OKLCH L 53.0% C 0.137 H 131.3°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#4E7B14
RGBrgb(78, 123, 20)
HSLhsl(86, 72%, 28%)
HSVhsv(86, 84%, 48%)
CMYKcmyk(36.6%, 0%, 83.7%, 51.8%)
CIE-LABlab(46.76, -31.74, 46.66)
CIE-LCHlch(46.76, 56.43, 124.22°)
OKLaboklab(53.04% -0.0902 0.1025)
OKLCHoklch(53.04% 0.137 131.3)
XYZxyz(10.3510, 15.8357, 3.1729)
Luminance0.1584 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7B14 #41147B
analogous
#7B7414 #4E7B14 #1A7B14
triadic
#4E7B14 #144E7B #7B144E
tetradic
#4E7B14 #147B74 #41147B #7B141A
square
#4E7B14 #147B74 #41147B #7B141A
split-complementary
#4E7B14 #141A7B #74147B
monochromatic
#111A04 #2D460B #4E7B14 #6FB01D #90DD2D

Accessibility & contrast

On white

5.04
#4E7B14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#4E7B14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7B14
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7B14#FFFFFF#000000##FFFFFF
##4E7B141.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#7B6E20
Tritanopia (blue-blind)
#507568
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4e7b14;
/* rgb */ color: rgb(78, 123, 20);
/* oklch */ color: oklch(53.0% 0.137 131.3);
Tailwind
colors: {
  custom: {
    50: '#84a15c',
    500: '#4e7b14',
    950: '#000000',
  },
}
SCSS
$custom: #4e7b14;
$custom-light: #84a15c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7b14",
  "rgb": {
    "r": 78,
    "g": 123,
    "b": 20
  },
  "hsl": {
    "h": 86.214,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.53038,
    "c": 0.13657,
    "h": 131.3
  },
  "luminance": 0.15836
}

Semantic roles & 50–950 ramp

primary
#4E7B14
secondary
#6E3AB1
accent
#39EF88
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0F04
muted
#7C7E79

Preview Lab

Preview with #4E7B14

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

Preview Lab → · Contrast checker → · Palette generator →

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