#4E5F1C#4E5F1C

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

Color values

HEX#4E5F1C
RGBrgb(78, 95, 28)
HSLhsl(75, 54%, 24%)
HSVhsv(75, 71%, 37%)
CMYKcmyk(17.9%, 0%, 70.5%, 62.7%)
CIE-LABlab(37.64, -17.29, 34.78)
CIE-LCHlch(37.64, 38.84, 116.43°)
OKLaboklab(45.65% -0.0501 0.0789)
OKLCHoklch(45.65% 0.094 122.4)
XYZxyz(7.4438, 9.8879, 2.6148)
Luminance0.0989 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5F1C #2D1C5F
analogous
#5F4F1C #4E5F1C #2D5F1C
triadic
#4E5F1C #1C4E5F #5F1C4E
tetradic
#4E5F1C #1C5F4F #2D1C5F #5F1C2D
square
#4E5F1C #1C5F4F #2D1C5F #5F1C2D
split-complementary
#4E5F1C #1C2D5F #4F1C5F
monochromatic
#131807 #27300E #4E5F1C #758E2A #9CBE38

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E5F1C#FFFFFF#000000##FFFFFF
##4E5F1C1.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)
#655913
Deuteranopia (green-blind)
#635921
Tritanopia (blue-blind)
#525A51
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4e5f1c;
/* rgb */ color: rgb(78, 95, 28);
/* oklch */ color: oklch(45.6% 0.093 122.4);
Tailwind
colors: {
  custom: {
    50: '#828c5c',
    500: '#4e5f1c',
    950: '#000000',
  },
}
SCSS
$custom: #4e5f1c;
$custom-light: #828c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5f1c",
  "rgb": {
    "r": 78,
    "g": 95,
    "b": 28
  },
  "hsl": {
    "h": 75.224,
    "s": 54.472,
    "l": 24.118
  },
  "oklch": {
    "l": 0.4565,
    "c": 0.0935,
    "h": 122.4
  },
  "luminance": 0.09888
}

Semantic roles & 50–950 ramp

primary
#4E5F1C
secondary
#574294
accent
#4ADE6F
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #4E5F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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