#538131#538131

#538131 is a mid, vivid yellow-green. Relative luminance 0.178; OKLCH L 55.2% C 0.122 H 134.0°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#538131
RGBrgb(83, 129, 49)
HSLhsl(95, 45%, 35%)
HSVhsv(95, 62%, 51%)
CMYKcmyk(35.7%, 0%, 62%, 49.4%)
CIE-LABlab(49.20, -30.42, 37.59)
CIE-LCHlch(49.20, 48.36, 128.98°)
OKLaboklab(55.18% -0.0846 0.0876)
OKLCHoklch(55.18% 0.122 134)
XYZxyz(11.9717, 17.7608, 5.7025)
Luminance0.1776 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#538131 #5F3181
analogous
#7B8131 #538131 #318137
triadic
#538131 #315381 #813153
tetradic
#538131 #317B81 #5F3181 #813731
square
#538131 #317B81 #5F3181 #813731
split-complementary
#538131 #373181 #81317B
monochromatic
#1A280F #365520 #538131 #70AD42 #8FC567

Accessibility & contrast

On white

4.61
#538131 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#538131 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #538131
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##538131#FFFFFF#000000##FFFFFF
##5381311.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867728
Deuteranopia (green-blind)
#7F7437
Tritanopia (blue-blind)
#537C70
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #538131;
/* rgb */ color: rgb(83, 129, 49);
/* oklch */ color: oklch(55.2% 0.122 134.0);
Tailwind
colors: {
  custom: {
    50: '#87a66c',
    500: '#538131',
    950: '#000000',
  },
}
SCSS
$custom: #538131;
$custom-light: #87a66c;
$custom-dark: #000000;
JSON
{
  "hex": "#538131",
  "rgb": {
    "r": 83,
    "g": 129,
    "b": 49
  },
  "hsl": {
    "h": 94.5,
    "s": 44.944,
    "l": 34.902
  },
  "oklch": {
    "l": 0.55178,
    "c": 0.12182,
    "h": 134
  },
  "luminance": 0.17761
}

Semantic roles & 50–950 ramp

primary
#538131
secondary
#8D61AD
accent
#53D59E
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B0F07
muted
#7C7F7A

Preview Lab

Preview with #538131

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

Preview Lab → · Contrast checker → · Palette generator →

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