#1F8323#1F8323

#1F8323 is a mid, vivid green. Relative luminance 0.166; OKLCH L 53.5% C 0.160 H 143.4°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#1F8323
RGBrgb(31, 131, 35)
HSLhsl(122, 62%, 32%)
HSVhsv(122, 76%, 51%)
CMYKcmyk(76.3%, 0%, 73.3%, 48.6%)
CIE-LABlab(47.81, -47.27, 41.75)
CIE-LCHlch(47.81, 63.07, 138.55°)
OKLaboklab(53.45% -0.1281 0.0952)
OKLCHoklch(53.45% 0.16 143.4)
XYZxyz(8.9842, 16.6442, 4.3290)
Luminance0.1664 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8323 #831F7F
analogous
#4D831F #1F8323 #1F8355
triadic
#1F8323 #231F83 #83231F
tetradic
#1F8323 #1F4D83 #831F7F #83551F
square
#1F8323 #1F4D83 #831F7F #83551F
split-complementary
#1F8323 #551F83 #831F4D
monochromatic
#082009 #135216 #1F8323 #2BB430 #49D44E

Accessibility & contrast

On white

4.85
#1F8323 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#1F8323 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8323
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8323#FFFFFF#000000##FFFFFF
##1F83231.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867613
Deuteranopia (green-blind)
#7B6E2D
Tritanopia (blue-blind)
#007F70
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #1f8323;
/* rgb */ color: rgb(31, 131, 35);
/* oklch */ color: oklch(53.5% 0.160 143.4);
Tailwind
colors: {
  custom: {
    50: '#6ca864',
    500: '#1f8323',
    950: '#000000',
  },
}
SCSS
$custom: #1f8323;
$custom-light: #6ca864;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8323",
  "rgb": {
    "r": 31,
    "g": 131,
    "b": 35
  },
  "hsl": {
    "h": 122.4,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.53453,
    "c": 0.1596,
    "h": 143.4
  },
  "luminance": 0.16645
}

Semantic roles & 50–950 ramp

primary
#1F8323
secondary
#B648B1
accent
#43DEE5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #1F8323

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

Preview Lab → · Contrast checker → · Palette generator →

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