#398417#398417

#398417 is a mid, vivid green. Relative luminance 0.174; OKLCH L 54.5% C 0.157 H 138.3°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#398417
RGBrgb(57, 132, 23)
HSLhsl(101, 70%, 30%)
HSVhsv(101, 83%, 52%)
CMYKcmyk(56.8%, 0%, 82.6%, 48.2%)
CIE-LABlab(48.80, -42.55, 47.28)
CIE-LCHlch(48.80, 63.60, 131.98°)
OKLaboklab(54.46% -0.1176 0.1047)
OKLCHoklch(54.46% 0.157 138.3)
XYZxyz(10.0929, 17.4334, 3.6436)
Luminance0.1743 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398417 #621784
analogous
#708417 #398417 #17842B
triadic
#398417 #173984 #841739
tetradic
#398417 #177084 #621784 #842B17
square
#398417 #177084 #621784 #842B17
split-complementary
#398417 #2B1784 #841770
monochromatic
#0C1C05 #22500E #398417 #50B820 #6CDC39

Accessibility & contrast

On white

4.68
#398417 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#398417 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #398417
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398417#FFFFFF#000000##FFFFFF
##3984171.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887800
Deuteranopia (green-blind)
#7F7224
Tritanopia (blue-blind)
#327F70
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #398417;
/* rgb */ color: rgb(57, 132, 23);
/* oklch */ color: oklch(54.5% 0.157 138.3);
Tailwind
colors: {
  custom: {
    50: '#79a85e',
    500: '#398417',
    950: '#000000',
  },
}
SCSS
$custom: #398417;
$custom-light: #79a85e;
$custom-dark: #000000;
JSON
{
  "hex": "#398417",
  "rgb": {
    "r": 57,
    "g": 132,
    "b": 23
  },
  "hsl": {
    "h": 101.284,
    "s": 70.323,
    "l": 30.392
  },
  "oklch": {
    "l": 0.54458,
    "c": 0.15749,
    "h": 138.3
  },
  "luminance": 0.17434
}

Semantic roles & 50–950 ramp

primary
#398417
secondary
#923FB8
accent
#3BEDB5
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #398417

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

Preview Lab → · Contrast checker → · Palette generator →

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