#1F9930#1F9930

#1F9930 is a mid, vivid green. Relative luminance 0.233; OKLCH L 59.8% C 0.177 H 144.7°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#1F9930
RGBrgb(31, 153, 48)
HSLhsl(128, 66%, 36%)
HSVhsv(128, 80%, 60%)
CMYKcmyk(79.7%, 0%, 68.6%, 40%)
CIE-LABlab(55.37, -53.42, 44.35)
CIE-LCHlch(55.37, 69.43, 140.30°)
OKLaboklab(59.76% -0.1442 0.1022)
OKLCHoklch(59.76% 0.177 144.7)
XYZxyz(12.4889, 23.2857, 6.6321)
Luminance0.2329 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9930 #991F88
analogous
#4B991F #1F9930 #1F996D
triadic
#1F9930 #301F99 #99301F
tetradic
#1F9930 #1F4B99 #991F88 #996D1F
square
#1F9930 #1F4B99 #991F88 #996D1F
split-complementary
#1F9930 #6D1F99 #991F4B
monochromatic
#0A3310 #156620 #1F9930 #29CC40 #56DD69

Accessibility & contrast

On white

3.71
#1F9930 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#1F9930 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9930
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9930#FFFFFF#000000##000000
##1F99301.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A22
Deuteranopia (green-blind)
#8E813A
Tritanopia (blue-blind)
#009584
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #1f9930;
/* rgb */ color: rgb(31, 153, 48);
/* oklch */ color: oklch(59.8% 0.177 144.7);
Tailwind
colors: {
  custom: {
    50: '#71b86e',
    500: '#1f9930',
    950: '#000000',
  },
}
SCSS
$custom: #1f9930;
$custom-light: #71b86e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9930",
  "rgb": {
    "r": 31,
    "g": 153,
    "b": 48
  },
  "hsl": {
    "h": 128.361,
    "s": 66.304,
    "l": 36.078
  },
  "oklch": {
    "l": 0.59764,
    "c": 0.17678,
    "h": 144.7
  },
  "luminance": 0.23287
}

Semantic roles & 50–950 ramp

primary
#1F9930
secondary
#C054B1
accent
#3FD1E9
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #1F9930

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

Preview Lab → · Contrast checker → · Palette generator →

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