#1F9045#1F9045

#1F9045 is a mid, vivid green. Relative luminance 0.207; OKLCH L 57.5% C 0.148 H 149.5°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#1F9045
RGBrgb(31, 144, 69)
HSLhsl(140, 65%, 34%)
HSVhsv(140, 78%, 56%)
CMYKcmyk(78.5%, 0%, 52.1%, 43.5%)
CIE-LABlab(52.58, -47.52, 31.10)
CIE-LCHlch(52.58, 56.79, 146.79°)
OKLaboklab(57.53% -0.1277 0.0753)
OKLCHoklch(57.53% 0.148 149.5)
XYZxyz(11.6115, 20.6661, 9.0061)
Luminance0.2067 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9045 #901F6A
analogous
#32901F #1F9045 #1F907E
triadic
#1F9045 #451F90 #90451F
tetradic
#1F9045 #1F3290 #901F6A #907E1F
square
#1F9045 #1F3290 #901F6A #907E1F
split-complementary
#1F9045 #7E1F90 #901F32
monochromatic
#092B15 #145E2D #1F9045 #2AC25D #50D97E

Accessibility & contrast

On white

4.09
#1F9045 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#1F9045 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9045
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9045#FFFFFF#000000##000000
##1F90451.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#91833F
Deuteranopia (green-blind)
#847A4B
Tritanopia (blue-blind)
#008D7F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #1f9045;
/* rgb */ color: rgb(31, 144, 69);
/* oklch */ color: oklch(57.5% 0.148 149.5);
Tailwind
colors: {
  custom: {
    50: '#6eb27a',
    500: '#1f9045',
    950: '#000000',
  },
}
SCSS
$custom: #1f9045;
$custom-light: #6eb27a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9045",
  "rgb": {
    "r": 31,
    "g": 144,
    "b": 69
  },
  "hsl": {
    "h": 140.177,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.57529,
    "c": 0.14822,
    "h": 149.5
  },
  "luminance": 0.20667
}

Semantic roles & 50–950 ramp

primary
#1F9045
secondary
#BC4E97
accent
#40AFE8
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#081109
muted
#7B807B

Preview Lab

Preview with #1F9045

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

Preview Lab → · Contrast checker → · Palette generator →

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