#1F8935#1F8935

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

Color values

HEX#1F8935
RGBrgb(31, 137, 53)
HSLhsl(132, 63%, 33%)
HSVhsv(132, 77%, 54%)
CMYKcmyk(77.4%, 0%, 61.3%, 46.3%)
CIE-LABlab(50.02, -47.35, 36.11)
CIE-LCHlch(50.02, 59.54, 142.67°)
OKLaboklab(55.35% -0.1275 0.0852)
OKLCHoklch(55.35% 0.153 146.3)
XYZxyz(10.1526, 18.4385, 6.3914)
Luminance0.1844 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8935 #891F73
analogous
#3E891F #1F8935 #1F896A
triadic
#1F8935 #351F89 #89351F
tetradic
#1F8935 #1F3E89 #891F73 #896A1F
square
#1F8935 #1F3E89 #891F73 #896A1F
split-complementary
#1F8935 #6A1F89 #891F3E
monochromatic
#08250E #145722 #1F8935 #2ABB48 #4CD669

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F8935#FFFFFF#000000##000000
##1F89351.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)
#8B7C2C
Deuteranopia (green-blind)
#7F743C
Tritanopia (blue-blind)
#008677
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #1f8935;
/* rgb */ color: rgb(31, 137, 53);
/* oklch */ color: oklch(55.3% 0.153 146.3);
Tailwind
colors: {
  custom: {
    50: '#6dac6f',
    500: '#1f8935',
    950: '#000000',
  },
}
SCSS
$custom: #1f8935;
$custom-light: #6dac6f;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8935",
  "rgb": {
    "r": 31,
    "g": 137,
    "b": 53
  },
  "hsl": {
    "h": 132.453,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.55345,
    "c": 0.15337,
    "h": 146.3
  },
  "luminance": 0.1844
}

Semantic roles & 50–950 ramp

primary
#1F8935
secondary
#B94BA2
accent
#42C4E6
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #1F8935

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

Preview Lab → · Contrast checker → · Palette generator →

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