#1F9923#1F9923

#1F9923 is a mid, vivid green. Relative luminance 0.232; OKLCH L 59.7% C 0.185 H 143.1°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#1F9923
RGBrgb(31, 153, 35)
HSLhsl(122, 66%, 36%)
HSVhsv(122, 80%, 60%)
CMYKcmyk(79.7%, 0%, 77.1%, 40%)
CIE-LABlab(55.27, -54.58, 49.31)
CIE-LCHlch(55.27, 73.55, 137.91°)
OKLaboklab(59.66% -0.148 0.1109)
OKLCHoklch(59.66% 0.185 143.1)
XYZxyz(12.2589, 23.1937, 5.4205)
Luminance0.2319 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9923 #991F95
analogous
#58991F #1F9923 #1F9960
triadic
#1F9923 #231F99 #99231F
tetradic
#1F9923 #1F5899 #991F95 #99601F
square
#1F9923 #1F5899 #991F95 #99601F
split-complementary
#1F9923 #601F99 #991F58
monochromatic
#0A330C #156617 #1F9923 #29CC2F #56DD5A

Accessibility & contrast

On white

3.72
#1F9923 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#1F9923 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9923
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9923#FFFFFF#000000##000000
##1F99231.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A08
Deuteranopia (green-blind)
#8F8130
Tritanopia (blue-blind)
#009483
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #1f9923;
/* rgb */ color: rgb(31, 153, 35);
/* oklch */ color: oklch(59.7% 0.185 143.1);
Tailwind
colors: {
  custom: {
    50: '#72b867',
    500: '#1f9923',
    950: '#000000',
  },
}
SCSS
$custom: #1f9923;
$custom-light: #72b867;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9923",
  "rgb": {
    "r": 31,
    "g": 153,
    "b": 35
  },
  "hsl": {
    "h": 121.967,
    "s": 66.304,
    "l": 36.078
  },
  "oklch": {
    "l": 0.59655,
    "c": 0.18493,
    "h": 143.1
  },
  "luminance": 0.23195
}

Semantic roles & 50–950 ramp

primary
#1F9923
secondary
#C054BD
accent
#3FE4E9
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #1F9923

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

Preview Lab → · Contrast checker → · Palette generator →

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