#4E7214#4E7214

#4E7214 is a mid, vivid yellow-green. Relative luminance 0.137; OKLCH L 50.6% C 0.125 H 129.1°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#4E7214
RGBrgb(78, 114, 20)
HSLhsl(83, 70%, 26%)
HSVhsv(83, 82%, 45%)
CMYKcmyk(31.6%, 0%, 82.5%, 55.3%)
CIE-LABlab(43.81, -27.51, 43.96)
CIE-LCHlch(43.81, 51.85, 122.04°)
OKLaboklab(50.63% -0.0788 0.0968)
OKLCHoklch(50.63% 0.125 129.1)
XYZxyz(9.2854, 13.7046, 2.8177)
Luminance0.1371 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7214 #381472
analogous
#726714 #4E7214 #1F7214
triadic
#4E7214 #144E72 #72144E
tetradic
#4E7214 #147267 #381472 #72141F
square
#4E7214 #147267 #381472 #72141F
split-complementary
#4E7214 #141F72 #671472
monochromatic
#121A05 #2A3E0B #4E7214 #72A61D #95D927

Accessibility & contrast

On white

5.61
#4E7214 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#4E7214 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7214
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7214#FFFFFF#000000##FFFFFF
##4E72141.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786900
Deuteranopia (green-blind)
#73671E
Tritanopia (blue-blind)
#516D61
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4e7214;
/* rgb */ color: rgb(78, 114, 20);
/* oklch */ color: oklch(50.6% 0.125 129.1);
Tailwind
colors: {
  custom: {
    50: '#839a5b',
    500: '#4e7214',
    950: '#000000',
  },
}
SCSS
$custom: #4e7214;
$custom-light: #839a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7214",
  "rgb": {
    "r": 78,
    "g": 114,
    "b": 20
  },
  "hsl": {
    "h": 82.979,
    "s": 70.149,
    "l": 26.275
  },
  "oklch": {
    "l": 0.50631,
    "c": 0.12483,
    "h": 129.1
  },
  "luminance": 0.13705
}

Semantic roles & 50–950 ramp

primary
#4E7214
secondary
#6439A8
accent
#3BED7F
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4E7214

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

Preview Lab → · Contrast checker → · Palette generator →

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