#398334#398334

#398334 is a mid, vivid green. Relative luminance 0.173; OKLCH L 54.4% C 0.136 H 142.4°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#398334
RGBrgb(57, 131, 52)
HSLhsl(116, 43%, 36%)
HSVhsv(116, 60%, 51%)
CMYKcmyk(56.5%, 0%, 60.3%, 48.6%)
CIE-LABlab(48.70, -39.54, 35.24)
CIE-LCHlch(48.70, 52.97, 138.29°)
OKLaboklab(54.45% -0.1077 0.0831)
OKLCHoklch(54.45% 0.136 142.4)
XYZxyz(10.4229, 17.3495, 6.0477)
Luminance0.1735 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398334 #7E3483
analogous
#608334 #398334 #348356
triadic
#398334 #343983 #833439
tetradic
#398334 #346083 #7E3483 #835634
square
#398334 #346083 #7E3483 #835634
split-complementary
#398334 #563483 #833460
monochromatic
#132B11 #265723 #398334 #4CAF45 #72C56D

Accessibility & contrast

On white

4.70
#398334 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#398334 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #398334
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398334#FFFFFF#000000##FFFFFF
##3983341.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#86782C
Deuteranopia (green-blind)
#7C713A
Tritanopia (blue-blind)
#2E7F72
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #398334;
/* rgb */ color: rgb(57, 131, 52);
/* oklch */ color: oklch(54.4% 0.136 142.4);
Tailwind
colors: {
  custom: {
    50: '#77a86e',
    500: '#398334',
    950: '#000000',
  },
}
SCSS
$custom: #398334;
$custom-light: #77a86e;
$custom-dark: #000000;
JSON
{
  "hex": "#398334",
  "rgb": {
    "r": 57,
    "g": 131,
    "b": 52
  },
  "hsl": {
    "h": 116.203,
    "s": 43.169,
    "l": 35.882
  },
  "oklch": {
    "l": 0.54446,
    "c": 0.13605,
    "h": 142.4
  },
  "luminance": 0.1735
}

Semantic roles & 50–950 ramp

primary
#398334
secondary
#A866AD
accent
#55D3CB
background
#F7FAF6
surface
#EEF4EC
border
#C9CEC7
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #398334

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

Preview Lab → · Contrast checker → · Palette generator →

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