#1F522A#1F522A

#1F522A is a dark, moderate green. Relative luminance 0.065; OKLCH L 39.3% C 0.086 H 148.2°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#1F522A
RGBrgb(31, 82, 42)
HSLhsl(133, 45%, 22%)
HSVhsv(133, 62%, 32%)
CMYKcmyk(62.2%, 0%, 48.8%, 67.8%)
CIE-LABlab(30.62, -27.04, 18.46)
CIE-LCHlch(30.62, 32.74, 145.69°)
OKLaboklab(39.27% -0.0732 0.0453)
OKLCHoklch(39.27% 0.086 148.2)
XYZxyz(4.0000, 6.4927, 3.2325)
Luminance0.0649 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F522A #521F47
analogous
#2E521F #1F522A #1F5244
triadic
#1F522A #2A1F52 #522A1F
tetradic
#1F522A #1F2E52 #521F47 #52441F
square
#1F522A #1F2E52 #521F47 #52441F
split-complementary
#1F522A #441F52 #521F2E
monochromatic
#08160B #0E2613 #1F522A #307E41 #41AB57

Accessibility & contrast

On white

9.14
#1F522A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#1F522A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F522A
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F522A#FFFFFF#000000##FFFFFF
##1F522A1.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534B27
Deuteranopia (green-blind)
#4C462D
Tritanopia (blue-blind)
#135048
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1f522a;
/* rgb */ color: rgb(31, 82, 42);
/* oklch */ color: oklch(39.3% 0.086 148.2);
Tailwind
colors: {
  custom: {
    50: '#608364',
    500: '#1f522a',
    950: '#000000',
  },
}
SCSS
$custom: #1f522a;
$custom-light: #608364;
$custom-dark: #000000;
JSON
{
  "hex": "#1f522a",
  "rgb": {
    "r": 31,
    "g": 82,
    "b": 42
  },
  "hsl": {
    "h": 132.941,
    "s": 45.133,
    "l": 22.157
  },
  "oklch": {
    "l": 0.3927,
    "c": 0.08606,
    "h": 148.2
  },
  "luminance": 0.06493
}

Semantic roles & 50–950 ramp

primary
#1F522A
secondary
#874679
accent
#53B9D5
background
#F5F8F6
surface
#EAEFEB
border
#C6CAC6
text
#050A05
muted
#797C7A

Preview Lab

Preview with #1F522A

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

Preview Lab → · Contrast checker → · Palette generator →

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