#1F530E#1F530E

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

Color values

HEX#1F530E
RGBrgb(31, 83, 14)
HSLhsl(105, 71%, 19%)
HSVhsv(105, 83%, 33%)
CMYKcmyk(62.7%, 0%, 83.1%, 67.5%)
CIE-LABlab(30.66, -31.11, 32.78)
CIE-LCHlch(30.66, 45.19, 133.50°)
OKLaboklab(39.2% -0.0856 0.0734)
OKLCHoklch(39.2% 0.113 139.4)
XYZxyz(3.7374, 6.5092, 1.4748)
Luminance0.0651 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F530E #420E53
analogous
#42530E #1F530E #0E5320
triadic
#1F530E #0E1F53 #530E1F
tetradic
#1F530E #0E4253 #420E53 #53200E
square
#1F530E #0E4253 #420E53 #53200E
split-complementary
#1F530E #200E53 #530E42
monochromatic
#0A1A04 #0B1F05 #1F530E #338717 #46BC20

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #1f530e;
/* rgb */ color: rgb(31, 83, 14);
/* oklch */ color: oklch(39.2% 0.113 139.4);
Tailwind
colors: {
  custom: {
    50: '#628452',
    500: '#1f530e',
    950: '#000000',
  },
}
SCSS
$custom: #1f530e;
$custom-light: #628452;
$custom-dark: #000000;
JSON
{
  "hex": "#1f530e",
  "rgb": {
    "r": 31,
    "g": 83,
    "b": 14
  },
  "hsl": {
    "h": 105.217,
    "s": 71.134,
    "l": 19.02
  },
  "oklch": {
    "l": 0.39198,
    "c": 0.11273,
    "h": 139.4
  },
  "luminance": 0.0651
}

Semantic roles & 50–950 ramp

primary
#1F530E
secondary
#762F8D
accent
#3AEEC2
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#050B02
muted
#7A7C78

Preview Lab

Preview with #1F530E

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

Preview Lab → · Contrast checker → · Palette generator →

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