#398D10#398D10

#398D10 is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.9% C 0.171 H 138.5°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#398D10
RGBrgb(57, 141, 16)
HSLhsl(100, 80%, 31%)
HSVhsv(100, 89%, 55%)
CMYKcmyk(59.6%, 0%, 88.7%, 44.7%)
CIE-LABlab(51.79, -46.29, 51.83)
CIE-LCHlch(51.79, 69.49, 131.77°)
OKLaboklab(56.92% -0.128 0.1133)
OKLCHoklch(56.92% 0.171 138.5)
XYZxyz(11.3053, 19.9560, 3.7463)
Luminance0.1996 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398D10 #64108D
analogous
#778D10 #398D10 #108D25
triadic
#398D10 #10398D #8D1039
tetradic
#398D10 #10778D #64108D #8D2510
square
#398D10 #10778D #64108D #8D2510
split-complementary
#398D10 #25108D #8D1077
monochromatic
#0D1F04 #23560A #398D10 #4FC416 #6CE730

Accessibility & contrast

On white

4.21
#398D10 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#398D10 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398D10
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398D10#FFFFFF#000000##000000
##398D101.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#877922
Tritanopia (blue-blind)
#308877
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #398d10;
/* rgb */ color: rgb(57, 141, 16);
/* oklch */ color: oklch(56.9% 0.171 138.5);
Tailwind
colors: {
  custom: {
    50: '#7aaf5d',
    500: '#398d10',
    950: '#000000',
  },
}
SCSS
$custom: #398d10;
$custom-light: #7aaf5d;
$custom-dark: #000000;
JSON
{
  "hex": "#398d10",
  "rgb": {
    "r": 57,
    "g": 141,
    "b": 16
  },
  "hsl": {
    "h": 100.32,
    "s": 79.618,
    "l": 30.784
  },
  "oklch": {
    "l": 0.56915,
    "c": 0.17093,
    "h": 138.5
  },
  "luminance": 0.19957
}

Semantic roles & 50–950 ramp

primary
#398D10
secondary
#9437C2
accent
#32F6B6
background
#F7FAF5
surface
#EEF5EA
border
#C9CFC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #398D10

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

Preview Lab → · Contrast checker → · Palette generator →

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