#1F9925#1F9925

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

Color values

HEX#1F9925
RGBrgb(31, 153, 37)
HSLhsl(123, 66%, 36%)
HSVhsv(123, 80%, 60%)
CMYKcmyk(79.7%, 0%, 75.8%, 40%)
CIE-LABlab(55.28, -54.42, 48.61)
CIE-LCHlch(55.28, 72.97, 138.23°)
OKLaboklab(59.67% -0.1474 0.1098)
OKLCHoklch(59.67% 0.184 143.3)
XYZxyz(12.2894, 23.2059, 5.5814)
Luminance0.2321 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9925 #991F93
analogous
#56991F #1F9925 #1F9962
triadic
#1F9925 #251F99 #99251F
tetradic
#1F9925 #1F5699 #991F93 #99621F
square
#1F9925 #1F5699 #991F93 #99621F
split-complementary
#1F9925 #621F99 #991F56
monochromatic
#0A330C #156619 #1F9925 #29CC31 #56DD5C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F9925#FFFFFF#000000##000000
##1F99251.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)
#9C8A0D
Deuteranopia (green-blind)
#8F8132
Tritanopia (blue-blind)
#009483
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #1f9925;
/* rgb */ color: rgb(31, 153, 37);
/* oklch */ color: oklch(59.7% 0.184 143.3);
Tailwind
colors: {
  custom: {
    50: '#72b868',
    500: '#1f9925',
    950: '#000000',
  },
}
SCSS
$custom: #1f9925;
$custom-light: #72b868;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9925",
  "rgb": {
    "r": 31,
    "g": 153,
    "b": 37
  },
  "hsl": {
    "h": 122.951,
    "s": 66.304,
    "l": 36.078
  },
  "oklch": {
    "l": 0.5967,
    "c": 0.18381,
    "h": 143.3
  },
  "luminance": 0.23207
}

Semantic roles & 50–950 ramp

primary
#1F9925
secondary
#C054BB
accent
#3FE1E9
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #1F9925

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

Preview Lab → · Contrast checker → · Palette generator →

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