#1F9E23#1F9E23

#1F9E23 is a mid, vivid green. Relative luminance 0.249; OKLCH L 61.0% C 0.190 H 143.1°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#1F9E23
RGBrgb(31, 158, 35)
HSLhsl(122, 67%, 37%)
HSVhsv(122, 80%, 62%)
CMYKcmyk(80.4%, 0%, 77.8%, 38%)
CIE-LABlab(56.94, -56.17, 50.95)
CIE-LCHlch(56.94, 75.84, 137.79°)
OKLaboklab(61.05% -0.1523 0.1144)
OKLCHoklch(61.05% 0.19 143.1)
XYZxyz(13.0945, 24.8648, 5.6990)
Luminance0.2487 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9E23 #9E1F9A
analogous
#5A9E1F #1F9E23 #1F9E63
triadic
#1F9E23 #231F9E #9E231F
tetradic
#1F9E23 #1F5A9E #9E1F9A #9E631F
square
#1F9E23 #1F5A9E #9E1F9A #9E631F
split-complementary
#1F9E23 #631F9E #9E1F5A
monochromatic
#0B380C #156B18 #1F9E23 #29D12E #59DE5D

Accessibility & contrast

On white

3.52
#1F9E23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#1F9E23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9E23
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9E23#FFFFFF#000000##000000
##1F9E231.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E04
Deuteranopia (green-blind)
#948531
Tritanopia (blue-blind)
#009987
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #1f9e23;
/* rgb */ color: rgb(31, 158, 35);
/* oklch */ color: oklch(61.0% 0.190 143.1);
Tailwind
colors: {
  custom: {
    50: '#73bc67',
    500: '#1f9e23',
    950: '#000000',
  },
}
SCSS
$custom: #1f9e23;
$custom-light: #73bc67;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9e23",
  "rgb": {
    "r": 31,
    "g": 158,
    "b": 35
  },
  "hsl": {
    "h": 121.89,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.61046,
    "c": 0.19046,
    "h": 143.1
  },
  "luminance": 0.24866
}

Semantic roles & 50–950 ramp

primary
#1F9E23
secondary
#C256BF
accent
#3EE5EA
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #1F9E23

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

Preview Lab → · Contrast checker → · Palette generator →

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