#398524#398524

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

Color values

HEX#398524
RGBrgb(57, 133, 36)
HSLhsl(107, 57%, 33%)
HSVhsv(107, 73%, 52%)
CMYKcmyk(57.1%, 0%, 72.9%, 47.8%)
CIE-LABlab(49.22, -42.02, 43.03)
CIE-LCHlch(49.22, 60.14, 134.31°)
OKLaboklab(54.83% -0.1154 0.0978)
OKLCHoklch(54.83% 0.151 139.7)
XYZxyz(10.3929, 17.7714, 4.5513)
Luminance0.1777 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398524 #702485
analogous
#698524 #398524 #24853F
triadic
#398524 #243985 #852439
tetradic
#398524 #246985 #702485 #853F24
square
#398524 #246985 #702485 #853F24
split-complementary
#398524 #3F2485 #852469
monochromatic
#10250A #245517 #398524 #4EB531 #6ED053

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##398524#FFFFFF#000000##FFFFFF
##3985241.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)
#897914
Deuteranopia (green-blind)
#7F732D
Tritanopia (blue-blind)
#318172
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #398524;
/* rgb */ color: rgb(57, 133, 36);
/* oklch */ color: oklch(54.8% 0.151 139.7);
Tailwind
colors: {
  custom: {
    50: '#78a965',
    500: '#398524',
    950: '#000000',
  },
}
SCSS
$custom: #398524;
$custom-light: #78a965;
$custom-dark: #000000;
JSON
{
  "hex": "#398524",
  "rgb": {
    "r": 57,
    "g": 133,
    "b": 36
  },
  "hsl": {
    "h": 107.01,
    "s": 57.396,
    "l": 33.137
  },
  "oklch": {
    "l": 0.54827,
    "c": 0.15126,
    "h": 139.7
  },
  "luminance": 0.17772
}

Semantic roles & 50–950 ramp

primary
#398524
secondary
#9F50B4
accent
#47E1BF
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #398524

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

Preview Lab → · Contrast checker → · Palette generator →

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