#398323#398323

#398323 is a mid, vivid green. Relative luminance 0.172; OKLCH L 54.3% C 0.149 H 139.5°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#398323
RGBrgb(57, 131, 35)
HSLhsl(106, 58%, 33%)
HSVhsv(106, 73%, 51%)
CMYKcmyk(56.5%, 0%, 73.3%, 48.6%)
CIE-LABlab(48.54, -41.31, 42.74)
CIE-LCHlch(48.54, 59.44, 134.03°)
OKLaboklab(54.26% -0.1136 0.097)
OKLCHoklch(54.26% 0.149 139.5)
XYZxyz(10.1066, 17.2230, 4.3816)
Luminance0.1722 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398323 #6D2383
analogous
#698323 #398323 #23833D
triadic
#398323 #233983 #832339
tetradic
#398323 #236983 #6D2383 #833D23
square
#398323 #236983 #6D2383 #833D23
split-complementary
#398323 #3D2383 #832369
monochromatic
#0F2209 #245316 #398323 #4EB330 #6DD050

Accessibility & contrast

On white

4.72
#398323 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#398323 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #398323
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398323#FFFFFF#000000##FFFFFF
##3983231.004.724.444.72
#FFFFFF4.721.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877713
Deuteranopia (green-blind)
#7D712C
Tritanopia (blue-blind)
#317F70
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #398323;
/* rgb */ color: rgb(57, 131, 35);
/* oklch */ color: oklch(54.3% 0.149 139.5);
Tailwind
colors: {
  custom: {
    50: '#78a864',
    500: '#398323',
    950: '#000000',
  },
}
SCSS
$custom: #398323;
$custom-light: #78a864;
$custom-dark: #000000;
JSON
{
  "hex": "#398323",
  "rgb": {
    "r": 57,
    "g": 131,
    "b": 35
  },
  "hsl": {
    "h": 106.25,
    "s": 57.831,
    "l": 32.549
  },
  "oklch": {
    "l": 0.54265,
    "c": 0.14935,
    "h": 139.5
  },
  "luminance": 0.17224
}

Semantic roles & 50–950 ramp

primary
#398323
secondary
#9D4EB4
accent
#47E1BE
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #398323

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

Preview Lab → · Contrast checker → · Palette generator →

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