#1F8934#1F8934

#1F8934 is a mid, vivid green. Relative luminance 0.184; OKLCH L 55.3% C 0.154 H 146.1°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#1F8934
RGBrgb(31, 137, 52)
HSLhsl(132, 63%, 33%)
HSVhsv(132, 77%, 54%)
CMYKcmyk(77.4%, 0%, 62%, 46.3%)
CIE-LABlab(50.01, -47.48, 36.58)
CIE-LCHlch(50.01, 59.93, 142.39°)
OKLaboklab(55.33% -0.1279 0.0861)
OKLCHoklch(55.33% 0.154 146.1)
XYZxyz(10.1298, 18.4294, 6.2715)
Luminance0.1843 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8934 #891F74
analogous
#3F891F #1F8934 #1F8969
triadic
#1F8934 #341F89 #89341F
tetradic
#1F8934 #1F3F89 #891F74 #89691F
square
#1F8934 #1F3F89 #891F74 #89691F
split-complementary
#1F8934 #691F89 #891F3F
monochromatic
#08250E #145721 #1F8934 #2ABB47 #4CD667

Accessibility & contrast

On white

4.48
#1F8934 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#1F8934 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8934
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8934#FFFFFF#000000##000000
##1F89341.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7C2B
Deuteranopia (green-blind)
#7F743B
Tritanopia (blue-blind)
#008677
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #1f8934;
/* rgb */ color: rgb(31, 137, 52);
/* oklch */ color: oklch(55.3% 0.154 146.1);
Tailwind
colors: {
  custom: {
    50: '#6dac6e',
    500: '#1f8934',
    950: '#000000',
  },
}
SCSS
$custom: #1f8934;
$custom-light: #6dac6e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8934",
  "rgb": {
    "r": 31,
    "g": 137,
    "b": 52
  },
  "hsl": {
    "h": 131.887,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.55333,
    "c": 0.15421,
    "h": 146.1
  },
  "luminance": 0.18431
}

Semantic roles & 50–950 ramp

primary
#1F8934
secondary
#B94BA3
accent
#42C6E6
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #1F8934

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

Preview Lab → · Contrast checker → · Palette generator →

#1F8934 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva