#1F9A52#1F9A52

#1F9A52 is a mid, vivid green. Relative luminance 0.240; OKLCH L 60.5% C 0.149 H 151.8°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#1F9A52
RGBrgb(31, 154, 82)
HSLhsl(145, 66%, 36%)
HSVhsv(145, 80%, 60%)
CMYKcmyk(79.9%, 0%, 46.8%, 39.6%)
CIE-LABlab(56.10, -48.98, 28.69)
CIE-LCHlch(56.10, 56.76, 149.63°)
OKLaboklab(60.5% -0.1316 0.0704)
OKLCHoklch(60.5% 0.149 151.8)
XYZxyz(13.6424, 24.0100, 11.8964)
Luminance0.2401 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9A52 #9A1F67
analogous
#2A9A1F #1F9A52 #1F9A90
triadic
#1F9A52 #521F9A #9A521F
tetradic
#1F9A52 #1F2A9A #9A1F67 #9A901F
square
#1F9A52 #1F2A9A #9A1F67 #9A901F
split-complementary
#1F9A52 #901F9A #9A1F2A
monochromatic
#0A341C #156737 #1F9A52 #29CD6D #56DD8E

Accessibility & contrast

On white

3.62
#1F9A52 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#1F9A52 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9A52
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9A52#FFFFFF#000000##000000
##1F9A521.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8C4C
Deuteranopia (green-blind)
#8C8357
Tritanopia (blue-blind)
#009889
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #1f9a52;
/* rgb */ color: rgb(31, 154, 82);
/* oklch */ color: oklch(60.5% 0.149 151.8);
Tailwind
colors: {
  custom: {
    50: '#70b984',
    500: '#1f9a52',
    950: '#000000',
  },
}
SCSS
$custom: #1f9a52;
$custom-light: #70b984;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9a52",
  "rgb": {
    "r": 31,
    "g": 154,
    "b": 82
  },
  "hsl": {
    "h": 144.878,
    "s": 66.486,
    "l": 36.275
  },
  "oklch": {
    "l": 0.60501,
    "c": 0.14923,
    "h": 151.8
  },
  "luminance": 0.24012
}

Semantic roles & 50–950 ramp

primary
#1F9A52
secondary
#C15494
accent
#3EA2E9
background
#F7FBF8
surface
#EDF6EF
border
#C8D0CA
text
#09120B
muted
#7B817C

Preview Lab

Preview with #1F9A52

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

Preview Lab → · Contrast checker → · Palette generator →

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