#398531#398531

#398531 is a mid, vivid green. Relative luminance 0.179; OKLCH L 55.0% C 0.141 H 141.8°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#398531
RGBrgb(57, 133, 49)
HSLhsl(114, 46%, 36%)
HSVhsv(114, 63%, 52%)
CMYKcmyk(57.1%, 0%, 63.2%, 47.8%)
CIE-LABlab(49.33, -40.72, 37.42)
CIE-LCHlch(49.33, 55.30, 137.42°)
OKLaboklab(54.96% -0.1111 0.0875)
OKLCHoklch(54.96% 0.141 141.8)
XYZxyz(10.6287, 17.8658, 5.7935)
Luminance0.1787 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398531 #7D3185
analogous
#638531 #398531 #318553
triadic
#398531 #313985 #853139
tetradic
#398531 #316385 #7D3185 #855331
square
#398531 #316385 #7D3185 #855331
split-complementary
#398531 #533185 #853163
monochromatic
#132C10 #265821 #398531 #4CB241 #72C869

Accessibility & contrast

On white

4.59
#398531 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#398531 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #398531
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398531#FFFFFF#000000##FFFFFF
##3985311.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887928
Deuteranopia (green-blind)
#7E7338
Tritanopia (blue-blind)
#2F8173
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #398531;
/* rgb */ color: rgb(57, 133, 49);
/* oklch */ color: oklch(55.0% 0.141 141.8);
Tailwind
colors: {
  custom: {
    50: '#77a96c',
    500: '#398531',
    950: '#000000',
  },
}
SCSS
$custom: #398531;
$custom-light: #77a96c;
$custom-dark: #000000;
JSON
{
  "hex": "#398531",
  "rgb": {
    "r": 57,
    "g": 133,
    "b": 49
  },
  "hsl": {
    "h": 114.286,
    "s": 46.154,
    "l": 35.686
  },
  "oklch": {
    "l": 0.54959,
    "c": 0.1414,
    "h": 141.8
  },
  "luminance": 0.17867
}

Semantic roles & 50–950 ramp

primary
#398531
secondary
#A863AF
accent
#52D6C9
background
#F7FAF6
surface
#EEF4EC
border
#C9CEC7
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #398531

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

Preview Lab → · Contrast checker → · Palette generator →

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