#538F2F#538F2F

#538F2F is a mid, vivid yellow-green. Relative luminance 0.217; OKLCH L 58.8% C 0.143 H 135.8°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#538F2F
RGBrgb(83, 143, 47)
HSLhsl(98, 51%, 37%)
HSVhsv(98, 67%, 56%)
CMYKcmyk(42%, 0%, 67.1%, 43.9%)
CIE-LABlab(53.69, -36.96, 43.46)
CIE-LCHlch(53.69, 57.05, 130.38°)
OKLaboklab(58.84% -0.1027 0.0998)
OKLCHoklch(58.84% 0.143 135.8)
XYZxyz(13.9025, 21.6884, 6.1425)
Luminance0.2169 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538F2F #6B2F8F
analogous
#838F2F #538F2F #2F8F3B
triadic
#538F2F #2F538F #8F2F53
tetradic
#538F2F #2F838F #6B2F8F #8F3B2F
square
#538F2F #2F838F #6B2F8F #8F3B2F
split-complementary
#538F2F #3B2F8F #8F2F83
monochromatic
#1E3311 #386120 #538F2F #6EBD3E #90CE6A

Accessibility & contrast

On white

3.93
#538F2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#538F2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #538F2F
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##538F2F#FFFFFF#000000##000000
##538F2F1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#948322
Deuteranopia (green-blind)
#8C7E37
Tritanopia (blue-blind)
#518A7B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #538f2f;
/* rgb */ color: rgb(83, 143, 47);
/* oklch */ color: oklch(58.8% 0.143 135.8);
Tailwind
colors: {
  custom: {
    50: '#88b06c',
    500: '#538f2f',
    950: '#000000',
  },
}
SCSS
$custom: #538f2f;
$custom-light: #88b06c;
$custom-dark: #000000;
JSON
{
  "hex": "#538f2f",
  "rgb": {
    "r": 83,
    "g": 143,
    "b": 47
  },
  "hsl": {
    "h": 97.5,
    "s": 50.526,
    "l": 37.255
  },
  "oklch": {
    "l": 0.58837,
    "c": 0.14319,
    "h": 135.8
  },
  "luminance": 0.21689
}

Semantic roles & 50–950 ramp

primary
#538F2F
secondary
#9765B5
accent
#4EDAA5
background
#F8FAF6
surface
#F0F5EC
border
#CBCFC7
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #538F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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