#398223#398223

#398223 is a mid, vivid green. Relative luminance 0.170; OKLCH L 54.0% C 0.148 H 139.4°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#398223
RGBrgb(57, 130, 35)
HSLhsl(106, 58%, 32%)
HSVhsv(106, 73%, 51%)
CMYKcmyk(56.2%, 0%, 73.1%, 49%)
CIE-LABlab(48.20, -40.91, 42.39)
CIE-LCHlch(48.20, 58.92, 133.98°)
OKLaboklab(53.99% -0.1125 0.0963)
OKLCHoklch(53.99% 0.148 139.4)
XYZxyz(9.9729, 16.9557, 4.3370)
Luminance0.1696 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398223 #6C2382
analogous
#698223 #398223 #23823C
triadic
#398223 #233982 #822339
tetradic
#398223 #236982 #6C2382 #823C23
square
#398223 #236982 #6C2382 #823C23
split-complementary
#398223 #3C2382 #822369
monochromatic
#0F2209 #245216 #398223 #4EB230 #6DD050

Accessibility & contrast

On white

4.78
#398223 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#398223 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #398223
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398223#FFFFFF#000000##FFFFFF
##3982231.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867614
Deuteranopia (green-blind)
#7D702C
Tritanopia (blue-blind)
#317E6F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #398223;
/* rgb */ color: rgb(57, 130, 35);
/* oklch */ color: oklch(54.0% 0.148 139.4);
Tailwind
colors: {
  custom: {
    50: '#78a764',
    500: '#398223',
    950: '#000000',
  },
}
SCSS
$custom: #398223;
$custom-light: #78a764;
$custom-dark: #000000;
JSON
{
  "hex": "#398223",
  "rgb": {
    "r": 57,
    "g": 130,
    "b": 35
  },
  "hsl": {
    "h": 106.105,
    "s": 57.576,
    "l": 32.353
  },
  "oklch": {
    "l": 0.53989,
    "c": 0.14807,
    "h": 139.4
  },
  "luminance": 0.16956
}

Semantic roles & 50–950 ramp

primary
#398223
secondary
#9C4DB3
accent
#47E1BD
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #398223

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

Preview Lab → · Contrast checker → · Palette generator →

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