#538B1F#538B1F

#538B1F is a mid, vivid yellow-green. Relative luminance 0.204; OKLCH L 57.6% C 0.149 H 133.5°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#538B1F
RGBrgb(83, 139, 31)
HSLhsl(91, 64%, 33%)
HSVhsv(91, 78%, 55%)
CMYKcmyk(40.3%, 0%, 77.7%, 45.5%)
CIE-LABlab(52.29, -36.42, 48.35)
CIE-LCHlch(52.29, 60.54, 126.99°)
OKLaboklab(57.65% -0.1024 0.1078)
OKLCHoklch(57.65% 0.149 133.5)
XYZxyz(13.0470, 20.4025, 4.5467)
Luminance0.2040 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538B1F #571F8B
analogous
#898B1F #538B1F #1F8B21
triadic
#538B1F #1F538B #8B1F53
tetradic
#538B1F #1F898B #571F8B #8B211F
square
#538B1F #1F898B #571F8B #8B211F
split-complementary
#538B1F #211F8B #8B1F89
monochromatic
#172709 #355914 #538B1F #71BD2A #90D74D

Accessibility & contrast

On white

4.13
#538B1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#538B1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #538B1F
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##538B1F#FFFFFF#000000##000000
##538B1F1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#918005
Deuteranopia (green-blind)
#897B2A
Tritanopia (blue-blind)
#538577
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #538b1f;
/* rgb */ color: rgb(83, 139, 31);
/* oklch */ color: oklch(57.6% 0.149 133.5);
Tailwind
colors: {
  custom: {
    50: '#88ad63',
    500: '#538b1f',
    950: '#000000',
  },
}
SCSS
$custom: #538b1f;
$custom-light: #88ad63;
$custom-dark: #000000;
JSON
{
  "hex": "#538b1f",
  "rgb": {
    "r": 83,
    "g": 139,
    "b": 31
  },
  "hsl": {
    "h": 91.111,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.5765,
    "c": 0.14867,
    "h": 133.5
  },
  "luminance": 0.20403
}

Semantic roles & 50–950 ramp

primary
#538B1F
secondary
#854CBA
accent
#41E797
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #538B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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