#538A1F#538A1F

#538A1F is a mid, vivid yellow-green. Relative luminance 0.201; OKLCH L 57.4% C 0.147 H 133.4°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#538A1F
RGBrgb(83, 138, 31)
HSLhsl(91, 63%, 33%)
HSVhsv(91, 78%, 54%)
CMYKcmyk(39.9%, 0%, 77.5%, 45.9%)
CIE-LABlab(51.97, -35.99, 48.04)
CIE-LCHlch(51.97, 60.02, 126.83°)
OKLaboklab(57.39% -0.1012 0.1071)
OKLCHoklch(57.39% 0.147 133.4)
XYZxyz(12.9029, 20.1143, 4.4986)
Luminance0.2011 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538A1F #561F8A
analogous
#888A1F #538A1F #1F8A20
triadic
#538A1F #1F538A #8A1F53
tetradic
#538A1F #1F888A #561F8A #8A201F
square
#538A1F #1F888A #561F8A #8A201F
split-complementary
#538A1F #201F8A #8A1F88
monochromatic
#172609 #355814 #538A1F #71BC2A #90D74C

Accessibility & contrast

On white

4.18
#538A1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#538A1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #538A1F
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##538A1F#FFFFFF#000000##000000
##538A1F1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F06
Deuteranopia (green-blind)
#887A2A
Tritanopia (blue-blind)
#538476
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #538a1f;
/* rgb */ color: rgb(83, 138, 31);
/* oklch */ color: oklch(57.4% 0.147 133.4);
Tailwind
colors: {
  custom: {
    50: '#88ac63',
    500: '#538a1f',
    950: '#000000',
  },
}
SCSS
$custom: #538a1f;
$custom-light: #88ac63;
$custom-dark: #000000;
JSON
{
  "hex": "#538a1f",
  "rgb": {
    "r": 83,
    "g": 138,
    "b": 31
  },
  "hsl": {
    "h": 90.841,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.57386,
    "c": 0.14738,
    "h": 133.4
  },
  "luminance": 0.20115
}

Semantic roles & 50–950 ramp

primary
#538A1F
secondary
#844BBA
accent
#41E696
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #538A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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