#4E6623#4E6623

#4E6623 is a mid, moderate yellow-green. Relative luminance 0.112; OKLCH L 47.6% C 0.097 H 126.6°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#4E6623
RGBrgb(78, 102, 35)
HSLhsl(81, 49%, 27%)
HSVhsv(81, 66%, 40%)
CMYKcmyk(23.5%, 0%, 65.7%, 60%)
CIE-LABlab(39.99, -20.42, 34.00)
CIE-LCHlch(39.99, 39.66, 121.00°)
OKLaboklab(47.57% -0.0581 0.0783)
OKLCHoklch(47.57% 0.097 126.6)
XYZxyz(8.1966, 11.2437, 3.3282)
Luminance0.1124 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6623 #3B2366
analogous
#665D23 #4E6623 #2C6623
triadic
#4E6623 #234E66 #66234E
tetradic
#4E6623 #23665D #3B2366 #66232C
square
#4E6623 #23665D #3B2366 #66232C
split-complementary
#4E6623 #232C66 #5D2366
monochromatic
#111708 #2B3813 #4E6623 #719433 #93BF44

Accessibility & contrast

On white

6.46
#4E6623 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#4E6623 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6623
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6623#FFFFFF#000000##FFFFFF
##4E66231.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5F1B
Deuteranopia (green-blind)
#685E28
Tritanopia (blue-blind)
#516158
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4e6623;
/* rgb */ color: rgb(78, 102, 35);
/* oklch */ color: oklch(47.6% 0.097 126.6);
Tailwind
colors: {
  custom: {
    50: '#829161',
    500: '#4e6623',
    950: '#000000',
  },
}
SCSS
$custom: #4e6623;
$custom-light: #829161;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6623",
  "rgb": {
    "r": 78,
    "g": 102,
    "b": 35
  },
  "hsl": {
    "h": 81.493,
    "s": 48.905,
    "l": 26.863
  },
  "oklch": {
    "l": 0.47567,
    "c": 0.09749,
    "h": 126.6
  },
  "luminance": 0.11244
}

Semantic roles & 50–950 ramp

primary
#4E6623
secondary
#674B9A
accent
#4FD880
background
#F8F8F5
surface
#EFF0EA
border
#CACBC6
text
#0B0D05
muted
#7C7D79

Preview Lab

Preview with #4E6623

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

Preview Lab → · Contrast checker → · Palette generator →

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