#0F512D#0F512D

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

Color values

HEX#0F512D
RGBrgb(15, 81, 45)
HSLhsl(147, 69%, 19%)
HSVhsv(147, 81%, 32%)
CMYKcmyk(81.5%, 0%, 44.4%, 68.2%)
CIE-LABlab(29.85, -29.52, 15.56)
CIE-LCHlch(29.85, 33.37, 152.20°)
OKLaboklab(38.52% -0.0795 0.0387)
OKLCHoklch(38.52% 0.088 154.1)
XYZxyz(3.6128, 6.1755, 3.4837)
Luminance0.0618 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F512D #510F33
analogous
#12510F #0F512D #0F514E
triadic
#0F512D #2D0F51 #512D0F
tetradic
#0F512D #0F1251 #510F33 #514E0F
square
#0F512D #0F1251 #510F33 #514E0F
split-complementary
#0F512D #4E0F51 #510F12
monochromatic
#051A0E #051D10 #0F512D #19854A #22B866

Accessibility & contrast

On white

9.40
#0F512D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#0F512D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F512D
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F512D#FFFFFF#000000##FFFFFF
##0F512D1.009.402.249.40
#FFFFFF9.401.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f512d;
/* rgb */ color: rgb(15, 81, 45);
/* oklch */ color: oklch(38.5% 0.088 154.1);
Tailwind
colors: {
  custom: {
    50: '#598266',
    500: '#0f512d',
    950: '#000000',
  },
}
SCSS
$custom: #0f512d;
$custom-light: #598266;
$custom-dark: #000000;
JSON
{
  "hex": "#0f512d",
  "rgb": {
    "r": 15,
    "g": 81,
    "b": 45
  },
  "hsl": {
    "h": 147.273,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.38521,
    "c": 0.08846,
    "h": 154.1
  },
  "luminance": 0.06176
}

Semantic roles & 50–950 ramp

primary
#0F512D
secondary
#8B3162
accent
#3C9CEC
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040A06
muted
#797C7A

Preview Lab

Preview with #0F512D

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

Preview Lab → · Contrast checker → · Palette generator →

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