#398420#398420

#398420 is a mid, vivid green. Relative luminance 0.175; OKLCH L 54.5% C 0.153 H 139.2°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#398420
RGBrgb(57, 132, 32)
HSLhsl(105, 61%, 32%)
HSVhsv(105, 76%, 52%)
CMYKcmyk(56.8%, 0%, 75.8%, 48.2%)
CIE-LABlab(48.85, -41.95, 44.23)
CIE-LCHlch(48.85, 60.96, 133.48°)
OKLaboklab(54.52% -0.1155 0.0997)
OKLCHoklch(54.52% 0.153 139.2)
XYZxyz(10.1989, 17.4758, 4.2019)
Luminance0.1748 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398420 #6B2084
analogous
#6B8420 #398420 #208439
triadic
#398420 #203984 #842039
tetradic
#398420 #206B84 #6B2084 #843920
square
#398420 #206B84 #6B2084 #843920
split-complementary
#398420 #392084 #84206B
monochromatic
#0E2108 #245314 #398420 #4EB52C #6DD34B

Accessibility & contrast

On white

4.67
#398420 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#398420 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #398420
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398420#FFFFFF#000000##FFFFFF
##3984201.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#88780D
Deuteranopia (green-blind)
#7E722A
Tritanopia (blue-blind)
#317F71
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #398420;
/* rgb */ color: rgb(57, 132, 32);
/* oklch */ color: oklch(54.5% 0.153 139.2);
Tailwind
colors: {
  custom: {
    50: '#78a863',
    500: '#398420',
    950: '#000000',
  },
}
SCSS
$custom: #398420;
$custom-light: #78a863;
$custom-dark: #000000;
JSON
{
  "hex": "#398420",
  "rgb": {
    "r": 57,
    "g": 132,
    "b": 32
  },
  "hsl": {
    "h": 105,
    "s": 60.976,
    "l": 32.157
  },
  "oklch": {
    "l": 0.54518,
    "c": 0.15256,
    "h": 139.2
  },
  "luminance": 0.17477
}

Semantic roles & 50–950 ramp

primary
#398420
secondary
#9B4AB6
accent
#44E4BC
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1005
muted
#7C7F7A

Preview Lab

Preview with #398420

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

Preview Lab → · Contrast checker → · Palette generator →

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