#1F904E#1F904E

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

Color values

HEX#1F904E
RGBrgb(31, 144, 78)
HSLhsl(145, 65%, 34%)
HSVhsv(145, 78%, 56%)
CMYKcmyk(78.5%, 0%, 45.8%, 43.5%)
CIE-LABlab(52.72, -45.96, 26.50)
CIE-LCHlch(52.72, 53.05, 150.04°)
OKLaboklab(57.68% -0.1236 0.0652)
OKLCHoklch(57.68% 0.14 152.2)
XYZxyz(11.9124, 20.7865, 10.5906)
Luminance0.2079 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F904E #901F61
analogous
#29901F #1F904E #1F9087
triadic
#1F904E #4E1F90 #904E1F
tetradic
#1F904E #1F2990 #901F61 #90871F
square
#1F904E #1F2990 #901F61 #90871F
split-complementary
#1F904E #871F90 #901F29
monochromatic
#092B17 #145E33 #1F904E #2AC269 #50D989

Accessibility & contrast

On white

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

On black

5.16
#1F904E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F904E
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F904E#FFFFFF#000000##000000
##1F904E1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f904e;
/* rgb */ color: rgb(31, 144, 78);
/* oklch */ color: oklch(57.7% 0.140 152.2);
Tailwind
colors: {
  custom: {
    50: '#6eb180',
    500: '#1f904e',
    950: '#000000',
  },
}
SCSS
$custom: #1f904e;
$custom-light: #6eb180;
$custom-dark: #000000;
JSON
{
  "hex": "#1f904e",
  "rgb": {
    "r": 31,
    "g": 144,
    "b": 78
  },
  "hsl": {
    "h": 144.956,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.57683,
    "c": 0.13973,
    "h": 152.2
  },
  "luminance": 0.20788
}

Semantic roles & 50–950 ramp

primary
#1F904E
secondary
#BC4E8F
accent
#40A2E8
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#08110A
muted
#7B807C

Preview Lab

Preview with #1F904E

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

Preview Lab → · Contrast checker → · Palette generator →

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