#398E21#398E21

#398E21 is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.3% C 0.164 H 139.8°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#398E21
RGBrgb(57, 142, 33)
HSLhsl(107, 62%, 34%)
HSVhsv(107, 77%, 56%)
CMYKcmyk(59.9%, 0%, 76.8%, 44.3%)
CIE-LABlab(52.20, -45.72, 47.19)
CIE-LCHlch(52.20, 65.70, 134.09°)
OKLaboklab(57.28% -0.1256 0.106)
OKLCHoklch(57.28% 0.164 139.8)
XYZxyz(11.6343, 20.3246, 4.7485)
Luminance0.2033 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398E21 #76218E
analogous
#708E21 #398E21 #218E40
triadic
#398E21 #21398E #8E2139
tetradic
#398E21 #21708E #76218E #8E4021
square
#398E21 #21708E #76218E #8E4021
split-complementary
#398E21 #40218E #8E2170
monochromatic
#112B0A #255C15 #398E21 #4DC02D #70D752

Accessibility & contrast

On white

4.15
#398E21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#398E21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398E21
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398E21#FFFFFF#000000##000000
##398E211.004.155.075.07
#FFFFFF4.151.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#928109
Deuteranopia (green-blind)
#887A2D
Tritanopia (blue-blind)
#2F8979
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #398e21;
/* rgb */ color: rgb(57, 142, 33);
/* oklch */ color: oklch(57.3% 0.164 139.8);
Tailwind
colors: {
  custom: {
    50: '#7ab064',
    500: '#398e21',
    950: '#000000',
  },
}
SCSS
$custom: #398e21;
$custom-light: #7ab064;
$custom-dark: #000000;
JSON
{
  "hex": "#398e21",
  "rgb": {
    "r": 57,
    "g": 142,
    "b": 33
  },
  "hsl": {
    "h": 106.789,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.57284,
    "c": 0.16436,
    "h": 139.8
  },
  "luminance": 0.20326
}

Semantic roles & 50–950 ramp

primary
#398E21
secondary
#A350BA
accent
#42E5C1
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #398E21

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

Preview Lab → · Contrast checker → · Palette generator →

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