#538B2E#538B2E

#538B2E is a mid, vivid yellow-green. Relative luminance 0.205; OKLCH L 57.8% C 0.138 H 135.1°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#538B2E
RGBrgb(83, 139, 46)
HSLhsl(96, 50%, 36%)
HSVhsv(96, 67%, 55%)
CMYKcmyk(40.3%, 0%, 66.9%, 45.5%)
CIE-LABlab(52.40, -35.29, 42.50)
CIE-LCHlch(52.40, 55.24, 129.70°)
OKLaboklab(57.78% -0.0982 0.0977)
OKLCHoklch(57.78% 0.138 135.1)
XYZxyz(13.2927, 20.5008, 5.8409)
Luminance0.2050 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538B2E #662E8B
analogous
#828B2E #538B2E #2E8B38
triadic
#538B2E #2E538B #8B2E53
tetradic
#538B2E #2E828B #662E8B #8B382E
square
#538B2E #2E828B #662E8B #8B382E
split-complementary
#538B2E #382E8B #8B2E82
monochromatic
#1C2F10 #385D1F #538B2E #6EB93D #8FCD67

Accessibility & contrast

On white

4.12
#538B2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#538B2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #538B2E
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##538B2E#FFFFFF#000000##000000
##538B2E1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#908022
Deuteranopia (green-blind)
#887B36
Tritanopia (blue-blind)
#528678
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #538b2e;
/* rgb */ color: rgb(83, 139, 46);
/* oklch */ color: oklch(57.8% 0.138 135.1);
Tailwind
colors: {
  custom: {
    50: '#88ad6b',
    500: '#538b2e',
    950: '#000000',
  },
}
SCSS
$custom: #538b2e;
$custom-light: #88ad6b;
$custom-dark: #000000;
JSON
{
  "hex": "#538b2e",
  "rgb": {
    "r": 83,
    "g": 139,
    "b": 46
  },
  "hsl": {
    "h": 96.129,
    "s": 50.27,
    "l": 36.275
  },
  "oklch": {
    "l": 0.57775,
    "c": 0.13849,
    "h": 135.1
  },
  "luminance": 0.20501
}

Semantic roles & 50–950 ramp

primary
#538B2E
secondary
#9361B3
accent
#4EDAA2
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #538B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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