#1F834C#1F834C

#1F834C is a mid, vivid green. Relative luminance 0.170; OKLCH L 54.0% C 0.124 H 154.0°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#1F834C
RGBrgb(31, 131, 76)
HSLhsl(147, 62%, 32%)
HSVhsv(147, 76%, 51%)
CMYKcmyk(76.3%, 0%, 42%, 48.6%)
CIE-LABlab(48.32, -41.30, 21.87)
CIE-LCHlch(48.32, 46.74, 152.09°)
OKLaboklab(54.04% -0.1113 0.0544)
OKLCHoklch(54.04% 0.124 154)
XYZxyz(9.9850, 17.0445, 9.5998)
Luminance0.1705 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F834C #831F56
analogous
#24831F #1F834C #1F837E
triadic
#1F834C #4C1F83 #834C1F
tetradic
#1F834C #1F2483 #831F56 #837E1F
square
#1F834C #1F2483 #831F56 #837E1F
split-complementary
#1F834C #7E1F83 #831F24
monochromatic
#082013 #13522F #1F834C #2BB469 #49D487

Accessibility & contrast

On white

4.76
#1F834C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#1F834C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F834C
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F834C#FFFFFF#000000##FFFFFF
##1F834C1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837848
Deuteranopia (green-blind)
#776F50
Tritanopia (blue-blind)
#008175
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #1f834c;
/* rgb */ color: rgb(31, 131, 76);
/* oklch */ color: oklch(54.0% 0.124 154.0);
Tailwind
colors: {
  custom: {
    50: '#6ba87e',
    500: '#1f834c',
    950: '#000000',
  },
}
SCSS
$custom: #1f834c;
$custom-light: #6ba87e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f834c",
  "rgb": {
    "r": 31,
    "g": 131,
    "b": 76
  },
  "hsl": {
    "h": 147,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.54038,
    "c": 0.12388,
    "h": 154
  },
  "luminance": 0.17046
}

Semantic roles & 50–950 ramp

primary
#1F834C
secondary
#B64884
accent
#439CE5
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#08100A
muted
#7A7F7C

Preview Lab

Preview with #1F834C

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

Preview Lab → · Contrast checker → · Palette generator →

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