#4E5F17#4E5F17

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

Color values

HEX#4E5F17
RGBrgb(78, 95, 23)
HSLhsl(74, 61%, 23%)
HSVhsv(74, 76%, 37%)
CMYKcmyk(17.9%, 0%, 75.8%, 62.7%)
CIE-LABlab(37.60, -17.64, 36.93)
CIE-LCHlch(37.60, 40.92, 115.54°)
OKLaboklab(45.61% -0.0516 0.0826)
OKLCHoklch(45.61% 0.097 122)
XYZxyz(7.3889, 9.8660, 2.3255)
Luminance0.0987 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5F17 #28175F
analogous
#5F4C17 #4E5F17 #2A5F17
triadic
#4E5F17 #174E5F #5F174E
tetradic
#4E5F17 #175F4C #28175F #5F172A
square
#4E5F17 #175F4C #28175F #5F172A
split-complementary
#4E5F17 #172A5F #4C175F
monochromatic
#141906 #262E0B #4E5F17 #769023 #9FC22F

Accessibility & contrast

On white

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

On black

2.97
#4E5F17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4E5F17#FFFFFF#000000##FFFFFF
##4E5F171.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#65590B
Deuteranopia (green-blind)
#63581D
Tritanopia (blue-blind)
#525A51
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4e5f17;
/* rgb */ color: rgb(78, 95, 23);
/* oklch */ color: oklch(45.6% 0.097 122.0);
Tailwind
colors: {
  custom: {
    50: '#828c59',
    500: '#4e5f17',
    950: '#000000',
  },
}
SCSS
$custom: #4e5f17;
$custom-light: #828c59;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5f17",
  "rgb": {
    "r": 78,
    "g": 95,
    "b": 23
  },
  "hsl": {
    "h": 74.167,
    "s": 61.017,
    "l": 23.137
  },
  "oklch": {
    "l": 0.45605,
    "c": 0.09738,
    "h": 122
  },
  "luminance": 0.09866
}

Semantic roles & 50–950 ramp

primary
#4E5F17
secondary
#513C96
accent
#44E46A
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #4E5F17

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

Preview Lab → · Contrast checker → · Palette generator →

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