#1F8523#1F8523

#1F8523 is a mid, vivid green. Relative luminance 0.172; OKLCH L 54.0% C 0.162 H 143.4°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#1F8523
RGBrgb(31, 133, 35)
HSLhsl(122, 62%, 32%)
HSVhsv(122, 77%, 52%)
CMYKcmyk(76.7%, 0%, 73.7%, 47.8%)
CIE-LABlab(48.49, -47.96, 42.46)
CIE-LCHlch(48.49, 64.06, 138.48°)
OKLaboklab(54.02% -0.13 0.0967)
OKLCHoklch(54.02% 0.162 143.4)
XYZxyz(9.2554, 17.1866, 4.4194)
Luminance0.1719 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8523 #851F81
analogous
#4E851F #1F8523 #1F8556
triadic
#1F8523 #231F85 #85231F
tetradic
#1F8523 #1F4E85 #851F81 #85561F
square
#1F8523 #1F4E85 #851F81 #85561F
split-complementary
#1F8523 #561F85 #851F4E
monochromatic
#082209 #135316 #1F8523 #2BB730 #4AD54F

Accessibility & contrast

On white

4.73
#1F8523 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#1F8523 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8523
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8523#FFFFFF#000000##FFFFFF
##1F85231.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887813
Deuteranopia (green-blind)
#7C702D
Tritanopia (blue-blind)
#008172
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #1f8523;
/* rgb */ color: rgb(31, 133, 35);
/* oklch */ color: oklch(54.0% 0.162 143.4);
Tailwind
colors: {
  custom: {
    50: '#6daa64',
    500: '#1f8523',
    950: '#000000',
  },
}
SCSS
$custom: #1f8523;
$custom-light: #6daa64;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8523",
  "rgb": {
    "r": 31,
    "g": 133,
    "b": 35
  },
  "hsl": {
    "h": 122.353,
    "s": 62.195,
    "l": 32.157
  },
  "oklch": {
    "l": 0.54023,
    "c": 0.16199,
    "h": 143.4
  },
  "luminance": 0.17188
}

Semantic roles & 50–950 ramp

primary
#1F8523
secondary
#B749B3
accent
#43DFE5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #1F8523

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

Preview Lab → · Contrast checker → · Palette generator →

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