#398E24#398E24

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

Color values

HEX#398E24
RGBrgb(57, 142, 36)
HSLhsl(108, 60%, 35%)
HSVhsv(108, 75%, 56%)
CMYKcmyk(59.9%, 0%, 74.6%, 44.3%)
CIE-LABlab(52.22, -45.49, 46.10)
CIE-LCHlch(52.22, 64.77, 134.62°)
OKLaboklab(57.31% -0.1248 0.1042)
OKLCHoklch(57.31% 0.163 140.1)
XYZxyz(11.6783, 20.3422, 4.9797)
Luminance0.2034 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398E24 #79248E
analogous
#6E8E24 #398E24 #248E44
triadic
#398E24 #24398E #8E2439
tetradic
#398E24 #246E8E #79248E #8E4424
square
#398E24 #246E8E #79248E #8E4424
split-complementary
#398E24 #44248E #8E246E
monochromatic
#122C0B #255D18 #398E24 #4DBF30 #71D558

Accessibility & contrast

On white

4.14
#398E24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##398E24#FFFFFF#000000##000000
##398E241.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#928110
Deuteranopia (green-blind)
#877A2F
Tritanopia (blue-blind)
#2E8979
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #398e24;
/* rgb */ color: rgb(57, 142, 36);
/* oklch */ color: oklch(57.3% 0.163 140.1);
Tailwind
colors: {
  custom: {
    50: '#7ab066',
    500: '#398e24',
    950: '#000000',
  },
}
SCSS
$custom: #398e24;
$custom-light: #7ab066;
$custom-dark: #000000;
JSON
{
  "hex": "#398e24",
  "rgb": {
    "r": 57,
    "g": 142,
    "b": 36
  },
  "hsl": {
    "h": 108.113,
    "s": 59.551,
    "l": 34.902
  },
  "oklch": {
    "l": 0.57306,
    "c": 0.16256,
    "h": 140.1
  },
  "luminance": 0.20343
}

Semantic roles & 50–950 ramp

primary
#398E24
secondary
#A555B9
accent
#45E3C3
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #398E24

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

Preview Lab → · Contrast checker → · Palette generator →

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