#4E631A#4E631A

#4E631A is a mid, moderate yellow-green. Relative luminance 0.106; OKLCH L 46.7% C 0.101 H 124.2°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#4E631A
RGBrgb(78, 99, 26)
HSLhsl(77, 58%, 25%)
HSVhsv(77, 74%, 39%)
CMYKcmyk(21.2%, 0%, 73.7%, 61.2%)
CIE-LABlab(38.93, -19.57, 36.99)
CIE-LCHlch(38.93, 41.85, 117.88°)
OKLaboklab(46.69% -0.0566 0.0833)
OKLCHoklch(46.69% 0.101 124.2)
XYZxyz(7.7902, 10.6179, 2.6161)
Luminance0.1062 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E631A #2F1A63
analogous
#63541A #4E631A #2A631A
triadic
#4E631A #1A4E63 #631A4E
tetradic
#4E631A #1A6354 #2F1A63 #631A2A
square
#4E631A #1A6354 #2F1A63 #631A2A
split-complementary
#4E631A #1A2A63 #541A63
monochromatic
#131806 #28330D #4E631A #749327 #9AC433

Accessibility & contrast

On white

6.72
#4E631A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#4E631A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E631A
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E631A#FFFFFF#000000##FFFFFF
##4E631A1.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C0E
Deuteranopia (green-blind)
#665B20
Tritanopia (blue-blind)
#525E55
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4e631a;
/* rgb */ color: rgb(78, 99, 26);
/* oklch */ color: oklch(46.7% 0.101 124.2);
Tailwind
colors: {
  custom: {
    50: '#828f5c',
    500: '#4e631a',
    950: '#000000',
  },
}
SCSS
$custom: #4e631a;
$custom-light: #828f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e631a",
  "rgb": {
    "r": 78,
    "g": 99,
    "b": 26
  },
  "hsl": {
    "h": 77.26,
    "s": 58.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.46686,
    "c": 0.10069,
    "h": 124.2
  },
  "luminance": 0.10618
}

Semantic roles & 50–950 ramp

primary
#4E631A
secondary
#5A4099
accent
#46E273
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #4E631A

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

Preview Lab → · Contrast checker → · Palette generator →

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