#3D931F#3D931F

#3D931F is a mid, vivid green. Relative luminance 0.220; OKLCH L 58.8% C 0.170 H 139.2°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#3D931F
RGBrgb(61, 147, 31)
HSLhsl(104, 65%, 35%)
HSVhsv(104, 79%, 58%)
CMYKcmyk(58.5%, 0%, 78.9%, 42.4%)
CIE-LABlab(53.98, -46.67, 49.66)
CIE-LCHlch(53.98, 68.15, 133.22°)
OKLaboklab(58.79% -0.1285 0.1109)
OKLCHoklch(58.79% 0.17 139.2)
XYZxyz(12.6050, 21.9574, 4.8700)
Luminance0.2196 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D931F #751F93
analogous
#77931F #3D931F #1F933B
triadic
#3D931F #1F3D93 #931F3D
tetradic
#3D931F #1F7793 #751F93 #933B1F
square
#3D931F #1F7793 #751F93 #933B1F
split-complementary
#3D931F #3B1F93 #931F77
monochromatic
#132E0A #286014 #3D931F #52C62A #75DA52

Accessibility & contrast

On white

3.89
#3D931F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#3D931F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3D931F
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D931F#FFFFFF#000000##000000
##3D931F1.003.895.395.39
#FFFFFF3.891.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#978501
Deuteranopia (green-blind)
#8D7E2C
Tritanopia (blue-blind)
#348E7D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #3d931f;
/* rgb */ color: rgb(61, 147, 31);
/* oklch */ color: oklch(58.8% 0.170 139.2);
Tailwind
colors: {
  custom: {
    50: '#7db364',
    500: '#3d931f',
    950: '#000000',
  },
}
SCSS
$custom: #3d931f;
$custom-light: #7db364;
$custom-dark: #000000;
JSON
{
  "hex": "#3d931f",
  "rgb": {
    "r": 61,
    "g": 147,
    "b": 31
  },
  "hsl": {
    "h": 104.483,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.58787,
    "c": 0.16972,
    "h": 139.2
  },
  "luminance": 0.21958
}

Semantic roles & 50–950 ramp

primary
#3D931F
secondary
#A150BE
accent
#40E8BD
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #3D931F

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

Preview Lab → · Contrast checker → · Palette generator →

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