#538338#538338

#538338 is a mid, moderate yellow-green. Relative luminance 0.184; OKLCH L 55.8% C 0.118 H 135.6°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#538338
RGBrgb(83, 131, 56)
HSLhsl(98, 40%, 37%)
HSVhsv(98, 57%, 51%)
CMYKcmyk(36.6%, 0%, 57.3%, 48.6%)
CIE-LABlab(49.93, -30.59, 34.98)
CIE-LCHlch(49.93, 46.47, 131.17°)
OKLaboklab(55.79% -0.0846 0.0827)
OKLCHoklch(55.79% 0.118 135.6)
XYZxyz(12.3971, 18.3566, 6.6306)
Luminance0.1836 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538338 #683883
analogous
#798338 #538338 #388343
triadic
#538338 #385383 #833853
tetradic
#538338 #387983 #683883 #834338
square
#538338 #387983 #683883 #834338
split-complementary
#538338 #433883 #833879
monochromatic
#1D2D13 #385826 #538338 #6EAE4A #8FC372

Accessibility & contrast

On white

4.50
#538338 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#538338 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #538338
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##538338#FFFFFF#000000##000000
##5383381.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#877931
Deuteranopia (green-blind)
#81753D
Tritanopia (blue-blind)
#527E72
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #538338;
/* rgb */ color: rgb(83, 131, 56);
/* oklch */ color: oklch(55.8% 0.118 135.6);
Tailwind
colors: {
  custom: {
    50: '#86a771',
    500: '#538338',
    950: '#000000',
  },
}
SCSS
$custom: #538338;
$custom-light: #86a771;
$custom-dark: #000000;
JSON
{
  "hex": "#538338",
  "rgb": {
    "r": 83,
    "g": 131,
    "b": 56
  },
  "hsl": {
    "h": 98.4,
    "s": 40.107,
    "l": 36.667
  },
  "oklch": {
    "l": 0.5579,
    "c": 0.11827,
    "h": 135.6
  },
  "luminance": 0.18357
}

Semantic roles & 50–950 ramp

primary
#538338
secondary
#946BAC
accent
#58D0A5
background
#F8FAF6
surface
#F0F4EC
border
#CBCEC7
text
#0B0F08
muted
#7C7F7B

Preview Lab

Preview with #538338

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

Preview Lab → · Contrast checker → · Palette generator →

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