#1F9D23#1F9D23

#1F9D23 is a mid, vivid green. Relative luminance 0.245; OKLCH L 60.8% C 0.189 H 143.1°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#1F9D23
RGBrgb(31, 157, 35)
HSLhsl(122, 67%, 37%)
HSVhsv(122, 80%, 62%)
CMYKcmyk(80.3%, 0%, 77.7%, 38.4%)
CIE-LABlab(56.61, -55.86, 50.62)
CIE-LCHlch(56.61, 75.38, 137.81°)
OKLaboklab(60.77% -0.1514 0.1137)
OKLCHoklch(60.77% 0.189 143.1)
XYZxyz(12.9246, 24.5250, 5.6424)
Luminance0.2453 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9D23 #9D1F99
analogous
#5A9D1F #1F9D23 #1F9D62
triadic
#1F9D23 #231F9D #9D231F
tetradic
#1F9D23 #1F5A9D #9D1F99 #9D621F
square
#1F9D23 #1F5A9D #9D1F99 #9D621F
split-complementary
#1F9D23 #621F9D #9D1F5A
monochromatic
#0B370C #156A18 #1F9D23 #29D02E #58DE5D

Accessibility & contrast

On white

3.56
#1F9D23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#1F9D23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9D23
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9D23#FFFFFF#000000##000000
##1F9D231.003.565.915.91
#FFFFFF3.561.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D05
Deuteranopia (green-blind)
#938431
Tritanopia (blue-blind)
#009886
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #1f9d23;
/* rgb */ color: rgb(31, 157, 35);
/* oklch */ color: oklch(60.8% 0.189 143.1);
Tailwind
colors: {
  custom: {
    50: '#73bb67',
    500: '#1f9d23',
    950: '#000000',
  },
}
SCSS
$custom: #1f9d23;
$custom-light: #73bb67;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9d23",
  "rgb": {
    "r": 31,
    "g": 157,
    "b": 35
  },
  "hsl": {
    "h": 121.905,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.60769,
    "c": 0.18935,
    "h": 143.1
  },
  "luminance": 0.24527
}

Semantic roles & 50–950 ramp

primary
#1F9D23
secondary
#C256BE
accent
#3EE4EA
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #1F9D23

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

Preview Lab → · Contrast checker → · Palette generator →

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