#1F9051#1F9051

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

Color values

HEX#1F9051
RGBrgb(31, 144, 81)
HSLhsl(147, 65%, 34%)
HSVhsv(147, 78%, 56%)
CMYKcmyk(78.5%, 0%, 43.8%, 43.5%)
CIE-LABlab(52.76, -45.41, 24.93)
CIE-LCHlch(52.76, 51.80, 151.23°)
OKLaboklab(57.74% -0.1222 0.0617)
OKLCHoklch(57.74% 0.137 153.2)
XYZxyz(12.0224, 20.8305, 11.1700)
Luminance0.2083 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9051 #901F5E
analogous
#26901F #1F9051 #1F908A
triadic
#1F9051 #511F90 #90511F
tetradic
#1F9051 #1F2690 #901F5E #908A1F
square
#1F9051 #1F2690 #901F5E #908A1F
split-complementary
#1F9051 #8A1F90 #901F26
monochromatic
#092B18 #145E35 #1F9051 #2AC26D #50D98D

Accessibility & contrast

On white

4.06
#1F9051 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#1F9051 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9051
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9051#FFFFFF#000000##000000
##1F90511.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#90844C
Deuteranopia (green-blind)
#837A55
Tritanopia (blue-blind)
#008E81
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #1f9051;
/* rgb */ color: rgb(31, 144, 81);
/* oklch */ color: oklch(57.7% 0.137 153.2);
Tailwind
colors: {
  custom: {
    50: '#6eb182',
    500: '#1f9051',
    950: '#000000',
  },
}
SCSS
$custom: #1f9051;
$custom-light: #6eb182;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9051",
  "rgb": {
    "r": 31,
    "g": 144,
    "b": 81
  },
  "hsl": {
    "h": 146.549,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.57738,
    "c": 0.13685,
    "h": 153.2
  },
  "luminance": 0.20832
}

Semantic roles & 50–950 ramp

primary
#1F9051
secondary
#BC4E8C
accent
#409EE8
background
#F7FBF8
surface
#EDF6EF
border
#C8D0CA
text
#08110A
muted
#7B807C

Preview Lab

Preview with #1F9051

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

Preview Lab → · Contrast checker → · Palette generator →

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