#4E6229#4E6229

#4E6229 is a mid, moderate yellow-green. Relative luminance 0.105; OKLCH L 46.6% C 0.086 H 125.7°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#4E6229
RGBrgb(78, 98, 41)
HSLhsl(81, 41%, 27%)
HSVhsv(81, 58%, 38%)
CMYKcmyk(20.4%, 0%, 58.2%, 61.6%)
CIE-LABlab(38.75, -17.70, 29.56)
CIE-LCHlch(38.75, 34.45, 120.92°)
OKLaboklab(46.59% -0.0499 0.0696)
OKLCHoklch(46.59% 0.086 125.7)
XYZxyz(7.9098, 10.5151, 3.7103)
Luminance0.1051 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6229 #3D2962
analogous
#625A29 #4E6229 #316229
triadic
#4E6229 #294E62 #62294E
tetradic
#4E6229 #29625A #3D2962 #622931
square
#4E6229 #29625A #3D2962 #622931
split-complementary
#4E6229 #293162 #5A2962
monochromatic
#111609 #2C3717 #4E6229 #708D3B #92B650

Accessibility & contrast

On white

6.77
#4E6229 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#4E6229 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6229
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6229#FFFFFF#000000##FFFFFF
##4E62291.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675C23
Deuteranopia (green-blind)
#645B2D
Tritanopia (blue-blind)
#515E55
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4e6229;
/* rgb */ color: rgb(78, 98, 41);
/* oklch */ color: oklch(46.6% 0.086 125.7);
Tailwind
colors: {
  custom: {
    50: '#818e65',
    500: '#4e6229',
    950: '#000000',
  },
}
SCSS
$custom: #4e6229;
$custom-light: #818e65;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6229",
  "rgb": {
    "r": 78,
    "g": 98,
    "b": 41
  },
  "hsl": {
    "h": 81.053,
    "s": 41.007,
    "l": 27.255
  },
  "oklch": {
    "l": 0.46589,
    "c": 0.0856,
    "h": 125.7
  },
  "luminance": 0.10515
}

Semantic roles & 50–950 ramp

primary
#4E6229
secondary
#6A5295
accent
#57D182
background
#F8F8F6
surface
#EFF0EB
border
#CACBC6
text
#0A0C05
muted
#7C7D7A

Preview Lab

Preview with #4E6229

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

Preview Lab → · Contrast checker → · Palette generator →

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