#1F9452#1F9452

#1F9452 is a mid, vivid green. Relative luminance 0.221; OKLCH L 58.9% C 0.141 H 152.8°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#1F9452
RGBrgb(31, 148, 82)
HSLhsl(146, 65%, 35%)
HSVhsv(146, 79%, 58%)
CMYKcmyk(79.1%, 0%, 44.6%, 42%)
CIE-LABlab(54.11, -46.74, 26.14)
CIE-LCHlch(54.11, 53.55, 150.78°)
OKLaboklab(58.86% -0.1257 0.0645)
OKLCHoklch(58.86% 0.141 152.8)
XYZxyz(12.6768, 22.0788, 11.5745)
Luminance0.2208 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9452 #941F61
analogous
#26941F #1F9452 #1F948D
triadic
#1F9452 #521F94 #94521F
tetradic
#1F9452 #1F2694 #941F61 #948D1F
square
#1F9452 #1F2694 #941F61 #948D1F
split-complementary
#1F9452 #8D1F94 #941F26
monochromatic
#0A2F1A #146136 #1F9452 #2AC76E #53DB8E

Accessibility & contrast

On white

3.88
#1F9452 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#1F9452 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9452
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9452#FFFFFF#000000##000000
##1F94521.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#94874D
Deuteranopia (green-blind)
#877E57
Tritanopia (blue-blind)
#009284
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #1f9452;
/* rgb */ color: rgb(31, 148, 82);
/* oklch */ color: oklch(58.9% 0.141 152.8);
Tailwind
colors: {
  custom: {
    50: '#6fb483',
    500: '#1f9452',
    950: '#000000',
  },
}
SCSS
$custom: #1f9452;
$custom-light: #6fb483;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9452",
  "rgb": {
    "r": 31,
    "g": 148,
    "b": 82
  },
  "hsl": {
    "h": 146.154,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.58857,
    "c": 0.14128,
    "h": 152.8
  },
  "luminance": 0.2208
}

Semantic roles & 50–950 ramp

primary
#1F9452
secondary
#BE518E
accent
#3F9FE8
background
#F7FBF8
surface
#EDF6EF
border
#C8D0CA
text
#08110B
muted
#7B807C

Preview Lab

Preview with #1F9452

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

Preview Lab → · Contrast checker → · Palette generator →

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