#398022#398022

#398022 is a mid, vivid green. Relative luminance 0.164; OKLCH L 53.4% C 0.146 H 139.2°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#398022
RGBrgb(57, 128, 34)
HSLhsl(105, 58%, 32%)
HSVhsv(105, 73%, 50%)
CMYKcmyk(55.5%, 0%, 73.4%, 49.8%)
CIE-LABlab(47.52, -40.20, 42.10)
CIE-LCHlch(47.52, 58.21, 133.67°)
OKLaboklab(53.43% -0.1106 0.0955)
OKLCHoklch(53.43% 0.146 139.2)
XYZxyz(9.6949, 16.4229, 4.1721)
Luminance0.1642 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398022 #692280
analogous
#688022 #398022 #22803A
triadic
#398022 #223980 #802239
tetradic
#398022 #226880 #692280 #803A22
square
#398022 #226880 #692280 #803A22
split-complementary
#398022 #3A2280 #802268
monochromatic
#0E1F08 #235015 #398022 #4FB02F #6DD04D

Accessibility & contrast

On white

4.90
#398022 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#398022 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #398022
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398022#FFFFFF#000000##FFFFFF
##3980221.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847413
Deuteranopia (green-blind)
#7B6E2B
Tritanopia (blue-blind)
#327C6D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #398022;
/* rgb */ color: rgb(57, 128, 34);
/* oklch */ color: oklch(53.4% 0.146 139.2);
Tailwind
colors: {
  custom: {
    50: '#77a563',
    500: '#398022',
    950: '#000000',
  },
}
SCSS
$custom: #398022;
$custom-light: #77a563;
$custom-dark: #000000;
JSON
{
  "hex": "#398022",
  "rgb": {
    "r": 57,
    "g": 128,
    "b": 34
  },
  "hsl": {
    "h": 105.319,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.53426,
    "c": 0.14616,
    "h": 139.2
  },
  "luminance": 0.16424
}

Semantic roles & 50–950 ramp

primary
#398022
secondary
#994BB2
accent
#47E1BB
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #398022

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

Preview Lab → · Contrast checker → · Palette generator →

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