#398738#398738

#398738 is a mid, vivid green. Relative luminance 0.185; OKLCH L 55.6% C 0.138 H 143.2°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#398738
RGBrgb(57, 135, 56)
HSLhsl(119, 41%, 37%)
HSVhsv(119, 59%, 53%)
CMYKcmyk(57.8%, 0%, 58.5%, 47.1%)
CIE-LABlab(50.08, -40.67, 34.87)
CIE-LCHlch(50.08, 53.57, 139.40°)
OKLaboklab(55.6% -0.1106 0.0826)
OKLCHoklch(55.6% 0.138 143.2)
XYZxyz(11.0645, 18.4824, 6.7250)
Luminance0.1848 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398738 #863887
analogous
#608738 #398738 #38875F
triadic
#398738 #383987 #873839
tetradic
#398738 #386087 #863887 #875F38
square
#398738 #386087 #863887 #875F38
split-complementary
#398738 #5F3887 #873860
monochromatic
#143014 #275C26 #398738 #4BB24A #75C574

Accessibility & contrast

On white

4.47
#398738 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#398738 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398738
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398738#FFFFFF#000000##000000
##3987381.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7B30
Deuteranopia (green-blind)
#80753E
Tritanopia (blue-blind)
#2C8376
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #398738;
/* rgb */ color: rgb(57, 135, 56);
/* oklch */ color: oklch(55.6% 0.138 143.2);
Tailwind
colors: {
  custom: {
    50: '#77ab71',
    500: '#398738',
    950: '#000000',
  },
}
SCSS
$custom: #398738;
$custom-light: #77ab71;
$custom-dark: #000000;
JSON
{
  "hex": "#398738",
  "rgb": {
    "r": 57,
    "g": 135,
    "b": 56
  },
  "hsl": {
    "h": 119.241,
    "s": 41.361,
    "l": 37.451
  },
  "oklch": {
    "l": 0.55596,
    "c": 0.13805,
    "h": 143.2
  },
  "luminance": 0.18483
}

Semantic roles & 50–950 ramp

primary
#398738
secondary
#AD6DAE
accent
#57D1D0
background
#F7FAF6
surface
#EEF4EC
border
#C9CEC7
text
#091008
muted
#7B7F7B

Preview Lab

Preview with #398738

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

Preview Lab → · Contrast checker → · Palette generator →

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