#3F8A23#3F8A23

#3F8A23 is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.4% C 0.155 H 138.7°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#3F8A23
RGBrgb(63, 138, 35)
HSLhsl(104, 60%, 34%)
HSVhsv(104, 75%, 54%)
CMYKcmyk(54.3%, 0%, 74.6%, 45.9%)
CIE-LABlab(51.10, -42.34, 45.42)
CIE-LCHlch(51.10, 62.09, 132.99°)
OKLaboklab(56.44% -0.1167 0.1026)
OKLCHoklch(56.44% 0.155 138.7)
XYZxyz(11.4413, 19.3542, 4.7226)
Luminance0.1935 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F8A23 #6E238A
analogous
#738A23 #3F8A23 #238A3A
triadic
#3F8A23 #233F8A #8A233F
tetradic
#3F8A23 #23738A #6E238A #8A3A23
square
#3F8A23 #23738A #6E238A #8A3A23
split-complementary
#3F8A23 #3A238A #8A2373
monochromatic
#12280A #295917 #3F8A23 #55BB2F #77D454

Accessibility & contrast

On white

4.31
#3F8A23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#3F8A23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F8A23
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F8A23#FFFFFF#000000##000000
##3F8A231.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E10
Deuteranopia (green-blind)
#85772D
Tritanopia (blue-blind)
#388576
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #3f8a23;
/* rgb */ color: rgb(63, 138, 35);
/* oklch */ color: oklch(56.4% 0.155 138.7);
Tailwind
colors: {
  custom: {
    50: '#7cad65',
    500: '#3f8a23',
    950: '#000000',
  },
}
SCSS
$custom: #3f8a23;
$custom-light: #7cad65;
$custom-dark: #000000;
JSON
{
  "hex": "#3f8a23",
  "rgb": {
    "r": 63,
    "g": 138,
    "b": 35
  },
  "hsl": {
    "h": 103.689,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.56437,
    "c": 0.15539,
    "h": 138.7
  },
  "luminance": 0.19355
}

Semantic roles & 50–950 ramp

primary
#3F8A23
secondary
#9C51B7
accent
#45E3B8
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #3F8A23

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

Preview Lab → · Contrast checker → · Palette generator →

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