#398E11#398E11

#398E11 is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.2% C 0.172 H 138.6°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#398E11
RGBrgb(57, 142, 17)
HSLhsl(101, 79%, 31%)
HSVhsv(101, 88%, 56%)
CMYKcmyk(59.9%, 0%, 88%, 44.3%)
CIE-LABlab(52.12, -46.62, 51.89)
CIE-LCHlch(52.12, 69.76, 131.94°)
OKLaboklab(57.19% -0.1288 0.1136)
OKLCHoklch(57.19% 0.172 138.6)
XYZxyz(11.4611, 20.2553, 3.8359)
Luminance0.2026 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398E11 #66118E
analogous
#778E11 #398E11 #118E27
triadic
#398E11 #11398E #8E1139
tetradic
#398E11 #11778E #66118E #8E2711
square
#398E11 #11778E #66118E #8E2711
split-complementary
#398E11 #27118E #8E1177
monochromatic
#0D2104 #23570A #398E11 #4FC518 #6CE733

Accessibility & contrast

On white

4.16
#398E11 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#398E11 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398E11
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398E11#FFFFFF#000000##000000
##398E111.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#887A23
Tritanopia (blue-blind)
#308978
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #398e11;
/* rgb */ color: rgb(57, 142, 17);
/* oklch */ color: oklch(57.2% 0.172 138.6);
Tailwind
colors: {
  custom: {
    50: '#7bb05e',
    500: '#398e11',
    950: '#000000',
  },
}
SCSS
$custom: #398e11;
$custom-light: #7bb05e;
$custom-dark: #000000;
JSON
{
  "hex": "#398e11",
  "rgb": {
    "r": 57,
    "g": 142,
    "b": 17
  },
  "hsl": {
    "h": 100.8,
    "s": 78.616,
    "l": 31.176
  },
  "oklch": {
    "l": 0.57195,
    "c": 0.17174,
    "h": 138.6
  },
  "luminance": 0.20256
}

Semantic roles & 50–950 ramp

primary
#398E11
secondary
#9638C2
accent
#33F5B7
background
#F7FAF5
surface
#EEF5EA
border
#C9CFC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #398E11

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

Preview Lab → · Contrast checker → · Palette generator →

#398E11 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva