#398526#398526

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

Color values

HEX#398526
RGBrgb(57, 133, 38)
HSLhsl(108, 56%, 34%)
HSVhsv(108, 71%, 52%)
CMYKcmyk(57.1%, 0%, 71.4%, 47.8%)
CIE-LABlab(49.23, -41.84, 42.23)
CIE-LCHlch(49.23, 59.45, 134.74°)
OKLaboklab(54.84% -0.1148 0.0964)
OKLCHoklch(54.84% 0.15 140)
XYZxyz(10.4243, 17.7840, 4.7167)
Luminance0.1779 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398526 #722685
analogous
#688526 #398526 #268542
triadic
#398526 #263985 #852639
tetradic
#398526 #266885 #722685 #854226
square
#398526 #266885 #722685 #854226
split-complementary
#398526 #422685 #852668
monochromatic
#10260B #255518 #398526 #4DB534 #6FCF57

Accessibility & contrast

On white

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

On black

4.56
#398526 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##398526#FFFFFF#000000##FFFFFF
##3985261.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897918
Deuteranopia (green-blind)
#7F732F
Tritanopia (blue-blind)
#308172
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #398526;
/* rgb */ color: rgb(57, 133, 38);
/* oklch */ color: oklch(54.8% 0.150 140.0);
Tailwind
colors: {
  custom: {
    50: '#78a966',
    500: '#398526',
    950: '#000000',
  },
}
SCSS
$custom: #398526;
$custom-light: #78a966;
$custom-dark: #000000;
JSON
{
  "hex": "#398526",
  "rgb": {
    "r": 57,
    "g": 133,
    "b": 38
  },
  "hsl": {
    "h": 108,
    "s": 55.556,
    "l": 33.529
  },
  "oklch": {
    "l": 0.54844,
    "c": 0.14989,
    "h": 140
  },
  "luminance": 0.17785
}

Semantic roles & 50–950 ramp

primary
#398526
secondary
#A053B3
accent
#49DFC1
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #398526

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

Preview Lab → · Contrast checker → · Palette generator →

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