#4E6123#4E6123

#4E6123 is a mid, moderate yellow-green. Relative luminance 0.103; OKLCH L 46.3% C 0.090 H 124.2°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#4E6123
RGBrgb(78, 97, 35)
HSLhsl(78, 47%, 26%)
HSVhsv(78, 64%, 38%)
CMYKcmyk(19.6%, 0%, 63.9%, 62%)
CIE-LABlab(38.36, -17.77, 32.20)
CIE-LCHlch(38.36, 36.78, 118.89°)
OKLaboklab(46.25% -0.0507 0.0745)
OKLCHoklch(46.25% 0.09 124.2)
XYZxyz(7.7200, 10.2904, 3.1693)
Luminance0.1029 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6123 #362361
analogous
#615523 #4E6123 #2F6123
triadic
#4E6123 #234E61 #61234E
tetradic
#4E6123 #236155 #362361 #61232F
square
#4E6123 #236155 #362361 #61232F
split-complementary
#4E6123 #232F61 #552361
monochromatic
#121608 #2A3413 #4E6123 #728E33 #96BB43

Accessibility & contrast

On white

6.87
#4E6123 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#4E6123 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6123
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6123#FFFFFF#000000##FFFFFF
##4E61231.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665B1C
Deuteranopia (green-blind)
#645A27
Tritanopia (blue-blind)
#525C54
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4e6123;
/* rgb */ color: rgb(78, 97, 35);
/* oklch */ color: oklch(46.3% 0.090 124.2);
Tailwind
colors: {
  custom: {
    50: '#818e61',
    500: '#4e6123',
    950: '#000000',
  },
}
SCSS
$custom: #4e6123;
$custom-light: #818e61;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6123",
  "rgb": {
    "r": 78,
    "g": 97,
    "b": 35
  },
  "hsl": {
    "h": 78.387,
    "s": 46.97,
    "l": 25.882
  },
  "oklch": {
    "l": 0.46251,
    "c": 0.09012,
    "h": 124.2
  },
  "luminance": 0.1029
}

Semantic roles & 50–950 ramp

primary
#4E6123
secondary
#624B95
accent
#51D77A
background
#F8F8F5
surface
#EFF0EA
border
#CACBC6
text
#0A0C05
muted
#7C7D79

Preview Lab

Preview with #4E6123

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

Preview Lab → · Contrast checker → · Palette generator →

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