#1F9D30#1F9D30

#1F9D30 is a mid, vivid green. Relative luminance 0.246; OKLCH L 60.9% C 0.181 H 144.5°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#1F9D30
RGBrgb(31, 157, 48)
HSLhsl(128, 67%, 37%)
HSVhsv(128, 80%, 62%)
CMYKcmyk(80.3%, 0%, 69.4%, 38.4%)
CIE-LABlab(56.70, -54.73, 45.79)
CIE-LCHlch(56.70, 71.36, 140.09°)
OKLaboklab(60.87% -0.1478 0.1052)
OKLCHoklch(60.87% 0.181 144.5)
XYZxyz(13.1546, 24.6171, 6.8540)
Luminance0.2462 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9D30 #9D1F8C
analogous
#4D9D1F #1F9D30 #1F9D6F
triadic
#1F9D30 #301F9D #9D301F
tetradic
#1F9D30 #1F4D9D #9D1F8C #9D6F1F
square
#1F9D30 #1F4D9D #9D1F8C #9D6F1F
split-complementary
#1F9D30 #6F1F9D #9D1F4D
monochromatic
#0B3711 #156A20 #1F9D30 #29D040 #58DE6A

Accessibility & contrast

On white

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

On black

5.92
#1F9D30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9D30
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9D30#FFFFFF#000000##000000
##1F9D301.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08E20
Deuteranopia (green-blind)
#92843A
Tritanopia (blue-blind)
#009987
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #1f9d30;
/* rgb */ color: rgb(31, 157, 48);
/* oklch */ color: oklch(60.9% 0.181 144.5);
Tailwind
colors: {
  custom: {
    50: '#72bb6e',
    500: '#1f9d30',
    950: '#000000',
  },
}
SCSS
$custom: #1f9d30;
$custom-light: #72bb6e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9d30",
  "rgb": {
    "r": 31,
    "g": 157,
    "b": 48
  },
  "hsl": {
    "h": 128.095,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.60873,
    "c": 0.18144,
    "h": 144.5
  },
  "luminance": 0.24619
}

Semantic roles & 50–950 ramp

primary
#1F9D30
secondary
#C256B3
accent
#3ED3EA
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#091207
muted
#7B817A

Preview Lab

Preview with #1F9D30

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

Preview Lab → · Contrast checker → · Palette generator →

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