#1F9423#1F9423

#1F9423 is a mid, vivid green. Relative luminance 0.216; OKLCH L 58.3% C 0.179 H 143.2°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#1F9423
RGBrgb(31, 148, 35)
HSLhsl(122, 65%, 35%)
HSVhsv(122, 79%, 58%)
CMYKcmyk(79.1%, 0%, 76.4%, 42%)
CIE-LABlab(53.59, -52.96, 47.64)
CIE-LCHlch(53.59, 71.24, 138.03°)
OKLaboklab(58.26% -0.1436 0.1075)
OKLCHoklch(58.26% 0.179 143.2)
XYZxyz(11.4576, 21.5911, 5.1534)
Luminance0.2159 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9423 #941F90
analogous
#56941F #1F9423 #1F945D
triadic
#1F9423 #231F94 #94231F
tetradic
#1F9423 #1F5694 #941F90 #945D1F
square
#1F9423 #1F5694 #941F90 #945D1F
split-complementary
#1F9423 #5D1F94 #941F56
monochromatic
#0A2F0B #146117 #1F9423 #2AC72F #53DB57

Accessibility & contrast

On white

3.95
#1F9423 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#1F9423 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9423
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9423#FFFFFF#000000##000000
##1F94231.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#97850B
Deuteranopia (green-blind)
#8A7D2F
Tritanopia (blue-blind)
#00907E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #1f9423;
/* rgb */ color: rgb(31, 148, 35);
/* oklch */ color: oklch(58.3% 0.179 143.2);
Tailwind
colors: {
  custom: {
    50: '#71b566',
    500: '#1f9423',
    950: '#000000',
  },
}
SCSS
$custom: #1f9423;
$custom-light: #71b566;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9423",
  "rgb": {
    "r": 31,
    "g": 148,
    "b": 35
  },
  "hsl": {
    "h": 122.051,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.58258,
    "c": 0.17933,
    "h": 143.2
  },
  "luminance": 0.21592
}

Semantic roles & 50–950 ramp

primary
#1F9423
secondary
#BE51BA
accent
#3FE3E8
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #1F9423

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

Preview Lab → · Contrast checker → · Palette generator →

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