#3F8B23#3F8B23

#3F8B23 is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.7% C 0.157 H 138.8°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#3F8B23
RGBrgb(63, 139, 35)
HSLhsl(104, 60%, 34%)
HSVhsv(104, 75%, 55%)
CMYKcmyk(54.7%, 0%, 74.8%, 45.5%)
CIE-LABlab(51.43, -42.74, 45.75)
CIE-LCHlch(51.43, 62.61, 133.05°)
OKLaboklab(56.71% -0.1178 0.1032)
OKLCHoklch(56.71% 0.157 138.8)
XYZxyz(11.5854, 19.6424, 4.7706)
Luminance0.1964 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F8B23 #6F238B
analogous
#738B23 #3F8B23 #238B3B
triadic
#3F8B23 #233F8B #8B233F
tetradic
#3F8B23 #23738B #6F238B #8B3B23
square
#3F8B23 #23738B #6F238B #8B3B23
split-complementary
#3F8B23 #3B238B #8B2373
monochromatic
#13290A #295A17 #3F8B23 #55BC2F #77D454

Accessibility & contrast

On white

4.26
#3F8B23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#3F8B23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F8B23
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F8B23#FFFFFF#000000##000000
##3F8B231.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E10
Deuteranopia (green-blind)
#86782E
Tritanopia (blue-blind)
#388677
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #3f8b23;
/* rgb */ color: rgb(63, 139, 35);
/* oklch */ color: oklch(56.7% 0.157 138.8);
Tailwind
colors: {
  custom: {
    50: '#7cad65',
    500: '#3f8b23',
    950: '#000000',
  },
}
SCSS
$custom: #3f8b23;
$custom-light: #7cad65;
$custom-dark: #000000;
JSON
{
  "hex": "#3f8b23",
  "rgb": {
    "r": 63,
    "g": 139,
    "b": 35
  },
  "hsl": {
    "h": 103.846,
    "s": 59.77,
    "l": 34.118
  },
  "oklch": {
    "l": 0.5671,
    "c": 0.15665,
    "h": 138.8
  },
  "luminance": 0.19643
}

Semantic roles & 50–950 ramp

primary
#3F8B23
secondary
#9C52B8
accent
#45E3B8
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #3F8B23

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

Preview Lab → · Contrast checker → · Palette generator →

#3F8B23 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva