#538D27#538D27

#538D27 is a mid, vivid yellow-green. Relative luminance 0.210; OKLCH L 58.2% C 0.146 H 134.6°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#538D27
RGBrgb(83, 141, 39)
HSLhsl(94, 57%, 35%)
HSVhsv(94, 72%, 55%)
CMYKcmyk(41.1%, 0%, 72.3%, 44.7%)
CIE-LABlab(52.99, -36.75, 46.06)
CIE-LCHlch(52.99, 58.92, 128.59°)
OKLaboklab(58.24% -0.1027 0.1042)
OKLCHoklch(58.24% 0.146 134.6)
XYZxyz(13.4581, 21.0345, 5.2700)
Luminance0.2104 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538D27 #61278D
analogous
#868D27 #538D27 #278D2E
triadic
#538D27 #27538D #8D2753
tetradic
#538D27 #27868D #61278D #8D2E27
square
#538D27 #27868D #61278D #8D2E27
split-complementary
#538D27 #2E278D #8D2786
monochromatic
#1B2D0C #375D1A #538D27 #6FBD34 #8FD25C

Accessibility & contrast

On white

4.03
#538D27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#538D27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #538D27
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##538D27#FFFFFF#000000##000000
##538D271.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#928116
Deuteranopia (green-blind)
#8B7D30
Tritanopia (blue-blind)
#528779
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #538d27;
/* rgb */ color: rgb(83, 141, 39);
/* oklch */ color: oklch(58.2% 0.146 134.6);
Tailwind
colors: {
  custom: {
    50: '#88af68',
    500: '#538d27',
    950: '#000000',
  },
}
SCSS
$custom: #538d27;
$custom-light: #88af68;
$custom-dark: #000000;
JSON
{
  "hex": "#538d27",
  "rgb": {
    "r": 83,
    "g": 141,
    "b": 39
  },
  "hsl": {
    "h": 94.118,
    "s": 56.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.58238,
    "c": 0.14629,
    "h": 134.6
  },
  "luminance": 0.21035
}

Semantic roles & 50–950 ramp

primary
#538D27
secondary
#8E59B7
accent
#48E09E
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #538D27

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

Preview Lab → · Contrast checker → · Palette generator →

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