#538B25#538B25

#538B25 is a mid, vivid yellow-green. Relative luminance 0.204; OKLCH L 57.7% C 0.145 H 134.1°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#538B25
RGBrgb(83, 139, 37)
HSLhsl(93, 58%, 35%)
HSVhsv(93, 73%, 55%)
CMYKcmyk(40.3%, 0%, 73.4%, 45.5%)
CIE-LABlab(52.33, -36.02, 46.17)
CIE-LCHlch(52.33, 58.56, 127.96°)
OKLaboklab(57.69% -0.1009 0.1041)
OKLCHoklch(57.69% 0.145 134.1)
XYZxyz(13.1336, 20.4372, 5.0027)
Luminance0.2044 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538B25 #5D258B
analogous
#868B25 #538B25 #258B2A
triadic
#538B25 #25538B #8B2553
tetradic
#538B25 #25868B #5D258B #8B2A25
square
#538B25 #25868B #5D258B #8B2A25
split-complementary
#538B25 #2A258B #8B2586
monochromatic
#192A0B #365B18 #538B25 #70BB32 #8FD358

Accessibility & contrast

On white

4.13
#538B25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#538B25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #538B25
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##538B25#FFFFFF#000000##000000
##538B251.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#918013
Deuteranopia (green-blind)
#897B2F
Tritanopia (blue-blind)
#538577
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #538b25;
/* rgb */ color: rgb(83, 139, 37);
/* oklch */ color: oklch(57.7% 0.145 134.1);
Tailwind
colors: {
  custom: {
    50: '#88ad66',
    500: '#538b25',
    950: '#000000',
  },
}
SCSS
$custom: #538b25;
$custom-light: #88ad66;
$custom-dark: #000000;
JSON
{
  "hex": "#538b25",
  "rgb": {
    "r": 83,
    "g": 139,
    "b": 37
  },
  "hsl": {
    "h": 92.941,
    "s": 57.955,
    "l": 34.51
  },
  "oklch": {
    "l": 0.57694,
    "c": 0.14498,
    "h": 134.1
  },
  "luminance": 0.20438
}

Semantic roles & 50–950 ramp

primary
#538B25
secondary
#8B55B7
accent
#47E19B
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #538B25

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

Preview Lab → · Contrast checker → · Palette generator →

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