#1F8A35#1F8A35

#1F8A35 is a mid, vivid green. Relative luminance 0.187; OKLCH L 55.6% C 0.155 H 146.2°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#1F8A35
RGBrgb(31, 138, 53)
HSLhsl(132, 63%, 33%)
HSVhsv(132, 78%, 54%)
CMYKcmyk(77.5%, 0%, 61.6%, 45.9%)
CIE-LABlab(50.36, -47.70, 36.50)
CIE-LCHlch(50.36, 60.06, 142.58°)
OKLaboklab(55.63% -0.1285 0.086)
OKLCHoklch(55.63% 0.155 146.2)
XYZxyz(10.2954, 18.7241, 6.4390)
Luminance0.1872 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8A35 #8A1F74
analogous
#3F8A1F #1F8A35 #1F8A6A
triadic
#1F8A35 #351F8A #8A351F
tetradic
#1F8A35 #1F3F8A #8A1F74 #8A6A1F
square
#1F8A35 #1F3F8A #8A1F74 #8A6A1F
split-complementary
#1F8A35 #6A1F8A #8A1F3F
monochromatic
#09260F #145822 #1F8A35 #2ABC48 #4CD769

Accessibility & contrast

On white

4.43
#1F8A35 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#1F8A35 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8A35
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8A35#FFFFFF#000000##000000
##1F8A351.004.434.754.75
#FFFFFF4.431.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7D2C
Deuteranopia (green-blind)
#80753C
Tritanopia (blue-blind)
#008778
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #1f8a35;
/* rgb */ color: rgb(31, 138, 53);
/* oklch */ color: oklch(55.6% 0.155 146.2);
Tailwind
colors: {
  custom: {
    50: '#6dad6f',
    500: '#1f8a35',
    950: '#000000',
  },
}
SCSS
$custom: #1f8a35;
$custom-light: #6dad6f;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8a35",
  "rgb": {
    "r": 31,
    "g": 138,
    "b": 53
  },
  "hsl": {
    "h": 132.336,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.55626,
    "c": 0.15464,
    "h": 146.2
  },
  "luminance": 0.18725
}

Semantic roles & 50–950 ramp

primary
#1F8A35
secondary
#BA4BA3
accent
#41C4E6
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #1F8A35

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

Preview Lab → · Contrast checker → · Palette generator →

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