#5E7E18#5E7E18

#5E7E18 is a mid, vivid yellow-green. Relative luminance 0.174; OKLCH L 54.9% C 0.130 H 126.2°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#5E7E18
RGBrgb(94, 126, 24)
HSLhsl(79, 68%, 29%)
HSVhsv(79, 81%, 49%)
CMYKcmyk(25.4%, 0%, 81%, 50.6%)
CIE-LABlab(48.72, -26.46, 47.57)
CIE-LCHlch(48.72, 54.43, 119.08°)
OKLaboklab(54.9% -0.0766 0.1047)
OKLCHoklch(54.9% 0.13 126.2)
XYZxyz(12.2419, 17.3671, 3.5712)
Luminance0.1737 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7E18 #38187E
analogous
#7E6B18 #5E7E18 #2B7E18
triadic
#5E7E18 #185E7E #7E185E
tetradic
#5E7E18 #187E6B #38187E #7E182B
square
#5E7E18 #187E6B #38187E #7E182B
split-complementary
#5E7E18 #182B7E #6B187E
monochromatic
#131A05 #384B0E #5E7E18 #84B122 #A6D937

Accessibility & contrast

On white

4.69
#5E7E18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#5E7E18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E7E18
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7E18#FFFFFF#000000##FFFFFF
##5E7E181.004.694.474.69
#FFFFFF4.691.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#817323
Tritanopia (blue-blind)
#62786B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5e7e18;
/* rgb */ color: rgb(94, 126, 24);
/* oklch */ color: oklch(54.9% 0.130 126.2);
Tailwind
colors: {
  custom: {
    50: '#8fa35f',
    500: '#5e7e18',
    950: '#000000',
  },
}
SCSS
$custom: #5e7e18;
$custom-light: #8fa35f;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7e18",
  "rgb": {
    "r": 94,
    "g": 126,
    "b": 24
  },
  "hsl": {
    "h": 78.824,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.54897,
    "c": 0.12975,
    "h": 126.2
  },
  "luminance": 0.17367
}

Semantic roles & 50–950 ramp

primary
#5E7E18
secondary
#633FB2
accent
#3DEB74
background
#F9FAF5
surface
#F1F3EA
border
#CBCDC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5E7E18

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

Preview Lab → · Contrast checker → · Palette generator →

#5E7E18 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva