#1F9926#1F9926

#1F9926 is a mid, vivid green. Relative luminance 0.232; OKLCH L 59.7% C 0.183 H 143.4°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#1F9926
RGBrgb(31, 153, 38)
HSLhsl(123, 66%, 36%)
HSVhsv(123, 80%, 60%)
CMYKcmyk(79.7%, 0%, 75.2%, 40%)
CIE-LABlab(55.29, -54.34, 48.25)
CIE-LCHlch(55.29, 72.67, 138.40°)
OKLaboklab(59.68% -0.1472 0.1091)
OKLCHoklch(59.68% 0.183 143.4)
XYZxyz(12.3054, 23.2122, 5.6652)
Luminance0.2321 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9926 #991F92
analogous
#55991F #1F9926 #1F9963
triadic
#1F9926 #261F99 #99261F
tetradic
#1F9926 #1F5599 #991F92 #99631F
square
#1F9926 #1F5599 #991F92 #99631F
split-complementary
#1F9926 #631F99 #991F55
monochromatic
#0A330D #156619 #1F9926 #29CC33 #56DD5D

Accessibility & contrast

On white

3.72
#1F9926 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#1F9926 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9926
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9926#FFFFFF#000000##000000
##1F99261.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A10
Deuteranopia (green-blind)
#8F8132
Tritanopia (blue-blind)
#009483
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #1f9926;
/* rgb */ color: rgb(31, 153, 38);
/* oklch */ color: oklch(59.7% 0.183 143.4);
Tailwind
colors: {
  custom: {
    50: '#72b868',
    500: '#1f9926',
    950: '#000000',
  },
}
SCSS
$custom: #1f9926;
$custom-light: #72b868;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9926",
  "rgb": {
    "r": 31,
    "g": 153,
    "b": 38
  },
  "hsl": {
    "h": 123.443,
    "s": 66.304,
    "l": 36.078
  },
  "oklch": {
    "l": 0.59677,
    "c": 0.18323,
    "h": 143.4
  },
  "luminance": 0.23214
}

Semantic roles & 50–950 ramp

primary
#1F9926
secondary
#C054BA
accent
#3FDFE9
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #1F9926

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

Preview Lab → · Contrast checker → · Palette generator →

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