#0F512B#0F512B

#0F512B is a dark, moderate green. Relative luminance 0.062; OKLCH L 38.5% C 0.091 H 152.8°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#0F512B
RGBrgb(15, 81, 43)
HSLhsl(145, 69%, 19%)
HSVhsv(145, 81%, 32%)
CMYKcmyk(81.5%, 0%, 46.9%, 68.2%)
CIE-LABlab(29.81, -29.94, 16.72)
CIE-LCHlch(29.81, 34.30, 150.82°)
OKLaboklab(38.48% -0.0806 0.0413)
OKLCHoklch(38.48% 0.091 152.8)
XYZxyz(3.5752, 6.1604, 3.2857)
Luminance0.0616 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F512B #510F35
analogous
#14510F #0F512B #0F514C
triadic
#0F512B #2B0F51 #512B0F
tetradic
#0F512B #0F1451 #510F35 #514C0F
square
#0F512B #0F1451 #510F35 #514C0F
split-complementary
#0F512B #4C0F51 #510F14
monochromatic
#051A0E #051D10 #0F512B #198546 #22B862

Accessibility & contrast

On white

9.41
#0F512B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#0F512B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F512B
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F512B#FFFFFF#000000##FFFFFF
##0F512B1.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514A28
Deuteranopia (green-blind)
#49442E
Tritanopia (blue-blind)
#005048
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #0f512b;
/* rgb */ color: rgb(15, 81, 43);
/* oklch */ color: oklch(38.5% 0.091 152.8);
Tailwind
colors: {
  custom: {
    50: '#598265',
    500: '#0f512b',
    950: '#000000',
  },
}
SCSS
$custom: #0f512b;
$custom-light: #598265;
$custom-dark: #000000;
JSON
{
  "hex": "#0f512b",
  "rgb": {
    "r": 15,
    "g": 81,
    "b": 43
  },
  "hsl": {
    "h": 145.455,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.38478,
    "c": 0.09058,
    "h": 152.8
  },
  "luminance": 0.06161
}

Semantic roles & 50–950 ramp

primary
#0F512B
secondary
#8B3165
accent
#3CA1EC
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040A05
muted
#797C7A

Preview Lab

Preview with #0F512B

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

Preview Lab → · Contrast checker → · Palette generator →

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