#398521#398521

#398521 is a mid, vivid green. Relative luminance 0.178; OKLCH L 54.8% C 0.153 H 139.4°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#398521
RGBrgb(57, 133, 33)
HSLhsl(106, 60%, 33%)
HSVhsv(106, 75%, 52%)
CMYKcmyk(57.1%, 0%, 75.2%, 47.8%)
CIE-LABlab(49.20, -42.26, 44.19)
CIE-LCHlch(49.20, 61.15, 133.72°)
OKLaboklab(54.8% -0.1163 0.0998)
OKLCHoklch(54.8% 0.153 139.4)
XYZxyz(10.3490, 17.7539, 4.3200)
Luminance0.1776 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398521 #6D2185
analogous
#6B8521 #398521 #21853B
triadic
#398521 #213985 #852139
tetradic
#398521 #216B85 #6D2185 #853B21
square
#398521 #216B85 #6D2185 #853B21
split-complementary
#398521 #3B2185 #85216B
monochromatic
#0F2309 #245415 #398521 #4EB62D #6DD34D

Accessibility & contrast

On white

4.61
#398521 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#398521 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #398521
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398521#FFFFFF#000000##FFFFFF
##3985211.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#89790E
Deuteranopia (green-blind)
#7F732B
Tritanopia (blue-blind)
#318072
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #398521;
/* rgb */ color: rgb(57, 133, 33);
/* oklch */ color: oklch(54.8% 0.153 139.4);
Tailwind
colors: {
  custom: {
    50: '#78a963',
    500: '#398521',
    950: '#000000',
  },
}
SCSS
$custom: #398521;
$custom-light: #78a963;
$custom-dark: #000000;
JSON
{
  "hex": "#398521",
  "rgb": {
    "r": 57,
    "g": 133,
    "b": 33
  },
  "hsl": {
    "h": 105.6,
    "s": 60.241,
    "l": 32.549
  },
  "oklch": {
    "l": 0.54802,
    "c": 0.1532,
    "h": 139.4
  },
  "luminance": 0.17755
}

Semantic roles & 50–950 ramp

primary
#398521
secondary
#9D4CB6
accent
#44E3BD
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #398521

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

Preview Lab → · Contrast checker → · Palette generator →

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