#538C2E#538C2E

#538C2E is a mid, vivid yellow-green. Relative luminance 0.208; OKLCH L 58.0% C 0.140 H 135.3°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#538C2E
RGBrgb(83, 140, 46)
HSLhsl(96, 51%, 36%)
HSVhsv(96, 67%, 55%)
CMYKcmyk(40.7%, 0%, 67.1%, 45.1%)
CIE-LABlab(52.72, -35.73, 42.85)
CIE-LCHlch(52.72, 55.79, 129.83°)
OKLaboklab(58.04% -0.0994 0.0984)
OKLCHoklch(58.04% 0.14 135.3)
XYZxyz(13.4382, 20.7917, 5.8894)
Luminance0.2079 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538C2E #672E8C
analogous
#828C2E #538C2E #2E8C38
triadic
#538C2E #2E538C #8C2E53
tetradic
#538C2E #2E828C #672E8C #8C382E
square
#538C2E #2E828C #672E8C #8C382E
split-complementary
#538C2E #382E8C #8C2E82
monochromatic
#1C3010 #385E1F #538C2E #6EBA3D #8FCD67

Accessibility & contrast

On white

4.07
#538C2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#538C2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #538C2E
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##538C2E#FFFFFF#000000##000000
##538C2E1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#918122
Deuteranopia (green-blind)
#897C36
Tritanopia (blue-blind)
#528779
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #538c2e;
/* rgb */ color: rgb(83, 140, 46);
/* oklch */ color: oklch(58.0% 0.140 135.3);
Tailwind
colors: {
  custom: {
    50: '#88ae6b',
    500: '#538c2e',
    950: '#000000',
  },
}
SCSS
$custom: #538c2e;
$custom-light: #88ae6b;
$custom-dark: #000000;
JSON
{
  "hex": "#538c2e",
  "rgb": {
    "r": 83,
    "g": 140,
    "b": 46
  },
  "hsl": {
    "h": 96.383,
    "s": 50.538,
    "l": 36.471
  },
  "oklch": {
    "l": 0.58038,
    "c": 0.13986,
    "h": 135.3
  },
  "luminance": 0.20792
}

Semantic roles & 50–950 ramp

primary
#538C2E
secondary
#9462B4
accent
#4EDAA3
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #538C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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