#4E5F1F#4E5F1F

#4E5F1F is a mid, moderate yellow-green. Relative luminance 0.099; OKLCH L 45.7% C 0.091 H 122.7°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#4E5F1F
RGBrgb(78, 95, 31)
HSLhsl(76, 51%, 25%)
HSVhsv(76, 67%, 37%)
CMYKcmyk(17.9%, 0%, 67.4%, 62.7%)
CIE-LABlab(37.67, -17.04, 33.40)
CIE-LCHlch(37.67, 37.50, 117.03°)
OKLaboklab(45.68% -0.0491 0.0765)
OKLCHoklch(45.68% 0.091 122.7)
XYZxyz(7.4815, 9.9030, 2.8134)
Luminance0.0990 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5F1F #301F5F
analogous
#5F501F #4E5F1F #2E5F1F
triadic
#4E5F1F #1F4E5F #5F1F4E
tetradic
#4E5F1F #1F5F50 #301F5F #5F1F2E
square
#4E5F1F #1F5F50 #301F5F #5F1F2E
split-complementary
#4E5F1F #1F2E5F #501F5F
monochromatic
#131708 #283110 #4E5F1F #748D2E #9ABB3D

Accessibility & contrast

On white

7.05
#4E5F1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#4E5F1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5F1F
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5F1F#FFFFFF#000000##FFFFFF
##4E5F1F1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655917
Deuteranopia (green-blind)
#625924
Tritanopia (blue-blind)
#525A52
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4e5f1f;
/* rgb */ color: rgb(78, 95, 31);
/* oklch */ color: oklch(45.7% 0.091 122.7);
Tailwind
colors: {
  custom: {
    50: '#818c5e',
    500: '#4e5f1f',
    950: '#000000',
  },
}
SCSS
$custom: #4e5f1f;
$custom-light: #818c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5f1f",
  "rgb": {
    "r": 78,
    "g": 95,
    "b": 31
  },
  "hsl": {
    "h": 75.938,
    "s": 50.794,
    "l": 24.706
  },
  "oklch": {
    "l": 0.45681,
    "c": 0.09091,
    "h": 122.7
  },
  "luminance": 0.09903
}

Semantic roles & 50–950 ramp

primary
#4E5F1F
secondary
#5B4694
accent
#4EDA73
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #4E5F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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