#1F8923#1F8923

#1F8923 is a mid, vivid green. Relative luminance 0.183; OKLCH L 55.2% C 0.167 H 143.3°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#1F8923
RGBrgb(31, 137, 35)
HSLhsl(122, 63%, 33%)
HSVhsv(122, 77%, 54%)
CMYKcmyk(77.4%, 0%, 74.5%, 46.3%)
CIE-LABlab(49.86, -49.32, 43.87)
CIE-LCHlch(49.86, 66.01, 138.35°)
OKLaboklab(55.16% -0.1337 0.0996)
OKLCHoklch(55.16% 0.167 143.3)
XYZxyz(9.8135, 18.3028, 4.6054)
Luminance0.1830 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8923 #891F85
analogous
#50891F #1F8923 #1F8958
triadic
#1F8923 #231F89 #89231F
tetradic
#1F8923 #1F5089 #891F85 #89581F
square
#1F8923 #1F5089 #891F85 #89581F
split-complementary
#1F8923 #581F89 #891F50
monochromatic
#082509 #145716 #1F8923 #2ABB30 #4CD651

Accessibility & contrast

On white

4.51
#1F8923 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#1F8923 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8923
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8923#FFFFFF#000000##000000
##1F89231.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C11
Deuteranopia (green-blind)
#80732E
Tritanopia (blue-blind)
#008575
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #1f8923;
/* rgb */ color: rgb(31, 137, 35);
/* oklch */ color: oklch(55.2% 0.167 143.3);
Tailwind
colors: {
  custom: {
    50: '#6eac65',
    500: '#1f8923',
    950: '#000000',
  },
}
SCSS
$custom: #1f8923;
$custom-light: #6eac65;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8923",
  "rgb": {
    "r": 31,
    "g": 137,
    "b": 35
  },
  "hsl": {
    "h": 122.264,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.55158,
    "c": 0.1667,
    "h": 143.3
  },
  "luminance": 0.18304
}

Semantic roles & 50–950 ramp

primary
#1F8923
secondary
#B94BB5
accent
#42E0E6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #1F8923

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

Preview Lab → · Contrast checker → · Palette generator →

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