#398722#398722

#398722 is a mid, vivid green. Relative luminance 0.183; OKLCH L 55.4% C 0.155 H 139.6°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#398722
RGBrgb(57, 135, 34)
HSLhsl(106, 60%, 33%)
HSVhsv(106, 75%, 53%)
CMYKcmyk(57.8%, 0%, 74.8%, 47.1%)
CIE-LABlab(49.87, -42.96, 44.49)
CIE-LCHlch(49.87, 61.85, 134.00°)
OKLaboklab(55.36% -0.1181 0.1005)
OKLCHoklch(55.36% 0.155 139.6)
XYZxyz(10.6396, 18.3124, 4.4870)
Luminance0.1831 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398722 #702287
analogous
#6B8722 #398722 #22873E
triadic
#398722 #223987 #872239
tetradic
#398722 #226B87 #702287 #873E22
square
#398722 #226B87 #702287 #873E22
split-complementary
#398722 #3E2287 #87226B
monochromatic
#102509 #245616 #398722 #4EB82E #6ED350

Accessibility & contrast

On white

4.50
#398722 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#398722 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398722
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398722#FFFFFF#000000##000000
##3987221.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B10
Deuteranopia (green-blind)
#81742C
Tritanopia (blue-blind)
#308273
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #398722;
/* rgb */ color: rgb(57, 135, 34);
/* oklch */ color: oklch(55.4% 0.155 139.6);
Tailwind
colors: {
  custom: {
    50: '#78ab64',
    500: '#398722',
    950: '#000000',
  },
}
SCSS
$custom: #398722;
$custom-light: #78ab64;
$custom-dark: #000000;
JSON
{
  "hex": "#398722",
  "rgb": {
    "r": 57,
    "g": 135,
    "b": 34
  },
  "hsl": {
    "h": 106.337,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.55363,
    "c": 0.15509,
    "h": 139.6
  },
  "luminance": 0.18313
}

Semantic roles & 50–950 ramp

primary
#398722
secondary
#9F4EB7
accent
#45E3BF
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #398722

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

Preview Lab → · Contrast checker → · Palette generator →

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