#538E25#538E25

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

Color values

HEX#538E25
RGBrgb(83, 142, 37)
HSLhsl(94, 59%, 35%)
HSVhsv(94, 74%, 56%)
CMYKcmyk(41.5%, 0%, 73.9%, 44.3%)
CIE-LABlab(53.30, -37.34, 47.15)
CIE-LCHlch(53.30, 60.14, 128.38°)
OKLaboklab(58.49% -0.1044 0.1062)
OKLCHoklch(58.49% 0.149 134.5)
XYZxyz(13.5739, 21.3179, 5.1494)
Luminance0.2132 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538E25 #60258E
analogous
#888E25 #538E25 #258E2B
triadic
#538E25 #25538E #8E2553
tetradic
#538E25 #25888E #60258E #8E2B25
square
#538E25 #25888E #60258E #8E2B25
split-complementary
#538E25 #2B258E #8E2588
monochromatic
#1A2D0C #375D18 #538E25 #6FBF32 #8FD45A

Accessibility & contrast

On white

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

On black

5.26
#538E25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #538E25
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##538E25#FFFFFF#000000##000000
##538E251.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #538e25;
/* rgb */ color: rgb(83, 142, 37);
/* oklch */ color: oklch(58.5% 0.149 134.5);
Tailwind
colors: {
  custom: {
    50: '#89af67',
    500: '#538e25',
    950: '#000000',
  },
}
SCSS
$custom: #538e25;
$custom-light: #89af67;
$custom-dark: #000000;
JSON
{
  "hex": "#538e25",
  "rgb": {
    "r": 83,
    "g": 142,
    "b": 37
  },
  "hsl": {
    "h": 93.714,
    "s": 58.659,
    "l": 35.098
  },
  "oklch": {
    "l": 0.58486,
    "c": 0.14893,
    "h": 134.5
  },
  "luminance": 0.21319
}

Semantic roles & 50–950 ramp

primary
#538E25
secondary
#8D56B9
accent
#46E29E
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #538E25

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

Preview Lab → · Contrast checker → · Palette generator →

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