#0F531B#0F531B

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

Color values

HEX#0F531B
RGBrgb(15, 83, 27)
HSLhsl(131, 69%, 19%)
HSVhsv(131, 82%, 33%)
CMYKcmyk(81.9%, 0%, 67.5%, 67.5%)
CIE-LABlab(30.32, -33.50, 26.38)
CIE-LCHlch(30.32, 42.64, 141.78°)
OKLaboklab(38.82% -0.0903 0.0618)
OKLCHoklch(38.82% 0.109 145.6)
XYZxyz(3.4878, 6.3668, 2.0818)
Luminance0.0637 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F531B #530F47
analogous
#25530F #0F531B #0F533D
triadic
#0F531B #1B0F53 #531B0F
tetradic
#0F531B #0F2553 #530F47 #533D0F
square
#0F531B #0F2553 #530F47 #533D0F
split-complementary
#0F531B #3D0F53 #530F25
monochromatic
#051A08 #061F0A #0F531B #18872C #22BB3D

Accessibility & contrast

On white

9.24
#0F531B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F531B
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F531B#FFFFFF#000000##FFFFFF
##0F531B1.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f531b;
/* rgb */ color: rgb(15, 83, 27);
/* oklch */ color: oklch(38.8% 0.109 145.6);
Tailwind
colors: {
  custom: {
    50: '#5a845a',
    500: '#0f531b',
    950: '#000000',
  },
}
SCSS
$custom: #0f531b;
$custom-light: #5a845a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f531b",
  "rgb": {
    "r": 15,
    "g": 83,
    "b": 27
  },
  "hsl": {
    "h": 130.588,
    "s": 69.388,
    "l": 19.216
  },
  "oklch": {
    "l": 0.38821,
    "c": 0.10946,
    "h": 145.6
  },
  "luminance": 0.06367
}

Semantic roles & 50–950 ramp

primary
#0F531B
secondary
#8D317D
accent
#3CCDEC
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B04
muted
#797C79

Preview Lab

Preview with #0F531B

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

Preview Lab → · Contrast checker → · Palette generator →

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