#1F530F#1F530F

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

Color values

HEX#1F530F
RGBrgb(31, 83, 15)
HSLhsl(106, 69%, 19%)
HSVhsv(106, 82%, 33%)
CMYKcmyk(62.7%, 0%, 81.9%, 67.5%)
CIE-LABlab(30.67, -31.03, 32.40)
CIE-LCHlch(30.67, 44.86, 133.76°)
OKLaboklab(39.21% -0.0853 0.0727)
OKLCHoklch(39.21% 0.112 139.6)
XYZxyz(3.7444, 6.5120, 1.5115)
Luminance0.0651 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F530F #430F53
analogous
#41530F #1F530F #0F5321
triadic
#1F530F #0F1F53 #530F1F
tetradic
#1F530F #0F4153 #430F53 #53210F
square
#1F530F #0F4153 #430F53 #53210F
split-complementary
#1F530F #210F53 #530F41
monochromatic
#0A1A05 #0C1F06 #1F530F #328718 #46BB22

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F530F#FFFFFF#000000##FFFFFF
##1F530F1.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)
#564B03
Deuteranopia (green-blind)
#4F4716
Tritanopia (blue-blind)
#195046
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1f530f;
/* rgb */ color: rgb(31, 83, 15);
/* oklch */ color: oklch(39.2% 0.112 139.6);
Tailwind
colors: {
  custom: {
    50: '#628453',
    500: '#1f530f',
    950: '#000000',
  },
}
SCSS
$custom: #1f530f;
$custom-light: #628453;
$custom-dark: #000000;
JSON
{
  "hex": "#1f530f",
  "rgb": {
    "r": 31,
    "g": 83,
    "b": 15
  },
  "hsl": {
    "h": 105.882,
    "s": 69.388,
    "l": 19.216
  },
  "oklch": {
    "l": 0.39206,
    "c": 0.11211,
    "h": 139.6
  },
  "luminance": 0.06512
}

Semantic roles & 50–950 ramp

primary
#1F530F
secondary
#77318D
accent
#3CECC3
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#050B03
muted
#7A7C78

Preview Lab

Preview with #1F530F

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

Preview Lab → · Contrast checker → · Palette generator →

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