#398118#398118

#398118 is a mid, vivid green. Relative luminance 0.166; OKLCH L 53.6% C 0.153 H 138.2°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#398118
RGBrgb(57, 129, 24)
HSLhsl(101, 69%, 30%)
HSVhsv(101, 81%, 51%)
CMYKcmyk(55.8%, 0%, 81.4%, 49.4%)
CIE-LABlab(47.80, -41.31, 46.02)
CIE-LCHlch(47.80, 61.84, 131.92°)
OKLaboklab(53.63% -0.1143 0.1022)
OKLCHoklch(53.63% 0.153 138.2)
XYZxyz(9.7021, 16.6355, 3.5637)
Luminance0.1664 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398118 #601881
analogous
#6D8118 #398118 #18812C
triadic
#398118 #183981 #811839
tetradic
#398118 #186D81 #601881 #812C18
square
#398118 #186D81 #601881 #812C18
split-complementary
#398118 #2C1881 #81186D
monochromatic
#0B1A05 #224D0E #398118 #50B522 #6CDA39

Accessibility & contrast

On white

4.85
#398118 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#398118 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #398118
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398118#FFFFFF#000000##FFFFFF
##3981181.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#7C6F24
Tritanopia (blue-blind)
#337C6E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #398118;
/* rgb */ color: rgb(57, 129, 24);
/* oklch */ color: oklch(53.6% 0.153 138.2);
Tailwind
colors: {
  custom: {
    50: '#78a65e',
    500: '#398118',
    950: '#000000',
  },
}
SCSS
$custom: #398118;
$custom-light: #78a65e;
$custom-dark: #000000;
JSON
{
  "hex": "#398118",
  "rgb": {
    "r": 57,
    "g": 129,
    "b": 24
  },
  "hsl": {
    "h": 101.143,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.53631,
    "c": 0.15332,
    "h": 138.2
  },
  "luminance": 0.16636
}

Semantic roles & 50–950 ramp

primary
#398118
secondary
#9040B5
accent
#3CEBB4
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #398118

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

Preview Lab → · Contrast checker → · Palette generator →

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