#1F903E#1F903E

#1F903E is a mid, vivid green. Relative luminance 0.206; OKLCH L 57.4% C 0.155 H 147.7°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#1F903E
RGBrgb(31, 144, 62)
HSLhsl(136, 65%, 34%)
HSVhsv(136, 78%, 56%)
CMYKcmyk(78.5%, 0%, 56.9%, 43.5%)
CIE-LABlab(52.49, -48.59, 34.57)
CIE-LCHlch(52.49, 59.64, 144.57°)
OKLaboklab(57.43% -0.1307 0.0826)
OKLCHoklch(57.43% 0.155 147.7)
XYZxyz(11.4069, 20.5843, 7.9285)
Luminance0.2059 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F903E #901F71
analogous
#39901F #1F903E #1F9077
triadic
#1F903E #3E1F90 #903E1F
tetradic
#1F903E #1F3990 #901F71 #90771F
square
#1F903E #1F3990 #901F71 #90771F
split-complementary
#1F903E #771F90 #901F39
monochromatic
#092B13 #145E28 #1F903E #2AC254 #50D976

Accessibility & contrast

On white

4.10
#1F903E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#1F903E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F903E
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F903E#FFFFFF#000000##000000
##1F903E1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#928336
Deuteranopia (green-blind)
#857A44
Tritanopia (blue-blind)
#008D7E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #1f903e;
/* rgb */ color: rgb(31, 144, 62);
/* oklch */ color: oklch(57.4% 0.155 147.7);
Tailwind
colors: {
  custom: {
    50: '#6eb275',
    500: '#1f903e',
    950: '#000000',
  },
}
SCSS
$custom: #1f903e;
$custom-light: #6eb275;
$custom-dark: #000000;
JSON
{
  "hex": "#1f903e",
  "rgb": {
    "r": 31,
    "g": 144,
    "b": 62
  },
  "hsl": {
    "h": 136.46,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.57425,
    "c": 0.15455,
    "h": 147.7
  },
  "luminance": 0.20586
}

Semantic roles & 50–950 ramp

primary
#1F903E
secondary
#BC4E9E
accent
#40BAE8
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#081108
muted
#7B807B

Preview Lab

Preview with #1F903E

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

Preview Lab → · Contrast checker → · Palette generator →

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