#1F8233#1F8233

#1F8233 is a mid, vivid green. Relative luminance 0.165; OKLCH L 53.3% C 0.146 H 146.3°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#1F8233
RGBrgb(31, 130, 51)
HSLhsl(132, 61%, 32%)
HSVhsv(132, 76%, 51%)
CMYKcmyk(76.2%, 0%, 60.8%, 49%)
CIE-LABlab(47.62, -45.10, 34.29)
CIE-LCHlch(47.62, 56.65, 142.75°)
OKLaboklab(53.34% -0.1215 0.0811)
OKLCHoklch(53.34% 0.146 146.3)
XYZxyz(9.1446, 16.4945, 5.8331)
Luminance0.1650 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8233 #821F6E
analogous
#3D821F #1F8233 #1F8265
triadic
#1F8233 #331F82 #82331F
tetradic
#1F8233 #1F3D82 #821F6E #82651F
square
#1F8233 #1F3D82 #821F6E #82651F
split-complementary
#1F8233 #651F82 #821F3D
monochromatic
#071F0C #135120 #1F8233 #2BB346 #48D364

Accessibility & contrast

On white

4.88
#1F8233 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#1F8233 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8233
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8233#FFFFFF#000000##FFFFFF
##1F82331.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84762B
Deuteranopia (green-blind)
#796E39
Tritanopia (blue-blind)
#007F71
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #1f8233;
/* rgb */ color: rgb(31, 130, 51);
/* oklch */ color: oklch(53.3% 0.146 146.3);
Tailwind
colors: {
  custom: {
    50: '#6ba76d',
    500: '#1f8233',
    950: '#000000',
  },
}
SCSS
$custom: #1f8233;
$custom-light: #6ba76d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8233",
  "rgb": {
    "r": 31,
    "g": 130,
    "b": 51
  },
  "hsl": {
    "h": 132.121,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.53343,
    "c": 0.1461,
    "h": 146.3
  },
  "luminance": 0.16496
}

Semantic roles & 50–950 ramp

primary
#1F8233
secondary
#B5489F
accent
#43C4E5
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#081007
muted
#7A7F7A

Preview Lab

Preview with #1F8233

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

Preview Lab → · Contrast checker → · Palette generator →

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