#538F2D#538F2D

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

Color values

HEX#538F2D
RGBrgb(83, 143, 45)
HSLhsl(97, 52%, 37%)
HSVhsv(97, 69%, 56%)
CMYKcmyk(42%, 0%, 68.5%, 43.9%)
CIE-LABlab(53.68, -37.14, 44.30)
CIE-LCHlch(53.68, 57.81, 129.97°)
OKLaboklab(58.82% -0.1033 0.1013)
OKLCHoklch(58.82% 0.145 135.5)
XYZxyz(13.8631, 21.6726, 5.9349)
Luminance0.2167 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538F2D #692D8F
analogous
#848F2D #538F2D #2D8F38
triadic
#538F2D #2D538F #8F2D53
tetradic
#538F2D #2D848F #692D8F #8F382D
square
#538F2D #2D848F #692D8F #8F382D
split-complementary
#538F2D #382D8F #8F2D84
monochromatic
#1D3210 #38601E #538F2D #6EBE3C #90CF67

Accessibility & contrast

On white

3.94
#538F2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#538F2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #538F2D
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##538F2D#FFFFFF#000000##000000
##538F2D1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#94831F
Deuteranopia (green-blind)
#8C7E35
Tritanopia (blue-blind)
#518A7B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #538f2d;
/* rgb */ color: rgb(83, 143, 45);
/* oklch */ color: oklch(58.8% 0.145 135.5);
Tailwind
colors: {
  custom: {
    50: '#88b06b',
    500: '#538f2d',
    950: '#000000',
  },
}
SCSS
$custom: #538f2d;
$custom-light: #88b06b;
$custom-dark: #000000;
JSON
{
  "hex": "#538f2d",
  "rgb": {
    "r": 83,
    "g": 143,
    "b": 45
  },
  "hsl": {
    "h": 96.735,
    "s": 52.128,
    "l": 36.863
  },
  "oklch": {
    "l": 0.58818,
    "c": 0.14471,
    "h": 135.5
  },
  "luminance": 0.21673
}

Semantic roles & 50–950 ramp

primary
#538F2D
secondary
#9562B6
accent
#4CDCA4
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #538F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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