#1F9630#1F9630

#1F9630 is a mid, vivid green. Relative luminance 0.223; OKLCH L 58.9% C 0.173 H 144.8°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#1F9630
RGBrgb(31, 150, 48)
HSLhsl(129, 66%, 35%)
HSVhsv(129, 79%, 59%)
CMYKcmyk(79.3%, 0%, 68%, 41.2%)
CIE-LABlab(54.36, -52.42, 43.26)
CIE-LCHlch(54.36, 67.97, 140.46°)
OKLaboklab(58.93% -0.1415 0.0999)
OKLCHoklch(58.93% 0.173 144.8)
XYZxyz(12.0041, 22.3160, 6.4705)
Luminance0.2232 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9630 #961F85
analogous
#4A961F #1F9630 #1F966B
triadic
#1F9630 #301F96 #96301F
tetradic
#1F9630 #1F4A96 #961F85 #966B1F
square
#1F9630 #1F4A96 #961F85 #966B1F
split-complementary
#1F9630 #6B1F96 #961F4A
monochromatic
#0A3110 #156320 #1F9630 #29C940 #54DC67

Accessibility & contrast

On white

3.84
#1F9630 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#1F9630 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9630
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9630#FFFFFF#000000##000000
##1F96301.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#998822
Deuteranopia (green-blind)
#8C7E39
Tritanopia (blue-blind)
#009281
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #1f9630;
/* rgb */ color: rgb(31, 150, 48);
/* oklch */ color: oklch(58.9% 0.173 144.8);
Tailwind
colors: {
  custom: {
    50: '#70b66d',
    500: '#1f9630',
    950: '#000000',
  },
}
SCSS
$custom: #1f9630;
$custom-light: #70b66d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9630",
  "rgb": {
    "r": 31,
    "g": 150,
    "b": 48
  },
  "hsl": {
    "h": 128.571,
    "s": 65.746,
    "l": 35.49
  },
  "oklch": {
    "l": 0.58929,
    "c": 0.17323,
    "h": 144.8
  },
  "luminance": 0.22317
}

Semantic roles & 50–950 ramp

primary
#1F9630
secondary
#BF52AF
accent
#3FD0E9
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #1F9630

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

Preview Lab → · Contrast checker → · Palette generator →

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