#538E28#538E28

#538E28 is a mid, vivid yellow-green. Relative luminance 0.213; OKLCH L 58.5% C 0.147 H 134.8°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#538E28
RGBrgb(83, 142, 40)
HSLhsl(95, 56%, 36%)
HSVhsv(95, 72%, 56%)
CMYKcmyk(41.5%, 0%, 71.8%, 44.3%)
CIE-LABlab(53.32, -37.11, 46.00)
CIE-LCHlch(53.32, 59.10, 128.90°)
OKLaboklab(58.51% -0.1036 0.1042)
OKLCHoklch(58.51% 0.147 134.8)
XYZxyz(13.6230, 21.3375, 5.4078)
Luminance0.2134 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538E28 #63288E
analogous
#868E28 #538E28 #288E30
triadic
#538E28 #28538E #8E2853
tetradic
#538E28 #28868E #63288E #8E3028
square
#538E28 #28868E #63288E #8E3028
split-complementary
#538E28 #30288E #8E2886
monochromatic
#1B2F0D #375E1B #538E28 #6FBE35 #8FD25F

Accessibility & contrast

On white

3.99
#538E28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#538E28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #538E28
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##538E28#FFFFFF#000000##000000
##538E281.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#938218
Deuteranopia (green-blind)
#8B7E31
Tritanopia (blue-blind)
#52887A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #538e28;
/* rgb */ color: rgb(83, 142, 40);
/* oklch */ color: oklch(58.5% 0.147 134.8);
Tailwind
colors: {
  custom: {
    50: '#88af68',
    500: '#538e28',
    950: '#000000',
  },
}
SCSS
$custom: #538e28;
$custom-light: #88af68;
$custom-dark: #000000;
JSON
{
  "hex": "#538e28",
  "rgb": {
    "r": 83,
    "g": 142,
    "b": 40
  },
  "hsl": {
    "h": 94.706,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.5851,
    "c": 0.14694,
    "h": 134.8
  },
  "luminance": 0.21338
}

Semantic roles & 50–950 ramp

primary
#538E28
secondary
#905BB7
accent
#48DFA0
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #538E28

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

Preview Lab → · Contrast checker → · Palette generator →

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