#538137#538137

#538137 is a mid, moderate yellow-green. Relative luminance 0.178; OKLCH L 55.3% C 0.116 H 135.1°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#538137
RGBrgb(83, 129, 55)
HSLhsl(97, 40%, 36%)
HSVhsv(97, 57%, 51%)
CMYKcmyk(35.7%, 0%, 57.4%, 49.4%)
CIE-LABlab(49.27, -29.76, 34.72)
CIE-LCHlch(49.27, 45.73, 130.61°)
OKLaboklab(55.25% -0.0824 0.082)
OKLCHoklch(55.25% 0.116 135.1)
XYZxyz(12.1068, 17.8148, 6.4144)
Luminance0.1782 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538137 #653781
analogous
#788137 #538137 #378140
triadic
#538137 #375381 #813753
tetradic
#538137 #377881 #653781 #814037
square
#538137 #377881 #653781 #814037
split-complementary
#538137 #403781 #813778
monochromatic
#1C2B12 #375625 #538137 #6FAC49 #8FC270

Accessibility & contrast

On white

4.60
#538137 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#538137 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #538137
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##538137#FFFFFF#000000##FFFFFF
##5381371.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857830
Deuteranopia (green-blind)
#7F743C
Tritanopia (blue-blind)
#527C71
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #538137;
/* rgb */ color: rgb(83, 129, 55);
/* oklch */ color: oklch(55.3% 0.116 135.1);
Tailwind
colors: {
  custom: {
    50: '#86a670',
    500: '#538137',
    950: '#000000',
  },
}
SCSS
$custom: #538137;
$custom-light: #86a670;
$custom-dark: #000000;
JSON
{
  "hex": "#538137",
  "rgb": {
    "r": 83,
    "g": 129,
    "b": 55
  },
  "hsl": {
    "h": 97.297,
    "s": 40.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.55253,
    "c": 0.11624,
    "h": 135.1
  },
  "luminance": 0.17815
}

Semantic roles & 50–950 ramp

primary
#538137
secondary
#9269AB
accent
#58D0A3
background
#F8FAF6
surface
#F0F4EC
border
#CBCEC7
text
#0B0F08
muted
#7C7F7B

Preview Lab

Preview with #538137

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

Preview Lab → · Contrast checker → · Palette generator →

#538137 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva