#4E5F1B#4E5F1B

#4E5F1B is a mid, moderate yellow-green. Relative luminance 0.099; OKLCH L 45.6% C 0.094 H 122.3°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#4E5F1B
RGBrgb(78, 95, 27)
HSLhsl(75, 56%, 24%)
HSVhsv(75, 72%, 37%)
CMYKcmyk(17.9%, 0%, 71.6%, 62.7%)
CIE-LABlab(37.63, -17.36, 35.23)
CIE-LCHlch(37.63, 39.27, 116.24°)
OKLaboklab(45.64% -0.0504 0.0797)
OKLCHoklch(45.64% 0.094 122.3)
XYZxyz(7.4320, 9.8832, 2.5528)
Luminance0.0988 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5F1B #2C1B5F
analogous
#5F4E1B #4E5F1B #2C5F1B
triadic
#4E5F1B #1B4E5F #5F1B4E
tetradic
#4E5F1B #1B5F4E #2C1B5F #5F1B2C
square
#4E5F1B #1B5F4E #2C1B5F #5F1B2C
split-complementary
#4E5F1B #1B2C5F #4E1B5F
monochromatic
#141807 #272F0D #4E5F1B #758F29 #9CBE36

Accessibility & contrast

On white

7.06
#4E5F1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E5F1B
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5F1B#FFFFFF#000000##FFFFFF
##4E5F1B1.007.062.987.06
#FFFFFF7.061.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655911
Deuteranopia (green-blind)
#635920
Tritanopia (blue-blind)
#525A51
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4e5f1b;
/* rgb */ color: rgb(78, 95, 27);
/* oklch */ color: oklch(45.6% 0.094 122.3);
Tailwind
colors: {
  custom: {
    50: '#828c5c',
    500: '#4e5f1b',
    950: '#000000',
  },
}
SCSS
$custom: #4e5f1b;
$custom-light: #828c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5f1b",
  "rgb": {
    "r": 78,
    "g": 95,
    "b": 27
  },
  "hsl": {
    "h": 75,
    "s": 55.738,
    "l": 23.922
  },
  "oklch": {
    "l": 0.45641,
    "c": 0.09432,
    "h": 122.3
  },
  "luminance": 0.09883
}

Semantic roles & 50–950 ramp

primary
#4E5F1B
secondary
#564195
accent
#49DF6E
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #4E5F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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