#538F25#538F25

#538F25 is a mid, vivid yellow-green. Relative luminance 0.216; OKLCH L 58.8% C 0.150 H 134.7°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#538F25
RGBrgb(83, 143, 37)
HSLhsl(94, 59%, 35%)
HSVhsv(94, 74%, 56%)
CMYKcmyk(42%, 0%, 74.1%, 43.9%)
CIE-LABlab(53.62, -37.77, 47.47)
CIE-LCHlch(53.62, 60.66, 128.51°)
OKLaboklab(58.75% -0.1056 0.1069)
OKLCHoklch(58.75% 0.15 134.7)
XYZxyz(13.7234, 21.6168, 5.1993)
Luminance0.2162 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538F25 #61258F
analogous
#888F25 #538F25 #258F2C
triadic
#538F25 #25538F #8F2553
tetradic
#538F25 #25888F #61258F #8F2C25
square
#538F25 #25888F #61258F #8F2C25
split-complementary
#538F25 #2C258F #8F2588
monochromatic
#1B2E0C #375E18 #538F25 #6FC032 #8FD45A

Accessibility & contrast

On white

3.94
#538F25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#538F25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #538F25
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##538F25#FFFFFF#000000##000000
##538F251.003.945.325.32
#FFFFFF3.941.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#958312
Deuteranopia (green-blind)
#8C7E2F
Tritanopia (blue-blind)
#52897A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #538f25;
/* rgb */ color: rgb(83, 143, 37);
/* oklch */ color: oklch(58.8% 0.150 134.7);
Tailwind
colors: {
  custom: {
    50: '#89b067',
    500: '#538f25',
    950: '#000000',
  },
}
SCSS
$custom: #538f25;
$custom-light: #89b067;
$custom-dark: #000000;
JSON
{
  "hex": "#538f25",
  "rgb": {
    "r": 83,
    "g": 143,
    "b": 37
  },
  "hsl": {
    "h": 93.962,
    "s": 58.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.5875,
    "c": 0.15023,
    "h": 134.7
  },
  "luminance": 0.21617
}

Semantic roles & 50–950 ramp

primary
#538F25
secondary
#8E57B9
accent
#46E29E
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #538F25

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

Preview Lab → · Contrast checker → · Palette generator →

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