#1F9628#1F9628

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

Color values

HEX#1F9628
RGBrgb(31, 150, 40)
HSLhsl(125, 66%, 35%)
HSVhsv(125, 79%, 59%)
CMYKcmyk(79.3%, 0%, 73.3%, 41.2%)
CIE-LABlab(54.30, -53.20, 46.48)
CIE-LCHlch(54.30, 70.64, 138.85°)
OKLaboklab(58.86% -0.144 0.1057)
OKLCHoklch(58.86% 0.179 143.7)
XYZxyz(11.8536, 22.2558, 5.6781)
Luminance0.2226 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9628 #961F8D
analogous
#51961F #1F9628 #1F9663
triadic
#1F9628 #281F96 #96281F
tetradic
#1F9628 #1F5196 #961F8D #96631F
square
#1F9628 #1F5196 #961F8D #96631F
split-complementary
#1F9628 #631F96 #961F51
monochromatic
#0A310D #15631A #1F9628 #29C936 #54DC5E

Accessibility & contrast

On white

3.85
#1F9628 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#1F9628 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9628
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9628#FFFFFF#000000##000000
##1F96281.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#998715
Deuteranopia (green-blind)
#8C7E33
Tritanopia (blue-blind)
#009280
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #1f9628;
/* rgb */ color: rgb(31, 150, 40);
/* oklch */ color: oklch(58.9% 0.179 143.7);
Tailwind
colors: {
  custom: {
    50: '#71b669',
    500: '#1f9628',
    950: '#000000',
  },
}
SCSS
$custom: #1f9628;
$custom-light: #71b669;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9628",
  "rgb": {
    "r": 31,
    "g": 150,
    "b": 40
  },
  "hsl": {
    "h": 124.538,
    "s": 65.746,
    "l": 35.49
  },
  "oklch": {
    "l": 0.58856,
    "c": 0.17862,
    "h": 143.7
  },
  "luminance": 0.22257
}

Semantic roles & 50–950 ramp

primary
#1F9628
secondary
#BF52B7
accent
#3FDCE9
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #1F9628

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

Preview Lab → · Contrast checker → · Palette generator →

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