#398815#398815

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

Color values

HEX#398815
RGBrgb(57, 136, 21)
HSLhsl(101, 73%, 31%)
HSVhsv(101, 85%, 53%)
CMYKcmyk(58.1%, 0%, 84.6%, 46.7%)
CIE-LABlab(50.13, -44.19, 49.09)
CIE-LCHlch(50.13, 66.05, 131.99°)
OKLaboklab(55.56% -0.1221 0.1082)
OKLCHoklch(55.56% 0.163 138.5)
XYZxyz(10.6265, 18.5314, 3.7263)
Luminance0.1853 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398815 #641588
analogous
#728815 #398815 #15882A
triadic
#398815 #153988 #881539
tetradic
#398815 #157288 #641588 #882A15
square
#398815 #157288 #641588 #882A15
split-complementary
#398815 #2A1588 #881572
monochromatic
#0D1E05 #23530D #398815 #4FBD1D #6CE037

Accessibility & contrast

On white

4.46
#398815 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#398815 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398815
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398815#FFFFFF#000000##000000
##3988151.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#837524
Tritanopia (blue-blind)
#318373
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #398815;
/* rgb */ color: rgb(57, 136, 21);
/* oklch */ color: oklch(55.6% 0.163 138.5);
Tailwind
colors: {
  custom: {
    50: '#79ab5e',
    500: '#398815',
    950: '#000000',
  },
}
SCSS
$custom: #398815;
$custom-light: #79ab5e;
$custom-dark: #000000;
JSON
{
  "hex": "#398815",
  "rgb": {
    "r": 57,
    "g": 136,
    "b": 21
  },
  "hsl": {
    "h": 101.217,
    "s": 73.248,
    "l": 30.784
  },
  "oklch": {
    "l": 0.55555,
    "c": 0.16319,
    "h": 138.5
  },
  "luminance": 0.18532
}

Semantic roles & 50–950 ramp

primary
#398815
secondary
#943DBC
accent
#38F0B6
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #398815

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

Preview Lab → · Contrast checker → · Palette generator →

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