#398F12#398F12

#398F12 is a mid, vivid green. Relative luminance 0.206; OKLCH L 57.5% C 0.173 H 138.7°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#398F12
RGBrgb(57, 143, 18)
HSLhsl(101, 78%, 32%)
HSVhsv(101, 87%, 56%)
CMYKcmyk(60.1%, 0%, 87.4%, 43.9%)
CIE-LABlab(52.46, -46.95, 51.95)
CIE-LCHlch(52.46, 70.02, 132.10°)
OKLaboklab(57.48% -0.1297 0.1138)
OKLCHoklch(57.48% 0.173 138.7)
XYZxyz(11.6185, 20.5574, 3.9279)
Luminance0.2056 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398F12 #68128F
analogous
#788F12 #398F12 #128F2A
triadic
#398F12 #12398F #8F1239
tetradic
#398F12 #12788F #68128F #8F2A12
square
#398F12 #12788F #68128F #8F2A12
split-complementary
#398F12 #2A128F #8F1278
monochromatic
#0E2204 #23590B #398F12 #4FC519 #6DE636

Accessibility & contrast

On white

4.11
#398F12 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#398F12 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398F12
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398F12#FFFFFF#000000##000000
##398F121.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#948100
Deuteranopia (green-blind)
#897B23
Tritanopia (blue-blind)
#308A79
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #398f12;
/* rgb */ color: rgb(57, 143, 18);
/* oklch */ color: oklch(57.5% 0.173 138.7);
Tailwind
colors: {
  custom: {
    50: '#7bb15e',
    500: '#398f12',
    950: '#000000',
  },
}
SCSS
$custom: #398f12;
$custom-light: #7bb15e;
$custom-dark: #000000;
JSON
{
  "hex": "#398f12",
  "rgb": {
    "r": 57,
    "g": 143,
    "b": 18
  },
  "hsl": {
    "h": 101.28,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.57475,
    "c": 0.17254,
    "h": 138.7
  },
  "luminance": 0.20558
}

Semantic roles & 50–950 ramp

primary
#398F12
secondary
#983AC3
accent
#34F4B8
background
#F7FAF5
surface
#EEF5EA
border
#C9CFC6
text
#0A1105
muted
#7C8079

Preview Lab

Preview with #398F12

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

Preview Lab → · Contrast checker → · Palette generator →

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