#1F9526#1F9526

#1F9526 is a mid, vivid green. Relative luminance 0.219; OKLCH L 58.6% C 0.179 H 143.5°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#1F9526
RGBrgb(31, 149, 38)
HSLhsl(124, 66%, 35%)
HSVhsv(124, 79%, 58%)
CMYKcmyk(79.2%, 0%, 74.5%, 41.6%)
CIE-LABlab(53.95, -53.04, 46.89)
CIE-LCHlch(53.95, 70.80, 138.52°)
OKLaboklab(58.56% -0.1437 0.1063)
OKLCHoklch(58.56% 0.179 143.5)
XYZxyz(11.6616, 21.9248, 5.4506)
Luminance0.2193 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9526 #951F8E
analogous
#53951F #1F9526 #1F9561
triadic
#1F9526 #261F95 #95261F
tetradic
#1F9526 #1F5395 #951F8E #95611F
square
#1F9526 #1F5395 #951F8E #95611F
split-complementary
#1F9526 #611F95 #951F53
monochromatic
#0A300C #146219 #1F9526 #2AC833 #53DB5B

Accessibility & contrast

On white

3.90
#1F9526 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#1F9526 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9526
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9526#FFFFFF#000000##000000
##1F95261.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#988612
Deuteranopia (green-blind)
#8B7E32
Tritanopia (blue-blind)
#00917F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #1f9526;
/* rgb */ color: rgb(31, 149, 38);
/* oklch */ color: oklch(58.6% 0.179 143.5);
Tailwind
colors: {
  custom: {
    50: '#71b568',
    500: '#1f9526',
    950: '#000000',
  },
}
SCSS
$custom: #1f9526;
$custom-light: #71b568;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9526",
  "rgb": {
    "r": 31,
    "g": 149,
    "b": 38
  },
  "hsl": {
    "h": 123.559,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.5856,
    "c": 0.17871,
    "h": 143.5
  },
  "luminance": 0.21926
}

Semantic roles & 50–950 ramp

primary
#1F9526
secondary
#BF51B8
accent
#3FDEE9
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #1F9526

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

Preview Lab → · Contrast checker → · Palette generator →

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