#1F9233#1F9233

#1F9233 is a mid, vivid green. Relative luminance 0.211; OKLCH L 57.8% C 0.166 H 145.4°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#1F9233
RGBrgb(31, 146, 51)
HSLhsl(130, 65%, 35%)
HSVhsv(130, 79%, 57%)
CMYKcmyk(78.8%, 0%, 65.1%, 42.7%)
CIE-LABlab(53.04, -50.73, 40.48)
CIE-LCHlch(53.04, 64.90, 141.41°)
OKLaboklab(57.85% -0.1368 0.0944)
OKLCHoklch(57.85% 0.166 145.4)
XYZxyz(11.4407, 21.0867, 6.5985)
Luminance0.2109 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9233 #921F7E
analogous
#44921F #1F9233 #1F926D
triadic
#1F9233 #331F92 #92331F
tetradic
#1F9233 #1F4492 #921F7E #926D1F
square
#1F9233 #1F4492 #921F7E #926D1F
split-complementary
#1F9233 #6D1F92 #921F44
monochromatic
#0A2D10 #146021 #1F9233 #2AC445 #51DA69

Accessibility & contrast

On white

4.02
#1F9233 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#1F9233 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9233
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9233#FFFFFF#000000##000000
##1F92331.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#948428
Deuteranopia (green-blind)
#887B3B
Tritanopia (blue-blind)
#008E7E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #1f9233;
/* rgb */ color: rgb(31, 146, 51);
/* oklch */ color: oklch(57.8% 0.166 145.4);
Tailwind
colors: {
  custom: {
    50: '#6fb36f',
    500: '#1f9233',
    950: '#000000',
  },
}
SCSS
$custom: #1f9233;
$custom-light: #6fb36f;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9233",
  "rgb": {
    "r": 31,
    "g": 146,
    "b": 51
  },
  "hsl": {
    "h": 130.435,
    "s": 64.972,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57845,
    "c": 0.16619,
    "h": 145.4
  },
  "luminance": 0.21088
}

Semantic roles & 50–950 ramp

primary
#1F9233
secondary
#BD50AA
accent
#40CBE8
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #1F9233

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

Preview Lab → · Contrast checker → · Palette generator →

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