#538028#538028

#538028 is a mid, vivid yellow-green. Relative luminance 0.174; OKLCH L 54.8% C 0.128 H 132.5°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#538028
RGBrgb(83, 128, 40)
HSLhsl(91, 52%, 33%)
HSVhsv(91, 69%, 50%)
CMYKcmyk(35.2%, 0%, 68.8%, 49.8%)
CIE-LABlab(48.80, -30.79, 41.28)
CIE-LCHlch(48.80, 51.50, 126.72°)
OKLaboklab(54.82% -0.0864 0.0943)
OKLCHoklch(54.82% 0.128 132.5)
XYZxyz(11.6693, 17.4301, 4.7566)
Luminance0.1743 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538028 #552880
analogous
#7F8028 #538028 #288029
triadic
#538028 #285380 #802853
tetradic
#538028 #287F80 #552880 #802928
square
#538028 #287F80 #552880 #802928
split-complementary
#538028 #292880 #80287F
monochromatic
#17230B #355119 #538028 #71AF37 #90CB58

Accessibility & contrast

On white

4.68
#538028 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#538028 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #538028
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##538028#FFFFFF#000000##FFFFFF
##5380281.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85761C
Deuteranopia (green-blind)
#7F732F
Tritanopia (blue-blind)
#547B6E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #538028;
/* rgb */ color: rgb(83, 128, 40);
/* oklch */ color: oklch(54.8% 0.128 132.5);
Tailwind
colors: {
  custom: {
    50: '#87a567',
    500: '#538028',
    950: '#000000',
  },
}
SCSS
$custom: #538028;
$custom-light: #87a567;
$custom-dark: #000000;
JSON
{
  "hex": "#538028",
  "rgb": {
    "r": 83,
    "g": 128,
    "b": 40
  },
  "hsl": {
    "h": 90.682,
    "s": 52.381,
    "l": 32.941
  },
  "oklch": {
    "l": 0.54819,
    "c": 0.1279,
    "h": 132.5
  },
  "luminance": 0.17431
}

Semantic roles & 50–950 ramp

primary
#538028
secondary
#8354B0
accent
#4CDC96
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #538028

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

Preview Lab → · Contrast checker → · Palette generator →

#538028 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva