#538E2B#538E2B

#538E2B is a mid, vivid yellow-green. Relative luminance 0.214; OKLCH L 58.5% C 0.145 H 135.2°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#538E2B
RGBrgb(83, 142, 43)
HSLhsl(96, 54%, 36%)
HSVhsv(96, 70%, 56%)
CMYKcmyk(41.5%, 0%, 69.7%, 44.3%)
CIE-LABlab(53.34, -36.87, 44.79)
CIE-LCHlch(53.34, 58.02, 129.46°)
OKLaboklab(58.54% -0.1027 0.1021)
OKLCHoklch(58.54% 0.145 135.2)
XYZxyz(13.6760, 21.3587, 5.6871)
Luminance0.2136 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538E2B #662B8E
analogous
#858E2B #538E2B #2B8E35
triadic
#538E2B #2B538E #8E2B53
tetradic
#538E2B #2B858E #662B8E #8E352B
square
#538E2B #2B858E #662B8E #8E352B
split-complementary
#538E2B #352B8E #8E2B85
monochromatic
#1C300F #385F1D #538E2B #6EBD39 #8FD063

Accessibility & contrast

On white

3.98
#538E2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#538E2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #538E2B
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##538E2B#FFFFFF#000000##000000
##538E2B1.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#93821D
Deuteranopia (green-blind)
#8B7E34
Tritanopia (blue-blind)
#52897A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #538e2b;
/* rgb */ color: rgb(83, 142, 43);
/* oklch */ color: oklch(58.5% 0.145 135.2);
Tailwind
colors: {
  custom: {
    50: '#88af6a',
    500: '#538e2b',
    950: '#000000',
  },
}
SCSS
$custom: #538e2b;
$custom-light: #88af6a;
$custom-dark: #000000;
JSON
{
  "hex": "#538e2b",
  "rgb": {
    "r": 83,
    "g": 142,
    "b": 43
  },
  "hsl": {
    "h": 95.758,
    "s": 53.514,
    "l": 36.275
  },
  "oklch": {
    "l": 0.58536,
    "c": 0.14482,
    "h": 135.2
  },
  "luminance": 0.21359
}

Semantic roles & 50–950 ramp

primary
#538E2B
secondary
#935FB6
accent
#4BDDA2
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #538E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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