#538F1F#538F1F

#538F1F is a mid, vivid yellow-green. Relative luminance 0.216; OKLCH L 58.7% C 0.154 H 134.1°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#538F1F
RGBrgb(83, 143, 31)
HSLhsl(92, 64%, 34%)
HSVhsv(92, 78%, 56%)
CMYKcmyk(42%, 0%, 78.3%, 43.9%)
CIE-LABlab(53.58, -38.16, 49.59)
CIE-LCHlch(53.58, 62.58, 127.58°)
OKLaboklab(58.71% -0.1071 0.1104)
OKLCHoklch(58.71% 0.154 134.1)
XYZxyz(13.6368, 21.5821, 4.7433)
Luminance0.2158 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538F1F #5B1F8F
analogous
#8B8F1F #538F1F #1F8F23
triadic
#538F1F #1F538F #8F1F53
tetradic
#538F1F #1F8B8F #5B1F8F #8F231F
square
#538F1F #1F8B8F #5B1F8F #8F231F
split-complementary
#538F1F #231F8F #8F1F8B
monochromatic
#192A09 #365D14 #538F1F #70C12A #8FD94F

Accessibility & contrast

On white

3.95
#538F1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#538F1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #538F1F
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##538F1F#FFFFFF#000000##000000
##538F1F1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#958303
Deuteranopia (green-blind)
#8D7E2B
Tritanopia (blue-blind)
#52897A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #538f1f;
/* rgb */ color: rgb(83, 143, 31);
/* oklch */ color: oklch(58.7% 0.154 134.1);
Tailwind
colors: {
  custom: {
    50: '#89b064',
    500: '#538f1f',
    950: '#000000',
  },
}
SCSS
$custom: #538f1f;
$custom-light: #89b064;
$custom-dark: #000000;
JSON
{
  "hex": "#538f1f",
  "rgb": {
    "r": 83,
    "g": 143,
    "b": 31
  },
  "hsl": {
    "h": 92.143,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.58707,
    "c": 0.15379,
    "h": 134.1
  },
  "luminance": 0.21583
}

Semantic roles & 50–950 ramp

primary
#538F1F
secondary
#894EBC
accent
#40E79A
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #538F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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