#1F9F27#1F9F27

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

Color values

HEX#1F9F27
RGBrgb(31, 159, 39)
HSLhsl(124, 67%, 37%)
HSVhsv(124, 81%, 62%)
CMYKcmyk(80.5%, 0%, 75.5%, 37.6%)
CIE-LABlab(57.30, -56.19, 49.91)
CIE-LCHlch(57.30, 75.15, 138.39°)
OKLaboklab(61.35% -0.1521 0.1127)
OKLCHoklch(61.35% 0.189 143.5)
XYZxyz(13.3285, 25.2325, 6.0870)
Luminance0.2523 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9F27 #9F1F97
analogous
#579F1F #1F9F27 #1F9F67
triadic
#1F9F27 #271F9F #9F271F
tetradic
#1F9F27 #1F579F #9F1F97 #9F671F
square
#1F9F27 #1F579F #9F1F97 #9F671F
split-complementary
#1F9F27 #671F9F #9F1F57
monochromatic
#0B390E #156C1A #1F9F27 #29D234 #5ADF62

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F9F27#FFFFFF#000000##000000
##1F9F271.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)
#A28F0F
Deuteranopia (green-blind)
#958634
Tritanopia (blue-blind)
#009A88
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #1f9f27;
/* rgb */ color: rgb(31, 159, 39);
/* oklch */ color: oklch(61.4% 0.189 143.5);
Tailwind
colors: {
  custom: {
    50: '#73bd69',
    500: '#1f9f27',
    950: '#000000',
  },
}
SCSS
$custom: #1f9f27;
$custom-light: #73bd69;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9f27",
  "rgb": {
    "r": 31,
    "g": 159,
    "b": 39
  },
  "hsl": {
    "h": 123.75,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.61352,
    "c": 0.18936,
    "h": 143.5
  },
  "luminance": 0.25234
}

Semantic roles & 50–950 ramp

primary
#1F9F27
secondary
#C357BC
accent
#3EDFEA
background
#F7FBF6
surface
#EEF7EB
border
#C9D0C6
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #1F9F27

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

Preview Lab → · Contrast checker → · Palette generator →

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