#5E8534#5E8534

#5E8534 is a mid, moderate yellow-green. Relative luminance 0.194; OKLCH L 56.9% C 0.119 H 130.9°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#5E8534
RGBrgb(94, 133, 52)
HSLhsl(89, 44%, 36%)
HSVhsv(89, 61%, 52%)
CMYKcmyk(29.3%, 0%, 60.9%, 47.8%)
CIE-LABlab(51.15, -27.79, 38.53)
CIE-LCHlch(51.15, 47.51, 125.80°)
OKLaboklab(56.94% -0.0778 0.0898)
OKLCHoklch(56.94% 0.119 130.9)
XYZxyz(13.6233, 19.4023, 6.2754)
Luminance0.1940 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8534 #5B3485
analogous
#858434 #5E8534 #368534
triadic
#5E8534 #345E85 #85345E
tetradic
#5E8534 #348584 #5B3485 #853436
square
#5E8534 #348584 #5B3485 #853436
split-complementary
#5E8534 #343685 #843485
monochromatic
#202D12 #3F5923 #5E8534 #7DB145 #9BC66D

Accessibility & contrast

On white

4.30
#5E8534 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#5E8534 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E8534
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E8534#FFFFFF#000000##000000
##5E85341.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7C2B
Deuteranopia (green-blind)
#85793A
Tritanopia (blue-blind)
#608074
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5e8534;
/* rgb */ color: rgb(94, 133, 52);
/* oklch */ color: oklch(56.9% 0.119 130.9);
Tailwind
colors: {
  custom: {
    50: '#8ea86f',
    500: '#5e8534',
    950: '#000000',
  },
}
SCSS
$custom: #5e8534;
$custom-light: #8ea86f;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8534",
  "rgb": {
    "r": 94,
    "g": 133,
    "b": 52
  },
  "hsl": {
    "h": 88.889,
    "s": 43.784,
    "l": 36.275
  },
  "oklch": {
    "l": 0.56943,
    "c": 0.11885,
    "h": 130.9
  },
  "luminance": 0.19403
}

Semantic roles & 50–950 ramp

primary
#5E8534
secondary
#8967AE
accent
#54D492
background
#F8FAF6
surface
#F0F4EC
border
#CBCEC7
text
#0C0F07
muted
#7D7F7A

Preview Lab

Preview with #5E8534

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

Preview Lab → · Contrast checker → · Palette generator →

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