#1F9F23#1F9F23

#1F9F23 is a mid, vivid green. Relative luminance 0.252; OKLCH L 61.3% C 0.192 H 143.1°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#1F9F23
RGBrgb(31, 159, 35)
HSLhsl(122, 67%, 37%)
HSVhsv(122, 81%, 62%)
CMYKcmyk(80.5%, 0%, 78%, 37.6%)
CIE-LABlab(57.28, -56.49, 51.28)
CIE-LCHlch(57.28, 76.29, 137.77°)
OKLaboklab(61.32% -0.1531 0.115)
OKLCHoklch(61.32% 0.192 143.1)
XYZxyz(13.2657, 25.2073, 5.7561)
Luminance0.2521 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9F23 #9F1F9B
analogous
#5B9F1F #1F9F23 #1F9F63
triadic
#1F9F23 #231F9F #9F231F
tetradic
#1F9F23 #1F5B9F #9F1F9B #9F631F
square
#1F9F23 #1F5B9F #9F1F9B #9F631F
split-complementary
#1F9F23 #631F9F #9F1F5B
monochromatic
#0B390C #156C18 #1F9F23 #29D22E #5ADF5E

Accessibility & contrast

On white

3.48
#1F9F23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#1F9F23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9F23
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9F23#FFFFFF#000000##000000
##1F9F231.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F03
Deuteranopia (green-blind)
#958631
Tritanopia (blue-blind)
#009A88
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #1f9f23;
/* rgb */ color: rgb(31, 159, 35);
/* oklch */ color: oklch(61.3% 0.192 143.1);
Tailwind
colors: {
  custom: {
    50: '#73bd68',
    500: '#1f9f23',
    950: '#000000',
  },
}
SCSS
$custom: #1f9f23;
$custom-light: #73bd68;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9f23",
  "rgb": {
    "r": 31,
    "g": 159,
    "b": 35
  },
  "hsl": {
    "h": 121.875,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.61324,
    "c": 0.19154,
    "h": 143.1
  },
  "luminance": 0.25209
}

Semantic roles & 50–950 ramp

primary
#1F9F23
secondary
#C357BF
accent
#3EE5EA
background
#F7FBF6
surface
#EEF7EB
border
#C9D0C6
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #1F9F23

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

Preview Lab → · Contrast checker → · Palette generator →

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