#398F23#398F23

#398F23 is a mid, vivid green. Relative luminance 0.206; OKLCH L 57.6% C 0.164 H 140.1°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#398F23
RGBrgb(57, 143, 35)
HSLhsl(108, 61%, 35%)
HSVhsv(108, 76%, 56%)
CMYKcmyk(60.1%, 0%, 75.5%, 43.9%)
CIE-LABlab(52.55, -45.94, 46.80)
CIE-LCHlch(52.55, 65.59, 134.47°)
OKLaboklab(57.57% -0.1261 0.1055)
OKLCHoklch(57.57% 0.164 140.1)
XYZxyz(11.8126, 20.6351, 4.9503)
Luminance0.2064 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398F23 #79238F
analogous
#6F8F23 #398F23 #238F43
triadic
#398F23 #23398F #8F2339
tetradic
#398F23 #236F8F #79238F #8F4323
square
#398F23 #236F8F #79238F #8F4323
split-complementary
#398F23 #43238F #8F236F
monochromatic
#122D0B #255E17 #398F23 #4DC02F #71D657

Accessibility & contrast

On white

4.10
#398F23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#398F23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398F23
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398F23#FFFFFF#000000##000000
##398F231.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#93820E
Deuteranopia (green-blind)
#887B2E
Tritanopia (blue-blind)
#2E8A7A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #398f23;
/* rgb */ color: rgb(57, 143, 35);
/* oklch */ color: oklch(57.6% 0.164 140.1);
Tailwind
colors: {
  custom: {
    50: '#7ab166',
    500: '#398f23',
    950: '#000000',
  },
}
SCSS
$custom: #398f23;
$custom-light: #7ab166;
$custom-dark: #000000;
JSON
{
  "hex": "#398f23",
  "rgb": {
    "r": 57,
    "g": 143,
    "b": 35
  },
  "hsl": {
    "h": 107.778,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.57573,
    "c": 0.1644,
    "h": 140.1
  },
  "luminance": 0.20636
}

Semantic roles & 50–950 ramp

primary
#398F23
secondary
#A554BA
accent
#44E4C3
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #398F23

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

Preview Lab → · Contrast checker → · Palette generator →

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