#4E6D23#4E6D23

#4E6D23 is a mid, moderate yellow-green. Relative luminance 0.127; OKLCH L 49.4% C 0.108 H 129.1°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#4E6D23
RGBrgb(78, 109, 35)
HSLhsl(85, 51%, 28%)
HSVhsv(85, 68%, 43%)
CMYKcmyk(28.4%, 0%, 67.9%, 57.3%)
CIE-LABlab(42.27, -24.01, 36.48)
CIE-LCHlch(42.27, 43.67, 123.36°)
OKLaboklab(49.42% -0.068 0.0836)
OKLCHoklch(49.42% 0.108 129.1)
XYZxyz(8.9139, 12.6781, 3.5673)
Luminance0.1268 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6D23 #42236D
analogous
#6D6723 #4E6D23 #296D23
triadic
#4E6D23 #234E6D #6D234E
tetradic
#4E6D23 #236D67 #42236D #6D2329
square
#4E6D23 #236D67 #42236D #6D2329
split-complementary
#4E6D23 #23296D #67236D
monochromatic
#111707 #2D3F14 #4E6D23 #6F9B32 #8FC447

Accessibility & contrast

On white

5.94
#4E6D23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#4E6D23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6D23
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6D23#FFFFFF#000000##FFFFFF
##4E6D231.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72651A
Deuteranopia (green-blind)
#6E6329
Tritanopia (blue-blind)
#50685E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4e6d23;
/* rgb */ color: rgb(78, 109, 35);
/* oklch */ color: oklch(49.4% 0.108 129.1);
Tailwind
colors: {
  custom: {
    50: '#829762',
    500: '#4e6d23',
    950: '#000000',
  },
}
SCSS
$custom: #4e6d23;
$custom-light: #829762;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6d23",
  "rgb": {
    "r": 78,
    "g": 109,
    "b": 35
  },
  "hsl": {
    "h": 85.135,
    "s": 51.389,
    "l": 28.235
  },
  "oklch": {
    "l": 0.49419,
    "c": 0.10771,
    "h": 129.1
  },
  "luminance": 0.12678
}

Semantic roles & 50–950 ramp

primary
#4E6D23
secondary
#6F4BA0
accent
#4DDB88
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0D05
muted
#7C7E79

Preview Lab

Preview with #4E6D23

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

Preview Lab → · Contrast checker → · Palette generator →

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