#1F904D#1F904D

#1F904D is a mid, vivid green. Relative luminance 0.208; OKLCH L 57.7% C 0.141 H 151.9°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#1F904D
RGBrgb(31, 144, 77)
HSLhsl(144, 65%, 34%)
HSVhsv(144, 78%, 56%)
CMYKcmyk(78.5%, 0%, 46.5%, 43.5%)
CIE-LABlab(52.70, -46.15, 27.01)
CIE-LCHlch(52.70, 53.47, 149.65°)
OKLaboklab(57.66% -0.124 0.0664)
OKLCHoklch(57.66% 0.141 151.9)
XYZxyz(11.8768, 20.7722, 10.4032)
Luminance0.2077 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F904D #901F62
analogous
#2A901F #1F904D #1F9086
triadic
#1F904D #4D1F90 #904D1F
tetradic
#1F904D #1F2A90 #901F62 #90861F
square
#1F904D #1F2A90 #901F62 #90861F
split-complementary
#1F904D #861F90 #901F2A
monochromatic
#092B17 #145E32 #1F904D #2AC268 #50D988

Accessibility & contrast

On white

4.07
#1F904D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#1F904D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F904D
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F904D#FFFFFF#000000##000000
##1F904D1.004.075.155.15
#FFFFFF4.071.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#908348
Deuteranopia (green-blind)
#837A52
Tritanopia (blue-blind)
#008E80
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #1f904d;
/* rgb */ color: rgb(31, 144, 77);
/* oklch */ color: oklch(57.7% 0.141 151.9);
Tailwind
colors: {
  custom: {
    50: '#6eb180',
    500: '#1f904d',
    950: '#000000',
  },
}
SCSS
$custom: #1f904d;
$custom-light: #6eb180;
$custom-dark: #000000;
JSON
{
  "hex": "#1f904d",
  "rgb": {
    "r": 31,
    "g": 144,
    "b": 77
  },
  "hsl": {
    "h": 144.425,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.57664,
    "c": 0.14069,
    "h": 151.9
  },
  "luminance": 0.20774
}

Semantic roles & 50–950 ramp

primary
#1F904D
secondary
#BC4E90
accent
#40A3E8
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#08110A
muted
#7B807C

Preview Lab

Preview with #1F904D

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

Preview Lab → · Contrast checker → · Palette generator →

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