#1F9D27#1F9D27

#1F9D27 is a mid, vivid green. Relative luminance 0.246; OKLCH L 60.8% C 0.187 H 143.5°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#1F9D27
RGBrgb(31, 157, 39)
HSLhsl(124, 67%, 37%)
HSVhsv(124, 80%, 62%)
CMYKcmyk(80.3%, 0%, 75.2%, 38.4%)
CIE-LABlab(56.63, -55.55, 49.24)
CIE-LCHlch(56.63, 74.23, 138.45°)
OKLaboklab(60.8% -0.1504 0.1113)
OKLCHoklch(60.8% 0.187 143.5)
XYZxyz(12.9874, 24.5502, 5.9732)
Luminance0.2455 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9D27 #9D1F95
analogous
#569D1F #1F9D27 #1F9D66
triadic
#1F9D27 #271F9D #9D271F
tetradic
#1F9D27 #1F569D #9D1F95 #9D661F
square
#1F9D27 #1F569D #9D1F95 #9D661F
split-complementary
#1F9D27 #661F9D #9D1F56
monochromatic
#0B370E #156A1A #1F9D27 #29D034 #58DE61

Accessibility & contrast

On white

3.55
#1F9D27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#1F9D27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9D27
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9D27#FFFFFF#000000##000000
##1F9D271.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08E10
Deuteranopia (green-blind)
#938434
Tritanopia (blue-blind)
#009886
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #1f9d27;
/* rgb */ color: rgb(31, 157, 39);
/* oklch */ color: oklch(60.8% 0.187 143.5);
Tailwind
colors: {
  custom: {
    50: '#73bb69',
    500: '#1f9d27',
    950: '#000000',
  },
}
SCSS
$custom: #1f9d27;
$custom-light: #73bb69;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9d27",
  "rgb": {
    "r": 31,
    "g": 157,
    "b": 39
  },
  "hsl": {
    "h": 123.81,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.60797,
    "c": 0.18714,
    "h": 143.5
  },
  "luminance": 0.24552
}

Semantic roles & 50–950 ramp

primary
#1F9D27
secondary
#C256BB
accent
#3EDFEA
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091207
muted
#7B817A

Preview Lab

Preview with #1F9D27

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

Preview Lab → · Contrast checker → · Palette generator →

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