#1F522B#1F522B

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

Color values

HEX#1F522B
RGBrgb(31, 82, 43)
HSLhsl(134, 45%, 22%)
HSVhsv(134, 62%, 32%)
CMYKcmyk(62.2%, 0%, 47.6%, 67.8%)
CIE-LABlab(30.64, -26.86, 17.88)
CIE-LCHlch(30.64, 32.26, 146.34°)
OKLaboklab(39.29% -0.0727 0.044)
OKLCHoklch(39.29% 0.085 148.8)
XYZxyz(4.0181, 6.4999, 3.3279)
Luminance0.0650 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F522B #521F46
analogous
#2C521F #1F522B #1F5245
triadic
#1F522B #2B1F52 #522B1F
tetradic
#1F522B #1F2C52 #521F46 #52451F
square
#1F522B #1F2C52 #521F46 #52451F
split-complementary
#1F522B #451F52 #521F2C
monochromatic
#08160C #0E2614 #1F522B #307E42 #41AB5A

Accessibility & contrast

On white

9.13
#1F522B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F522B
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F522B#FFFFFF#000000##FFFFFF
##1F522B1.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534B28
Deuteranopia (green-blind)
#4C462E
Tritanopia (blue-blind)
#135049
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1f522b;
/* rgb */ color: rgb(31, 82, 43);
/* oklch */ color: oklch(39.3% 0.085 148.8);
Tailwind
colors: {
  custom: {
    50: '#608365',
    500: '#1f522b',
    950: '#000000',
  },
}
SCSS
$custom: #1f522b;
$custom-light: #608365;
$custom-dark: #000000;
JSON
{
  "hex": "#1f522b",
  "rgb": {
    "r": 31,
    "g": 82,
    "b": 43
  },
  "hsl": {
    "h": 134.118,
    "s": 45.133,
    "l": 22.157
  },
  "oklch": {
    "l": 0.3929,
    "c": 0.08497,
    "h": 148.8
  },
  "luminance": 0.065
}

Semantic roles & 50–950 ramp

primary
#1F522B
secondary
#874678
accent
#53B6D5
background
#F5F8F6
surface
#EAEFEB
border
#C6CAC6
text
#050A05
muted
#797C7A

Preview Lab

Preview with #1F522B

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

Preview Lab → · Contrast checker → · Palette generator →

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