#398423#398423

#398423 is a mid, vivid green. Relative luminance 0.175; OKLCH L 54.5% C 0.151 H 139.5°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#398423
RGBrgb(57, 132, 35)
HSLhsl(106, 58%, 33%)
HSVhsv(106, 73%, 52%)
CMYKcmyk(56.8%, 0%, 73.5%, 48.2%)
CIE-LABlab(48.88, -41.71, 43.08)
CIE-LCHlch(48.88, 59.96, 134.07°)
OKLaboklab(54.54% -0.1146 0.0977)
OKLCHoklch(54.54% 0.151 139.5)
XYZxyz(10.2416, 17.4929, 4.4266)
Luminance0.1749 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398423 #6E2384
analogous
#698423 #398423 #23843E
triadic
#398423 #233984 #842339
tetradic
#398423 #236984 #6E2384 #843E23
square
#398423 #236984 #6E2384 #843E23
split-complementary
#398423 #3E2384 #842369
monochromatic
#0F2309 #245416 #398423 #4EB430 #6ED151

Accessibility & contrast

On white

4.67
#398423 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#398423 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #398423
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398423#FFFFFF#000000##FFFFFF
##3984231.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887813
Deuteranopia (green-blind)
#7E722C
Tritanopia (blue-blind)
#318071
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #398423;
/* rgb */ color: rgb(57, 132, 35);
/* oklch */ color: oklch(54.5% 0.151 139.5);
Tailwind
colors: {
  custom: {
    50: '#78a864',
    500: '#398423',
    950: '#000000',
  },
}
SCSS
$custom: #398423;
$custom-light: #78a864;
$custom-dark: #000000;
JSON
{
  "hex": "#398423",
  "rgb": {
    "r": 57,
    "g": 132,
    "b": 35
  },
  "hsl": {
    "h": 106.392,
    "s": 58.084,
    "l": 32.745
  },
  "oklch": {
    "l": 0.54542,
    "c": 0.15064,
    "h": 139.5
  },
  "luminance": 0.17494
}

Semantic roles & 50–950 ramp

primary
#398423
secondary
#9D4EB4
accent
#46E1BE
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #398423

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

Preview Lab → · Contrast checker → · Palette generator →

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