#0F531C#0F531C

#0F531C is a dark, moderate green. Relative luminance 0.064; OKLCH L 38.8% C 0.109 H 145.9°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#0F531C
RGBrgb(15, 83, 28)
HSLhsl(131, 69%, 19%)
HSVhsv(131, 82%, 33%)
CMYKcmyk(81.9%, 0%, 66.3%, 67.5%)
CIE-LABlab(30.33, -33.36, 25.88)
CIE-LCHlch(30.33, 42.22, 142.20°)
OKLaboklab(38.83% -0.0899 0.0608)
OKLCHoklch(38.83% 0.109 145.9)
XYZxyz(3.4996, 6.3715, 2.1438)
Luminance0.0637 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F531C #530F46
analogous
#24530F #0F531C #0F533E
triadic
#0F531C #1C0F53 #531C0F
tetradic
#0F531C #0F2453 #530F46 #533E0F
square
#0F531C #0F2453 #530F46 #533E0F
split-complementary
#0F531C #3E0F53 #530F24
monochromatic
#051A09 #061F0B #0F531C #18872D #22BB3F

Accessibility & contrast

On white

9.23
#0F531C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#0F531C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F531C
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F531C#FFFFFF#000000##FFFFFF
##0F531C1.009.232.279.23
#FFFFFF9.231.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544B16
Deuteranopia (green-blind)
#4D4521
Tritanopia (blue-blind)
#005147
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #0f531c;
/* rgb */ color: rgb(15, 83, 28);
/* oklch */ color: oklch(38.8% 0.109 145.9);
Tailwind
colors: {
  custom: {
    50: '#5a845a',
    500: '#0f531c',
    950: '#000000',
  },
}
SCSS
$custom: #0f531c;
$custom-light: #5a845a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f531c",
  "rgb": {
    "r": 15,
    "g": 83,
    "b": 28
  },
  "hsl": {
    "h": 131.471,
    "s": 69.388,
    "l": 19.216
  },
  "oklch": {
    "l": 0.38834,
    "c": 0.10856,
    "h": 145.9
  },
  "luminance": 0.06372
}

Semantic roles & 50–950 ramp

primary
#0F531C
secondary
#8D317B
accent
#3CCAEC
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B04
muted
#797C79

Preview Lab

Preview with #0F531C

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

Preview Lab → · Contrast checker → · Palette generator →

#0F531C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva