#1F9054#1F9054

#1F9054 is a mid, vivid green. Relative luminance 0.209; OKLCH L 57.8% C 0.134 H 154.3°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#1F9054
RGBrgb(31, 144, 84)
HSLhsl(148, 65%, 34%)
HSVhsv(148, 78%, 56%)
CMYKcmyk(78.5%, 0%, 41.7%, 43.5%)
CIE-LABlab(52.81, -44.83, 23.36)
CIE-LCHlch(52.81, 50.55, 152.48°)
OKLaboklab(57.8% -0.1207 0.0581)
OKLCHoklch(57.8% 0.134 154.3)
XYZxyz(12.1374, 20.8765, 11.7757)
Luminance0.2088 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9054 #901F5B
analogous
#22901F #1F9054 #1F908D
triadic
#1F9054 #541F90 #90541F
tetradic
#1F9054 #1F2290 #901F5B #908D1F
square
#1F9054 #1F2290 #901F5B #908D1F
split-complementary
#1F9054 #8D1F90 #901F22
monochromatic
#092B19 #145E37 #1F9054 #2AC271 #50D990

Accessibility & contrast

On white

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

On black

5.18
#1F9054 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9054
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9054#FFFFFF#000000##000000
##1F90541.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#908450
Deuteranopia (green-blind)
#827A58
Tritanopia (blue-blind)
#008E81
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #1f9054;
/* rgb */ color: rgb(31, 144, 84);
/* oklch */ color: oklch(57.8% 0.134 154.3);
Tailwind
colors: {
  custom: {
    50: '#6eb185',
    500: '#1f9054',
    950: '#000000',
  },
}
SCSS
$custom: #1f9054;
$custom-light: #6eb185;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9054",
  "rgb": {
    "r": 31,
    "g": 144,
    "b": 84
  },
  "hsl": {
    "h": 148.142,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.57797,
    "c": 0.13397,
    "h": 154.3
  },
  "luminance": 0.20878
}

Semantic roles & 50–950 ramp

primary
#1F9054
secondary
#BC4E89
accent
#4099E8
background
#F7FBF8
surface
#EDF6EF
border
#C8D0CA
text
#08110B
muted
#7B807C

Preview Lab

Preview with #1F9054

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

Preview Lab → · Contrast checker → · Palette generator →

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