Skip to content

#398e4b

a dark, soft green · cool · closest name: Sea Green

RGB
57, 142, 75
HSL
133°, 43%, 39%
CMYK
60, 0, 47, 44
Luminance
0.2072

At a glance

Every number on this page in one read: what #398e4b is made of, how bright it looks, and which way it leans.

Hex
#398e4b
Hue
133°
green
Saturation
43%
soft
Lightness
39%
dark
Brightness
56%
HSV value
Perceived
45%
weighted brightness
Luminance
0.2072
WCAG relative
Temperature
Cool
68/100 cool
Color family
Green
Tone
Soft
Best ink
Black
5.14:1
Closest name
Sea Green
ΔE2000 3.8
Where it sits
Hue133° of 360°
Saturation43%
Lightness39%
Temperature
Warm ← → Cool68% cool

Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#398e4b
RGBrgb(57, 142, 75)
HSLhsl(133, 43%, 39%)
CMYKcmyk(60%, 0%, 47%, 44%)
LABlab(52.6 -40.7 28.1)
LCHlch(52.6 49.5 145.4)
OKLCHoklch(0.578 0.130 148.0)
Decimal3771979
Display P3color(display-p3 0.224 0.557 0.294)

Copy-ready code

/* CSS */
color: #398e4b;
background-color: #398e4b;
/* Tailwind (arbitrary) */
class="text-[#398e4b] bg-[#398e4b]"
/* SCSS */
$brand: #398e4b;
/* SwiftUI */
Color(red: 0.224, green: 0.557, blue: 0.294)
/* Android */
Color.parseColor("#398e4b")
/* Flutter */
Color(0xFF398E4B)
/* Python / OpenCV (BGR) */
(75, 142, 57)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#000000 on #398e4b · 5.14:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 4.08:1
AA fail · AA large pass · AAA fail
Aa
Black text · 5.14:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #398e4b as text scores 4.08:1 on white and 5.14:1 on black.

Accessibility — WCAG contrast

Aa
#398e4b on white: 4.08:1
AA ✗ fail · AA-large · AAA
Aa
#398e4b on black: 5.14:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #8F8246
deuteranopia · #847B50
tritanopia · #248B7E

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #398e4b is pinned to step 700; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F5FAF6
#EBF5ED
#D1EAD7
#AFDFB9
#87CF96
#5FBF73
#46AF5C
#398e4b
#2F743E
#25552F
#17351E
Base = 700Lightest = 50 · #F5FAF6Darkest = 950 · #17351E
:root {
  --brand-50: #F5FAF6;
  --brand-100: #EBF5ED;
  --brand-200: #D1EAD7;
  --brand-300: #AFDFB9;
  --brand-400: #87CF96;
  --brand-500: #5FBF73;
  --brand-600: #46AF5C;
  --brand-700: #398e4b;
  --brand-800: #2F743E;
  --brand-900: #25552F;
  --brand-950: #17351E;
  --brand: #398e4b;
  --brand-ink: #000000;
}

Colors that work with #398e4b

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#F4FAF6
Tinted page background
Border#C5E8CC
Hairlines and dividers
Muted text#4B9B5C
Captions on the surface
Accent#8E3592
Second voice, not a rival
Dark variant#255B30
Hover, pressed, headers
Light variant#EDF8EF
Selected rows, tints
Dark surface#142417
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #398e4b

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Headings from 24px up on white
  • Text and icons on dark surfaces
  • Charts, tags and secondary surfaces
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • Black text placed on it
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#8E397C
Analogous left#518E39
Analogous right#398E75
Split-complement 1#75398E
Split-complement 2#8E3951
Triadic 1#4B398E
Triadic 2#8E4B39
Tetradic#39518E

RGB percentages

Red22.4%
Green55.7%
Blue29.4%

CMYK percentages

Cyan59.9%
Magenta0.0%
Yellow47.2%
Key (black)44.3%

Color previews

#398e4b text on a black background

contrast 5.14:1

Card sample

#398e4b text on a white background

contrast 4.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #398e4b;
Background color
Panel with #398e4b background
background-color: #398e4b;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #398e4b;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(57, 142, 75, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(57, 142, 75, 0.45);
Border & gradient
Gradient panel
border: 3px solid #398e4b;
background: linear-gradient(135deg, #398e4b, #398E84);

Monochromatic scale

Palettes built from #398e4b

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#398e4b in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
SustainabilityFinanceHealth and wellnessAgriculture
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Converts to four-color process without much drama. Proof it anyway.

#398e4b, answered

What color is #398e4b?

#398e4b is a dark soft green, closest to Sea Green (ΔE2000 3.8). It sits at 133° on the hue wheel with 43% saturation and 39% lightness, which reads as cool.

What is the RGB value of #398e4b?

rgb(57, 142, 75) — 57 red, 142 green and 75 blue out of 255, or 22.4% / 55.7% / 29.4% by channel.

Is #398e4b a light or a dark color?

It is a mid-tone. Relative luminance is 0.2072 and perceived brightness is 45%, so black text on it reaches 5.14:1.

Should I use black or white text on #398e4b?

Black. It scores 5.14:1 against #398e4b, versus 4.08:1 for white — AA at any size.

What is the complementary color of #398e4b?

#8E397C sits directly opposite on the wheel. Softer options are the split-complements #75398E and #8E3951, which give the same contrast with far less vibration.

What colors go well with #398e4b?

For interface work: #F4FAF6 as the surface, #C5E8CC for borders, #4B9B5C for secondary text, #8E3592 as an accent and #255B30 for hover and pressed states. For a palette, the analogous pair #518E39 and #398E75 stays calm, while #8E397C is the loudest partner.

What is #398e4b in CMYK for printing?

cmyk(60%, 0%, 47%, 44%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #398e4b warm or cool?

Cool — it scores 68 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #468E39; nudged cooler, #37906A.

Work with #398e4b in the Color Lab