#5E7018#5E7018

#5E7018 is a mid, moderate yellow-green. Relative luminance 0.140; OKLCH L 51.3% C 0.112 H 120.8°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#5E7018
RGBrgb(94, 112, 24)
HSLhsl(72, 65%, 27%)
HSVhsv(72, 79%, 44%)
CMYKcmyk(16.1%, 0%, 78.6%, 56.1%)
CIE-LABlab(44.28, -19.35, 43.42)
CIE-LCHlch(44.28, 47.54, 114.02°)
OKLaboklab(51.31% -0.0572 0.096)
OKLCHoklch(51.31% 0.112 120.8)
XYZxyz(10.5753, 14.0340, 3.0157)
Luminance0.1403 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7018 #2A1870
analogous
#705618 #5E7018 #327018
triadic
#5E7018 #185E70 #70185E
tetradic
#5E7018 #187056 #2A1870 #701832
square
#5E7018 #187056 #2A1870 #701832
split-complementary
#5E7018 #183270 #561870
monochromatic
#151905 #343E0D #5E7018 #88A223 #B1D330

Accessibility & contrast

On white

5.52
#5E7018 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#5E7018 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E7018
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7018#FFFFFF#000000##FFFFFF
##5E70181.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776905
Deuteranopia (green-blind)
#756920
Tritanopia (blue-blind)
#646A5F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5e7018;
/* rgb */ color: rgb(94, 112, 24);
/* oklch */ color: oklch(51.3% 0.112 120.8);
Tailwind
colors: {
  custom: {
    50: '#8f995d',
    500: '#5e7018',
    950: '#000000',
  },
}
SCSS
$custom: #5e7018;
$custom-light: #8f995d;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7018",
  "rgb": {
    "r": 94,
    "g": 112,
    "b": 24
  },
  "hsl": {
    "h": 72.273,
    "s": 64.706,
    "l": 26.667
  },
  "oklch": {
    "l": 0.51307,
    "c": 0.11172,
    "h": 120.8
  },
  "luminance": 0.14034
}

Semantic roles & 50–950 ramp

primary
#5E7018
secondary
#533EA5
accent
#40E862
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #5E7018

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

Preview Lab → · Contrast checker → · Palette generator →

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