#398123#398123

#398123 is a mid, vivid green. Relative luminance 0.167; OKLCH L 53.7% C 0.147 H 139.4°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#398123
RGBrgb(57, 129, 35)
HSLhsl(106, 57%, 32%)
HSVhsv(106, 73%, 51%)
CMYKcmyk(55.8%, 0%, 72.9%, 49.4%)
CIE-LABlab(47.87, -40.51, 42.05)
CIE-LCHlch(47.87, 58.39, 133.94°)
OKLaboklab(53.71% -0.1114 0.0956)
OKLCHoklch(53.71% 0.147 139.4)
XYZxyz(9.8406, 16.6909, 4.2929)
Luminance0.1669 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398123 #6B2381
analogous
#688123 #398123 #23813C
triadic
#398123 #233981 #812339
tetradic
#398123 #236881 #6B2381 #813C23
square
#398123 #236881 #6B2381 #813C23
split-complementary
#398123 #3C2381 #812368
monochromatic
#0E2109 #245116 #398123 #4EB130 #6DCF4F

Accessibility & contrast

On white

4.84
#398123 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#398123 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #398123
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398123#FFFFFF#000000##FFFFFF
##3981231.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857514
Deuteranopia (green-blind)
#7C6F2C
Tritanopia (blue-blind)
#327D6E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #398123;
/* rgb */ color: rgb(57, 129, 35);
/* oklch */ color: oklch(53.7% 0.147 139.4);
Tailwind
colors: {
  custom: {
    50: '#77a664',
    500: '#398123',
    950: '#000000',
  },
}
SCSS
$custom: #398123;
$custom-light: #77a664;
$custom-dark: #000000;
JSON
{
  "hex": "#398123",
  "rgb": {
    "r": 57,
    "g": 129,
    "b": 35
  },
  "hsl": {
    "h": 105.957,
    "s": 57.317,
    "l": 32.157
  },
  "oklch": {
    "l": 0.53712,
    "c": 0.14678,
    "h": 139.4
  },
  "luminance": 0.16692
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #398123

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

Preview Lab → · Contrast checker → · Palette generator →

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