#4E6923#4E6923

#4E6923 is a mid, moderate yellow-green. Relative luminance 0.118; OKLCH L 48.4% C 0.102 H 127.7°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#4E6923
RGBrgb(78, 105, 35)
HSLhsl(83, 50%, 27%)
HSVhsv(83, 67%, 41%)
CMYKcmyk(25.7%, 0%, 66.7%, 58.8%)
CIE-LABlab(40.97, -21.98, 35.06)
CIE-LCHlch(40.97, 41.38, 122.08°)
OKLaboklab(48.36% -0.0624 0.0806)
OKLCHoklch(48.36% 0.102 127.7)
XYZxyz(8.4968, 11.8440, 3.4283)
Luminance0.1184 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6923 #3E2369
analogous
#696123 #4E6923 #2B6923
triadic
#4E6923 #234E69 #69234E
tetradic
#4E6923 #236961 #3E2369 #69232B
square
#4E6923 #236961 #3E2369 #69232B
split-complementary
#4E6923 #232B69 #612369
monochromatic
#111708 #2C3B14 #4E6923 #709732 #91C145

Accessibility & contrast

On white

6.23
#4E6923 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#4E6923 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6923
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6923#FFFFFF#000000##FFFFFF
##4E69231.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E621A
Deuteranopia (green-blind)
#6B6028
Tritanopia (blue-blind)
#51645A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4e6923;
/* rgb */ color: rgb(78, 105, 35);
/* oklch */ color: oklch(48.4% 0.102 127.7);
Tailwind
colors: {
  custom: {
    50: '#829461',
    500: '#4e6923',
    950: '#000000',
  },
}
SCSS
$custom: #4e6923;
$custom-light: #829461;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6923",
  "rgb": {
    "r": 78,
    "g": 105,
    "b": 35
  },
  "hsl": {
    "h": 83.143,
    "s": 50,
    "l": 27.451
  },
  "oklch": {
    "l": 0.4836,
    "c": 0.10189,
    "h": 127.7
  },
  "luminance": 0.11844
}

Semantic roles & 50–950 ramp

primary
#4E6923
secondary
#6B4B9C
accent
#4EDA84
background
#F8F9F5
surface
#EFF1EA
border
#CACBC6
text
#0B0D05
muted
#7C7E79

Preview Lab

Preview with #4E6923

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

Preview Lab → · Contrast checker → · Palette generator →

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