#398314#398314

#398314 is a mid, vivid green. Relative luminance 0.172; OKLCH L 54.2% C 0.158 H 138.0°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#398314
RGBrgb(57, 131, 20)
HSLhsl(100, 74%, 30%)
HSVhsv(100, 85%, 51%)
CMYKcmyk(56.5%, 0%, 84.7%, 48.6%)
CIE-LABlab(48.45, -42.32, 47.84)
CIE-LCHlch(48.45, 63.87, 131.50°)
OKLaboklab(54.16% -0.1172 0.1055)
OKLCHoklch(54.16% 0.158 138)
XYZxyz(9.9296, 17.1522, 3.4491)
Luminance0.1715 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398314 #5E1483
analogous
#718314 #398314 #148327
triadic
#398314 #143983 #831439
tetradic
#398314 #147183 #5E1483 #832714
square
#398314 #147183 #5E1483 #832714
split-complementary
#398314 #271483 #831471
monochromatic
#0C1B04 #224E0C #398314 #50B81C #6CE032

Accessibility & contrast

On white

4.74
#398314 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#398314 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #398314
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398314#FFFFFF#000000##FFFFFF
##3983141.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877700
Deuteranopia (green-blind)
#7E7122
Tritanopia (blue-blind)
#337E6F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #398314;
/* rgb */ color: rgb(57, 131, 20);
/* oklch */ color: oklch(54.2% 0.158 138.0);
Tailwind
colors: {
  custom: {
    50: '#78a85d',
    500: '#398314',
    950: '#000000',
  },
}
SCSS
$custom: #398314;
$custom-light: #78a85d;
$custom-dark: #000000;
JSON
{
  "hex": "#398314",
  "rgb": {
    "r": 57,
    "g": 131,
    "b": 20
  },
  "hsl": {
    "h": 100,
    "s": 73.51,
    "l": 29.608
  },
  "oklch": {
    "l": 0.54164,
    "c": 0.15764,
    "h": 138
  },
  "luminance": 0.17153
}

Semantic roles & 50–950 ramp

primary
#398314
secondary
#8E3BB8
accent
#38F0B3
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #398314

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

Preview Lab → · Contrast checker → · Palette generator →

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