#538F27#538F27

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

Color values

HEX#538F27
RGBrgb(83, 143, 39)
HSLhsl(95, 57%, 36%)
HSVhsv(95, 73%, 56%)
CMYKcmyk(42%, 0%, 72.7%, 43.9%)
CIE-LABlab(53.63, -37.62, 46.71)
CIE-LCHlch(53.63, 59.98, 128.85°)
OKLaboklab(58.77% -0.1051 0.1056)
OKLCHoklch(58.77% 0.149 134.9)
XYZxyz(13.7557, 21.6297, 5.3692)
Luminance0.2163 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538F27 #63278F
analogous
#878F27 #538F27 #278F2F
triadic
#538F27 #27538F #8F2753
tetradic
#538F27 #27878F #63278F #8F2F27
square
#538F27 #27878F #63278F #8F2F27
split-complementary
#538F27 #2F278F #8F2787
monochromatic
#1B2F0D #375F1A #538F27 #6FBF34 #8FD35D

Accessibility & contrast

On white

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

On black

5.33
#538F27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #538F27
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##538F27#FFFFFF#000000##000000
##538F271.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#948316
Deuteranopia (green-blind)
#8C7E31
Tritanopia (blue-blind)
#52897B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #538f27;
/* rgb */ color: rgb(83, 143, 39);
/* oklch */ color: oklch(58.8% 0.149 134.9);
Tailwind
colors: {
  custom: {
    50: '#89b068',
    500: '#538f27',
    950: '#000000',
  },
}
SCSS
$custom: #538f27;
$custom-light: #89b068;
$custom-dark: #000000;
JSON
{
  "hex": "#538f27",
  "rgb": {
    "r": 83,
    "g": 143,
    "b": 39
  },
  "hsl": {
    "h": 94.615,
    "s": 57.143,
    "l": 35.686
  },
  "oklch": {
    "l": 0.58766,
    "c": 0.14894,
    "h": 134.9
  },
  "luminance": 0.2163
}

Semantic roles & 50–950 ramp

primary
#538F27
secondary
#905AB8
accent
#47E0A0
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #538F27

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

Preview Lab → · Contrast checker → · Palette generator →

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