#1F9048#1F9048

#1F9048 is a mid, vivid green. Relative luminance 0.207; OKLCH L 57.6% C 0.145 H 150.3°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#1F9048
RGBrgb(31, 144, 72)
HSLhsl(142, 65%, 34%)
HSVhsv(142, 78%, 56%)
CMYKcmyk(78.5%, 0%, 50%, 43.5%)
CIE-LABlab(52.62, -47.02, 29.58)
CIE-LCHlch(52.62, 55.55, 147.82°)
OKLaboklab(57.58% -0.1263 0.072)
OKLCHoklch(57.58% 0.145 150.3)
XYZxyz(11.7070, 20.7043, 9.5090)
Luminance0.2071 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9048 #901F67
analogous
#2F901F #1F9048 #1F9081
triadic
#1F9048 #481F90 #90481F
tetradic
#1F9048 #1F2F90 #901F67 #90811F
square
#1F9048 #1F2F90 #901F67 #90811F
split-complementary
#1F9048 #811F90 #901F2F
monochromatic
#092B16 #145E2F #1F9048 #2AC261 #50D982

Accessibility & contrast

On white

4.08
#1F9048 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#1F9048 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9048
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9048#FFFFFF#000000##000000
##1F90481.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#918342
Deuteranopia (green-blind)
#847A4D
Tritanopia (blue-blind)
#008D7F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #1f9048;
/* rgb */ color: rgb(31, 144, 72);
/* oklch */ color: oklch(57.6% 0.145 150.3);
Tailwind
colors: {
  custom: {
    50: '#6eb27c',
    500: '#1f9048',
    950: '#000000',
  },
}
SCSS
$custom: #1f9048;
$custom-light: #6eb27c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9048",
  "rgb": {
    "r": 31,
    "g": 144,
    "b": 72
  },
  "hsl": {
    "h": 141.77,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.57578,
    "c": 0.14542,
    "h": 150.3
  },
  "luminance": 0.20706
}

Semantic roles & 50–950 ramp

primary
#1F9048
secondary
#BC4E94
accent
#40ABE8
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#081109
muted
#7B807B

Preview Lab

Preview with #1F9048

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

Preview Lab → · Contrast checker → · Palette generator →

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