#0F512C#0F512C

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

Color values

HEX#0F512C
RGBrgb(15, 81, 44)
HSLhsl(146, 69%, 19%)
HSVhsv(146, 81%, 32%)
CMYKcmyk(81.5%, 0%, 45.7%, 68.2%)
CIE-LABlab(29.83, -29.73, 16.14)
CIE-LCHlch(29.83, 33.83, 151.50°)
OKLaboklab(38.5% -0.0801 0.04)
OKLCHoklch(38.5% 0.09 153.4)
XYZxyz(3.5937, 6.1678, 3.3835)
Luminance0.0617 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F512C #510F34
analogous
#13510F #0F512C #0F514D
triadic
#0F512C #2C0F51 #512C0F
tetradic
#0F512C #0F1351 #510F34 #514D0F
square
#0F512C #0F1351 #510F34 #514D0F
split-complementary
#0F512C #4D0F51 #510F13
monochromatic
#051A0E #051D10 #0F512C #198548 #22B864

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0F512C#FFFFFF#000000##FFFFFF
##0F512C1.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f512c;
/* rgb */ color: rgb(15, 81, 44);
/* oklch */ color: oklch(38.5% 0.090 153.4);
Tailwind
colors: {
  custom: {
    50: '#598265',
    500: '#0f512c',
    950: '#000000',
  },
}
SCSS
$custom: #0f512c;
$custom-light: #598265;
$custom-dark: #000000;
JSON
{
  "hex": "#0f512c",
  "rgb": {
    "r": 15,
    "g": 81,
    "b": 44
  },
  "hsl": {
    "h": 146.364,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.38499,
    "c": 0.08952,
    "h": 153.4
  },
  "luminance": 0.06168
}

Semantic roles & 50–950 ramp

primary
#0F512C
secondary
#8B3163
accent
#3C9FEC
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040A05
muted
#797C7A

Preview Lab

Preview with #0F512C

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

Preview Lab → · Contrast checker → · Palette generator →

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