#398E23#398E23

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

Color values

HEX#398E23
RGBrgb(57, 142, 35)
HSLhsl(108, 60%, 35%)
HSVhsv(108, 75%, 56%)
CMYKcmyk(59.9%, 0%, 75.4%, 44.3%)
CIE-LABlab(52.22, -45.57, 46.47)
CIE-LCHlch(52.22, 65.08, 134.44°)
OKLaboklab(57.3% -0.1251 0.1048)
OKLCHoklch(57.3% 0.163 140)
XYZxyz(11.6632, 20.3362, 4.9004)
Luminance0.2034 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398E23 #78238E
analogous
#6E8E23 #398E23 #238E43
triadic
#398E23 #23398E #8E2339
tetradic
#398E23 #236E8E #78238E #8E4323
square
#398E23 #236E8E #78238E #8E4323
split-complementary
#398E23 #43238E #8E236E
monochromatic
#122C0B #255D17 #398E23 #4DBF2F #70D556

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##398E23#FFFFFF#000000##000000
##398E231.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)
#92810E
Deuteranopia (green-blind)
#877A2E
Tritanopia (blue-blind)
#2E8979
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #398e23;
/* rgb */ color: rgb(57, 142, 35);
/* oklch */ color: oklch(57.3% 0.163 140.0);
Tailwind
colors: {
  custom: {
    50: '#7ab065',
    500: '#398e23',
    950: '#000000',
  },
}
SCSS
$custom: #398e23;
$custom-light: #7ab065;
$custom-dark: #000000;
JSON
{
  "hex": "#398e23",
  "rgb": {
    "r": 57,
    "g": 142,
    "b": 35
  },
  "hsl": {
    "h": 107.664,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57299,
    "c": 0.16317,
    "h": 140
  },
  "luminance": 0.20337
}

Semantic roles & 50–950 ramp

primary
#398E23
secondary
#A453B9
accent
#44E4C3
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #398E23

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

Preview Lab → · Contrast checker → · Palette generator →

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