#538B40#538B40

#538B40 is a mid, vivid green. Relative luminance 0.207; OKLCH L 58.0% C 0.122 H 138.4°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#538B40
RGBrgb(83, 139, 64)
HSLhsl(105, 37%, 40%)
HSVhsv(105, 54%, 55%)
CMYKcmyk(40.3%, 0%, 54%, 45.5%)
CIE-LABlab(52.59, -33.33, 34.09)
CIE-LCHlch(52.59, 47.68, 134.36°)
OKLaboklab(57.99% -0.0915 0.0814)
OKLCHoklch(57.99% 0.122 138.4)
XYZxyz(13.7249, 20.6737, 8.1167)
Luminance0.2067 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538B40 #78408B
analogous
#798B40 #538B40 #408B53
triadic
#538B40 #40538B #8B4053
tetradic
#538B40 #40798B #78408B #8B5340
square
#538B40 #40798B #78408B #8B5340
split-complementary
#538B40 #53408B #8B4079
monochromatic
#213719 #3A612D #538B40 #6EB257 #92C581

Accessibility & contrast

On white

4.09
#538B40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#538B40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #538B40
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##538B40#FFFFFF#000000##000000
##538B401.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8139
Deuteranopia (green-blind)
#877C45
Tritanopia (blue-blind)
#50877A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #538b40;
/* rgb */ color: rgb(83, 139, 64);
/* oklch */ color: oklch(58.0% 0.122 138.4);
Tailwind
colors: {
  custom: {
    50: '#87ad77',
    500: '#538b40',
    950: '#000000',
  },
}
SCSS
$custom: #538b40;
$custom-light: #87ad77;
$custom-dark: #000000;
JSON
{
  "hex": "#538b40",
  "rgb": {
    "r": 83,
    "g": 139,
    "b": 64
  },
  "hsl": {
    "h": 104.8,
    "s": 36.946,
    "l": 39.804
  },
  "oklch": {
    "l": 0.57993,
    "c": 0.12249,
    "h": 138.4
  },
  "luminance": 0.20674
}

Semantic roles & 50–950 ramp

primary
#538B40
secondary
#A178AF
accent
#5BCDB0
background
#F8FAF7
surface
#F0F4ED
border
#CBCEC8
text
#0B1009
muted
#7C7F7B

Preview Lab

Preview with #538B40

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

Preview Lab → · Contrast checker → · Palette generator →

#538B40 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva