#4E7321#4E7321

#4E7321 is a mid, moderate yellow-green. Relative luminance 0.140; OKLCH L 51.0% C 0.118 H 130.6°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#4E7321
RGBrgb(78, 115, 33)
HSLhsl(87, 55%, 29%)
HSVhsv(87, 71%, 45%)
CMYKcmyk(32.2%, 0%, 71.3%, 54.9%)
CIE-LABlab(44.22, -27.14, 39.42)
CIE-LCHlch(44.22, 47.86, 124.55°)
OKLaboklab(50.99% -0.0767 0.0895)
OKLCHoklch(50.99% 0.118 130.6)
XYZxyz(9.5471, 13.9907, 3.6360)
Luminance0.1399 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7321 #462173
analogous
#736F21 #4E7321 #257321
triadic
#4E7321 #214E73 #73214E
tetradic
#4E7321 #21736F #462173 #732125
square
#4E7321 #21736F #462173 #732125
split-complementary
#4E7321 #212573 #6F2173
monochromatic
#101807 #2E4313 #4E7321 #6EA32F #8ECA45

Accessibility & contrast

On white

5.53
#4E7321 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#4E7321 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7321
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7321#FFFFFF#000000##FFFFFF
##4E73211.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A15
Deuteranopia (green-blind)
#736828
Tritanopia (blue-blind)
#506E63
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4e7321;
/* rgb */ color: rgb(78, 115, 33);
/* oklch */ color: oklch(51.0% 0.118 130.6);
Tailwind
colors: {
  custom: {
    50: '#839b61',
    500: '#4e7321',
    950: '#000000',
  },
}
SCSS
$custom: #4e7321;
$custom-light: #839b61;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7321",
  "rgb": {
    "r": 78,
    "g": 115,
    "b": 33
  },
  "hsl": {
    "h": 87.073,
    "s": 55.405,
    "l": 29.02
  },
  "oklch": {
    "l": 0.50994,
    "c": 0.11786,
    "h": 130.6
  },
  "luminance": 0.13991
}

Semantic roles & 50–950 ramp

primary
#4E7321
secondary
#7349A6
accent
#49DF8D
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4E7321

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

Preview Lab → · Contrast checker → · Palette generator →

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