#538127#538127

#538127 is a mid, vivid yellow-green. Relative luminance 0.177; OKLCH L 55.1% C 0.130 H 132.6°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#538127
RGBrgb(83, 129, 39)
HSLhsl(91, 54%, 33%)
HSVhsv(91, 70%, 51%)
CMYKcmyk(35.7%, 0%, 69.8%, 49.4%)
CIE-LABlab(49.11, -31.34, 42.05)
CIE-LCHlch(49.11, 52.44, 126.70°)
OKLaboklab(55.07% -0.088 0.0958)
OKLCHoklch(55.07% 0.13 132.6)
XYZxyz(11.7836, 17.6855, 4.7118)
Luminance0.1769 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538127 #552781
analogous
#808127 #538127 #278128
triadic
#538127 #275381 #812753
tetradic
#538127 #278081 #552781 #812827
square
#538127 #278081 #552781 #812827
split-complementary
#538127 #282781 #812780
monochromatic
#17230B #355219 #538127 #71B035 #90CC56

Accessibility & contrast

On white

4.63
#538127 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#538127 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #538127
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##538127#FFFFFF#000000##FFFFFF
##5381271.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#86771A
Deuteranopia (green-blind)
#80732F
Tritanopia (blue-blind)
#547C6F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #538127;
/* rgb */ color: rgb(83, 129, 39);
/* oklch */ color: oklch(55.1% 0.130 132.6);
Tailwind
colors: {
  custom: {
    50: '#87a666',
    500: '#538127',
    950: '#000000',
  },
}
SCSS
$custom: #538127;
$custom-light: #87a666;
$custom-dark: #000000;
JSON
{
  "hex": "#538127",
  "rgb": {
    "r": 83,
    "g": 129,
    "b": 39
  },
  "hsl": {
    "h": 90.667,
    "s": 53.571,
    "l": 32.941
  },
  "oklch": {
    "l": 0.55073,
    "c": 0.13005,
    "h": 132.6
  },
  "luminance": 0.17686
}

Semantic roles & 50–950 ramp

primary
#538127
secondary
#8353B1
accent
#4BDD96
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #538127

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

Preview Lab → · Contrast checker → · Palette generator →

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