#1F9030#1F9030

#1F9030 is a mid, vivid green. Relative luminance 0.205; OKLCH L 57.3% C 0.166 H 145.0°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#1F9030
RGBrgb(31, 144, 48)
HSLhsl(129, 65%, 34%)
HSVhsv(129, 78%, 56%)
CMYKcmyk(78.5%, 0%, 66.7%, 43.5%)
CIE-LABlab(52.34, -50.39, 41.06)
CIE-LCHlch(52.34, 65.00, 140.83°)
OKLaboklab(57.25% -0.136 0.0953)
OKLCHoklch(57.25% 0.166 145)
XYZxyz(11.0711, 20.4499, 6.1595)
Luminance0.2045 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9030 #901F7F
analogous
#46901F #1F9030 #1F9069
triadic
#1F9030 #301F90 #90301F
tetradic
#1F9030 #1F4690 #901F7F #90691F
square
#1F9030 #1F4690 #901F7F #90691F
split-complementary
#1F9030 #691F90 #901F46
monochromatic
#092B0E #145E1F #1F9030 #2AC241 #50D965

Accessibility & contrast

On white

4.13
#1F9030 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#1F9030 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9030
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9030#FFFFFF#000000##000000
##1F90301.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#928224
Deuteranopia (green-blind)
#867939
Tritanopia (blue-blind)
#008C7C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #1f9030;
/* rgb */ color: rgb(31, 144, 48);
/* oklch */ color: oklch(57.3% 0.166 145.0);
Tailwind
colors: {
  custom: {
    50: '#6fb26d',
    500: '#1f9030',
    950: '#000000',
  },
}
SCSS
$custom: #1f9030;
$custom-light: #6fb26d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9030",
  "rgb": {
    "r": 31,
    "g": 144,
    "b": 48
  },
  "hsl": {
    "h": 129.027,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.57253,
    "c": 0.16604,
    "h": 145
  },
  "luminance": 0.20451
}

Semantic roles & 50–950 ramp

primary
#1F9030
secondary
#BC4EAC
accent
#40CEE8
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #1F9030

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

Preview Lab → · Contrast checker → · Palette generator →

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