#4E631F#4E631F

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

Color values

HEX#4E631F
RGBrgb(78, 99, 31)
HSLhsl(79, 52%, 25%)
HSVhsv(79, 69%, 39%)
CMYKcmyk(21.2%, 0%, 68.7%, 61.2%)
CIE-LABlab(38.97, -19.19, 34.80)
CIE-LCHlch(38.97, 39.74, 118.87°)
OKLaboklab(46.73% -0.0551 0.0795)
OKLCHoklch(46.73% 0.097 124.7)
XYZxyz(7.8511, 10.6422, 2.9366)
Luminance0.1064 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E631F #341F63
analogous
#63561F #4E631F #2C631F
triadic
#4E631F #1F4E63 #631F4E
tetradic
#4E631F #1F6356 #341F63 #631F2C
square
#4E631F #1F6356 #341F63 #631F2C
split-complementary
#4E631F #1F2C63 #561F63
monochromatic
#121707 #293410 #4E631F #73922E #97C03C

Accessibility & contrast

On white

6.71
#4E631F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#4E631F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E631F
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E631F#FFFFFF#000000##FFFFFF
##4E631F1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e631f;
/* rgb */ color: rgb(78, 99, 31);
/* oklch */ color: oklch(46.7% 0.097 124.7);
Tailwind
colors: {
  custom: {
    50: '#828f5e',
    500: '#4e631f',
    950: '#000000',
  },
}
SCSS
$custom: #4e631f;
$custom-light: #828f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e631f",
  "rgb": {
    "r": 78,
    "g": 99,
    "b": 31
  },
  "hsl": {
    "h": 78.529,
    "s": 52.308,
    "l": 25.49
  },
  "oklch": {
    "l": 0.46733,
    "c": 0.09666,
    "h": 124.7
  },
  "luminance": 0.10642
}

Semantic roles & 50–950 ramp

primary
#4E631F
secondary
#5F4698
accent
#4CDC78
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C05
muted
#7C7D79

Preview Lab

Preview with #4E631F

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

Preview Lab → · Contrast checker → · Palette generator →

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