#398914#398914

#398914 is a mid, vivid green. Relative luminance 0.188; OKLCH L 55.8% C 0.165 H 138.5°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#398914
RGBrgb(57, 137, 20)
HSLhsl(101, 75%, 31%)
HSVhsv(101, 85%, 54%)
CMYKcmyk(58.4%, 0%, 85.4%, 46.3%)
CIE-LABlab(50.47, -44.62, 49.67)
CIE-LCHlch(50.47, 66.76, 131.94°)
OKLaboklab(55.83% -0.1233 0.1093)
OKLCHoklch(55.83% 0.165 138.5)
XYZxyz(10.7589, 18.8108, 3.7256)
Luminance0.1881 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398914 #641489
analogous
#738914 #398914 #14892A
triadic
#398914 #143989 #891439
tetradic
#398914 #147389 #641489 #892A14
square
#398914 #147389 #641489 #892A14
split-complementary
#398914 #2A1489 #891473
monochromatic
#0D1E04 #23540C #398914 #4FBE1C #6CE236

Accessibility & contrast

On white

4.41
#398914 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#398914 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398914
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398914#FFFFFF#000000##000000
##3989141.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#837623
Tritanopia (blue-blind)
#318474
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #398914;
/* rgb */ color: rgb(57, 137, 20);
/* oklch */ color: oklch(55.8% 0.165 138.5);
Tailwind
colors: {
  custom: {
    50: '#7aac5e',
    500: '#398914',
    950: '#000000',
  },
}
SCSS
$custom: #398914;
$custom-light: #7aac5e;
$custom-dark: #000000;
JSON
{
  "hex": "#398914",
  "rgb": {
    "r": 57,
    "g": 137,
    "b": 20
  },
  "hsl": {
    "h": 101.026,
    "s": 74.522,
    "l": 30.784
  },
  "oklch": {
    "l": 0.55827,
    "c": 0.16479,
    "h": 138.5
  },
  "luminance": 0.18812
}

Semantic roles & 50–950 ramp

primary
#398914
secondary
#943CBD
accent
#37F1B6
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #398914

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

Preview Lab → · Contrast checker → · Palette generator →

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