#1F904F#1F904F

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

Color values

HEX#1F904F
RGBrgb(31, 144, 79)
HSLhsl(145, 65%, 34%)
HSVhsv(145, 78%, 56%)
CMYKcmyk(78.5%, 0%, 45.1%, 43.5%)
CIE-LABlab(52.73, -45.78, 25.98)
CIE-LCHlch(52.73, 52.64, 150.43°)
OKLaboklab(57.7% -0.1231 0.064)
OKLCHoklch(57.7% 0.139 152.5)
XYZxyz(11.9485, 20.8009, 10.7809)
Luminance0.2080 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F904F #901F60
analogous
#28901F #1F904F #1F9088
triadic
#1F904F #4F1F90 #904F1F
tetradic
#1F904F #1F2890 #901F60 #90881F
square
#1F904F #1F2890 #901F60 #90881F
split-complementary
#1F904F #881F90 #901F28
monochromatic
#092B18 #145E33 #1F904F #2AC26B #50D98A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F904F#FFFFFF#000000##000000
##1F904F1.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)
#90834A
Deuteranopia (green-blind)
#837A53
Tritanopia (blue-blind)
#008E80
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #1f904f;
/* rgb */ color: rgb(31, 144, 79);
/* oklch */ color: oklch(57.7% 0.139 152.5);
Tailwind
colors: {
  custom: {
    50: '#6eb181',
    500: '#1f904f',
    950: '#000000',
  },
}
SCSS
$custom: #1f904f;
$custom-light: #6eb181;
$custom-dark: #000000;
JSON
{
  "hex": "#1f904f",
  "rgb": {
    "r": 31,
    "g": 144,
    "b": 79
  },
  "hsl": {
    "h": 145.487,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.57701,
    "c": 0.13877,
    "h": 152.5
  },
  "luminance": 0.20802
}

Semantic roles & 50–950 ramp

primary
#1F904F
secondary
#BC4E8E
accent
#40A0E8
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#08110A
muted
#7B807C

Preview Lab

Preview with #1F904F

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

Preview Lab → · Contrast checker → · Palette generator →

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