#398338#398338

#398338 is a mid, vivid green. Relative luminance 0.174; OKLCH L 54.5% C 0.132 H 143.3°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#398338
RGBrgb(57, 131, 56)
HSLhsl(119, 40%, 37%)
HSVhsv(119, 57%, 51%)
CMYKcmyk(56.5%, 0%, 57.3%, 48.6%)
CIE-LABlab(48.74, -39.03, 33.29)
CIE-LCHlch(48.74, 51.30, 139.53°)
OKLaboklab(54.5% -0.1061 0.0792)
OKLCHoklch(54.5% 0.132 143.3)
XYZxyz(10.5169, 17.3871, 6.5425)
Luminance0.1739 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398338 #823883
analogous
#5F8338 #398338 #38835D
triadic
#398338 #383983 #833839
tetradic
#398338 #385F83 #823883 #835D38
square
#398338 #385F83 #823883 #835D38
split-complementary
#398338 #5D3883 #83385F
monochromatic
#142D13 #265826 #398338 #4CAE4A #74C372

Accessibility & contrast

On white

4.69
#398338 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#398338 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #398338
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398338#FFFFFF#000000##FFFFFF
##3983381.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867831
Deuteranopia (green-blind)
#7C713E
Tritanopia (blue-blind)
#2E7F72
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #398338;
/* rgb */ color: rgb(57, 131, 56);
/* oklch */ color: oklch(54.5% 0.132 143.3);
Tailwind
colors: {
  custom: {
    50: '#77a871',
    500: '#398338',
    950: '#000000',
  },
}
SCSS
$custom: #398338;
$custom-light: #77a871;
$custom-dark: #000000;
JSON
{
  "hex": "#398338",
  "rgb": {
    "r": 57,
    "g": 131,
    "b": 56
  },
  "hsl": {
    "h": 119.2,
    "s": 40.107,
    "l": 36.667
  },
  "oklch": {
    "l": 0.545,
    "c": 0.13243,
    "h": 143.3
  },
  "luminance": 0.17388
}

Semantic roles & 50–950 ramp

primary
#398338
secondary
#AB6BAC
accent
#58D0CE
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#091008
muted
#7B7F7B

Preview Lab

Preview with #398338

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

Preview Lab → · Contrast checker → · Palette generator →

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