#5E7D18#5E7D18

#5E7D18 is a mid, vivid yellow-green. Relative luminance 0.171; OKLCH L 54.6% C 0.128 H 125.9°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#5E7D18
RGBrgb(94, 125, 24)
HSLhsl(78, 68%, 29%)
HSVhsv(78, 81%, 49%)
CMYKcmyk(24.8%, 0%, 80.8%, 51%)
CIE-LABlab(48.40, -25.96, 47.27)
CIE-LCHlch(48.40, 53.93, 118.78°)
OKLaboklab(54.64% -0.0753 0.1041)
OKLCHoklch(54.64% 0.128 125.9)
XYZxyz(12.1147, 17.1127, 3.5288)
Luminance0.1711 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7D18 #37187D
analogous
#7D6A18 #5E7D18 #2C7D18
triadic
#5E7D18 #185E7D #7D185E
tetradic
#5E7D18 #187D6A #37187D #7D182C
square
#5E7D18 #187D6A #37187D #7D182C
split-complementary
#5E7D18 #182C7D #6A187D
monochromatic
#131A05 #374A0E #5E7D18 #85B022 #A7D937

Accessibility & contrast

On white

4.75
#5E7D18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#5E7D18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E7D18
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7D18#FFFFFF#000000##FFFFFF
##5E7D181.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#807222
Tritanopia (blue-blind)
#62776A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5e7d18;
/* rgb */ color: rgb(94, 125, 24);
/* oklch */ color: oklch(54.6% 0.128 125.9);
Tailwind
colors: {
  custom: {
    50: '#8fa25e',
    500: '#5e7d18',
    950: '#000000',
  },
}
SCSS
$custom: #5e7d18;
$custom-light: #8fa25e;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7d18",
  "rgb": {
    "r": 94,
    "g": 125,
    "b": 24
  },
  "hsl": {
    "h": 78.416,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.5464,
    "c": 0.12846,
    "h": 125.9
  },
  "luminance": 0.17113
}

Semantic roles & 50–950 ramp

primary
#5E7D18
secondary
#623FB2
accent
#3DEB72
background
#F9FAF5
surface
#F1F3EA
border
#CBCDC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5E7D18

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

Preview Lab → · Contrast checker → · Palette generator →

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