#538F28#538F28

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

Color values

HEX#538F28
RGBrgb(83, 143, 40)
HSLhsl(95, 56%, 36%)
HSVhsv(95, 72%, 56%)
CMYKcmyk(42%, 0%, 72%, 43.9%)
CIE-LABlab(53.64, -37.55, 46.33)
CIE-LCHlch(53.64, 59.63, 129.03°)
OKLaboklab(58.77% -0.1048 0.1049)
OKLCHoklch(58.77% 0.148 135)
XYZxyz(13.7724, 21.6364, 5.4576)
Luminance0.2164 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538F28 #64288F
analogous
#868F28 #538F28 #288F30
triadic
#538F28 #28538F #8F2853
tetradic
#538F28 #28868F #64288F #8F3028
square
#538F28 #28868F #64288F #8F3028
split-complementary
#538F28 #30288F #8F2886
monochromatic
#1B2F0D #375F1B #538F28 #6FBF35 #8FD25F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##538F28#FFFFFF#000000##000000
##538F281.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)
#948317
Deuteranopia (green-blind)
#8C7E32
Tritanopia (blue-blind)
#52897B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #538f28;
/* rgb */ color: rgb(83, 143, 40);
/* oklch */ color: oklch(58.8% 0.148 135.0);
Tailwind
colors: {
  custom: {
    50: '#88b068',
    500: '#538f28',
    950: '#000000',
  },
}
SCSS
$custom: #538f28;
$custom-light: #88b068;
$custom-dark: #000000;
JSON
{
  "hex": "#538f28",
  "rgb": {
    "r": 83,
    "g": 143,
    "b": 40
  },
  "hsl": {
    "h": 94.951,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.58774,
    "c": 0.14827,
    "h": 135
  },
  "luminance": 0.21637
}

Semantic roles & 50–950 ramp

primary
#538F28
secondary
#915BB8
accent
#48E0A0
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #538F28

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

Preview Lab → · Contrast checker → · Palette generator →

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