#1F522D#1F522D

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

Color values

HEX#1F522D
RGBrgb(31, 82, 45)
HSLhsl(136, 45%, 22%)
HSVhsv(136, 62%, 32%)
CMYKcmyk(62.2%, 0%, 45.1%, 67.8%)
CIE-LABlab(30.68, -26.47, 16.73)
CIE-LCHlch(30.68, 31.31, 147.71°)
OKLaboklab(39.33% -0.0716 0.0414)
OKLCHoklch(39.33% 0.083 150)
XYZxyz(4.0557, 6.5150, 3.5259)
Luminance0.0651 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F522D #521F44
analogous
#2A521F #1F522D #1F5247
triadic
#1F522D #2D1F52 #522D1F
tetradic
#1F522D #1F2A52 #521F44 #52471F
square
#1F522D #1F2A52 #521F44 #52471F
split-complementary
#1F522D #471F52 #521F2A
monochromatic
#08160C #0E2615 #1F522D #307E45 #41AB5E

Accessibility & contrast

On white

9.12
#1F522D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F522D
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F522D#FFFFFF#000000##FFFFFF
##1F522D1.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534B2A
Deuteranopia (green-blind)
#4C462F
Tritanopia (blue-blind)
#125149
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1f522d;
/* rgb */ color: rgb(31, 82, 45);
/* oklch */ color: oklch(39.3% 0.083 150.0);
Tailwind
colors: {
  custom: {
    50: '#608366',
    500: '#1f522d',
    950: '#000000',
  },
}
SCSS
$custom: #1f522d;
$custom-light: #608366;
$custom-dark: #000000;
JSON
{
  "hex": "#1f522d",
  "rgb": {
    "r": 31,
    "g": 82,
    "b": 45
  },
  "hsl": {
    "h": 136.471,
    "s": 45.133,
    "l": 22.157
  },
  "oklch": {
    "l": 0.39332,
    "c": 0.08276,
    "h": 150
  },
  "luminance": 0.06515
}

Semantic roles & 50–950 ramp

primary
#1F522D
secondary
#874675
accent
#53B1D5
background
#F5F8F6
surface
#EAEFEB
border
#C6CAC6
text
#050A06
muted
#797C7A

Preview Lab

Preview with #1F522D

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

Preview Lab → · Contrast checker → · Palette generator →

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