#4E6821#4E6821

#4E6821 is a mid, moderate yellow-green. Relative luminance 0.116; OKLCH L 48.1% C 0.102 H 127.1°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#4E6821
RGBrgb(78, 104, 33)
HSLhsl(82, 52%, 27%)
HSVhsv(82, 68%, 41%)
CMYKcmyk(25%, 0%, 68.3%, 59.2%)
CIE-LABlab(40.62, -21.64, 35.63)
CIE-LCHlch(40.62, 41.69, 121.27°)
OKLaboklab(48.07% -0.0616 0.0815)
OKLCHoklch(48.07% 0.102 127.1)
XYZxyz(8.3667, 11.6300, 3.2426)
Luminance0.1163 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6821 #3B2168
analogous
#685F21 #4E6821 #2B6821
triadic
#4E6821 #214E68 #68214E
tetradic
#4E6821 #21685F #3B2168 #68212B
square
#4E6821 #21685F #3B2168 #68212B
split-complementary
#4E6821 #212B68 #5F2168
monochromatic
#111707 #2B3A12 #4E6821 #719630 #93C341

Accessibility & contrast

On white

6.31
#4E6821 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#4E6821 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6821
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6821#FFFFFF#000000##FFFFFF
##4E68211.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6118
Deuteranopia (green-blind)
#6A5F26
Tritanopia (blue-blind)
#516359
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4e6821;
/* rgb */ color: rgb(78, 104, 33);
/* oklch */ color: oklch(48.1% 0.102 127.1);
Tailwind
colors: {
  custom: {
    50: '#829360',
    500: '#4e6821',
    950: '#000000',
  },
}
SCSS
$custom: #4e6821;
$custom-light: #829360;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6821",
  "rgb": {
    "r": 78,
    "g": 104,
    "b": 33
  },
  "hsl": {
    "h": 81.972,
    "s": 51.825,
    "l": 26.863
  },
  "oklch": {
    "l": 0.48074,
    "c": 0.10217,
    "h": 127.1
  },
  "luminance": 0.1163
}

Semantic roles & 50–950 ramp

primary
#4E6821
secondary
#67499C
accent
#4DDB81
background
#F8F9F5
surface
#EFF1EA
border
#CACBC6
text
#0B0D05
muted
#7C7E79

Preview Lab

Preview with #4E6821

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

Preview Lab → · Contrast checker → · Palette generator →

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