#4E6823#4E6823

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

Color values

HEX#4E6823
RGBrgb(78, 104, 35)
HSLhsl(83, 50%, 27%)
HSVhsv(83, 66%, 41%)
CMYKcmyk(25%, 0%, 66.3%, 59.2%)
CIE-LABlab(40.64, -21.46, 34.71)
CIE-LCHlch(40.64, 40.81, 121.73°)
OKLaboklab(48.1% -0.0609 0.0798)
OKLCHoklch(48.1% 0.1 127.4)
XYZxyz(8.3956, 11.6415, 3.3945)
Luminance0.1164 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6823 #3D2368
analogous
#686023 #4E6823 #2B6823
triadic
#4E6823 #234E68 #68234E
tetradic
#4E6823 #236860 #3D2368 #68232B
square
#4E6823 #236860 #3D2368 #68232B
split-complementary
#4E6823 #232B68 #602368
monochromatic
#111708 #2C3A14 #4E6823 #709632 #92C045

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E6823#FFFFFF#000000##FFFFFF
##4E68231.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)
#6D611B
Deuteranopia (green-blind)
#6A5F28
Tritanopia (blue-blind)
#51635A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4e6823;
/* rgb */ color: rgb(78, 104, 35);
/* oklch */ color: oklch(48.1% 0.100 127.4);
Tailwind
colors: {
  custom: {
    50: '#829361',
    500: '#4e6823',
    950: '#000000',
  },
}
SCSS
$custom: #4e6823;
$custom-light: #829361;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6823",
  "rgb": {
    "r": 78,
    "g": 104,
    "b": 35
  },
  "hsl": {
    "h": 82.609,
    "s": 49.64,
    "l": 27.255
  },
  "oklch": {
    "l": 0.48095,
    "c": 0.10043,
    "h": 127.4
  },
  "luminance": 0.11642
}

Semantic roles & 50–950 ramp

primary
#4E6823
secondary
#6A4B9B
accent
#4FD983
background
#F8F9F5
surface
#EFF1EA
border
#CACBC6
text
#0B0D05
muted
#7C7E79

Preview Lab

Preview with #4E6823

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

Preview Lab → · Contrast checker → · Palette generator →

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