#398021#398021

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

Color values

HEX#398021
RGBrgb(57, 128, 33)
HSLhsl(105, 59%, 32%)
HSVhsv(105, 74%, 50%)
CMYKcmyk(55.5%, 0%, 74.2%, 49.8%)
CIE-LABlab(47.52, -40.28, 42.49)
CIE-LCHlch(47.52, 58.55, 133.47°)
OKLaboklab(53.42% -0.1109 0.0962)
OKLCHoklch(53.42% 0.147 139.1)
XYZxyz(9.6806, 16.4172, 4.0973)
Luminance0.1642 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398021 #682180
analogous
#698021 #398021 #218039
triadic
#398021 #213980 #802139
tetradic
#398021 #216980 #682180 #803921
square
#398021 #216980 #682180 #803921
split-complementary
#398021 #392180 #802169
monochromatic
#0E1F08 #234F14 #398021 #4FB12E #6DD14B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##398021#FFFFFF#000000##FFFFFF
##3980211.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)
#847411
Deuteranopia (green-blind)
#7B6E2A
Tritanopia (blue-blind)
#327C6D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #398021;
/* rgb */ color: rgb(57, 128, 33);
/* oklch */ color: oklch(53.4% 0.147 139.1);
Tailwind
colors: {
  custom: {
    50: '#77a563',
    500: '#398021',
    950: '#000000',
  },
}
SCSS
$custom: #398021;
$custom-light: #77a563;
$custom-dark: #000000;
JSON
{
  "hex": "#398021",
  "rgb": {
    "r": 57,
    "g": 128,
    "b": 33
  },
  "hsl": {
    "h": 104.842,
    "s": 59.006,
    "l": 31.569
  },
  "oklch": {
    "l": 0.53418,
    "c": 0.14682,
    "h": 139.1
  },
  "luminance": 0.16418
}

Semantic roles & 50–950 ramp

primary
#398021
secondary
#984AB3
accent
#46E2BB
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #398021

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

Preview Lab → · Contrast checker → · Palette generator →

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