#1F9F28#1F9F28

#1F9F28 is a mid, vivid green. Relative luminance 0.252; OKLCH L 61.4% C 0.189 H 143.6°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#1F9F28
RGBrgb(31, 159, 40)
HSLhsl(124, 67%, 37%)
HSVhsv(124, 81%, 62%)
CMYKcmyk(80.5%, 0%, 74.8%, 37.6%)
CIE-LABlab(57.31, -56.11, 49.55)
CIE-LCHlch(57.31, 74.85, 138.55°)
OKLaboklab(61.36% -0.1519 0.1121)
OKLCHoklch(61.36% 0.189 143.6)
XYZxyz(13.3453, 25.2392, 6.1754)
Luminance0.2524 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9F28 #9F1F96
analogous
#569F1F #1F9F28 #1F9F68
triadic
#1F9F28 #281F9F #9F281F
tetradic
#1F9F28 #1F569F #9F1F96 #9F681F
square
#1F9F28 #1F569F #9F1F96 #9F681F
split-complementary
#1F9F28 #681F9F #9F1F56
monochromatic
#0B390E #156C1B #1F9F28 #29D235 #5ADF63

Accessibility & contrast

On white

3.47
#1F9F28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#1F9F28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9F28
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9F28#FFFFFF#000000##000000
##1F9F281.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F11
Deuteranopia (green-blind)
#958635
Tritanopia (blue-blind)
#009A88
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #1f9f28;
/* rgb */ color: rgb(31, 159, 40);
/* oklch */ color: oklch(61.4% 0.189 143.6);
Tailwind
colors: {
  custom: {
    50: '#73bd6a',
    500: '#1f9f28',
    950: '#000000',
  },
}
SCSS
$custom: #1f9f28;
$custom-light: #73bd6a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9f28",
  "rgb": {
    "r": 31,
    "g": 159,
    "b": 40
  },
  "hsl": {
    "h": 124.219,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.61359,
    "c": 0.18879,
    "h": 143.6
  },
  "luminance": 0.25241
}

Semantic roles & 50–950 ramp

primary
#1F9F28
secondary
#C357BB
accent
#3EDEEA
background
#F7FBF6
surface
#EEF7EB
border
#C9D0C6
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #1F9F28

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

Preview Lab → · Contrast checker → · Palette generator →

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