#0F512E#0F512E

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

Color values

HEX#0F512E
RGBrgb(15, 81, 46)
HSLhsl(148, 69%, 19%)
HSVhsv(148, 81%, 32%)
CMYKcmyk(81.5%, 0%, 43.2%, 68.2%)
CIE-LABlab(29.87, -29.30, 14.98)
CIE-LCHlch(29.87, 32.91, 152.93°)
OKLaboklab(38.54% -0.079 0.0373)
OKLCHoklch(38.54% 0.087 154.7)
XYZxyz(3.6322, 6.1832, 3.5863)
Luminance0.0618 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F512E #510F32
analogous
#11510F #0F512E #0F514F
triadic
#0F512E #2E0F51 #512E0F
tetradic
#0F512E #0F1151 #510F32 #514F0F
square
#0F512E #0F1151 #510F32 #514F0F
split-complementary
#0F512E #4F0F51 #510F11
monochromatic
#051A0F #051D11 #0F512E #19854B #22B869

Accessibility & contrast

On white

9.39
#0F512E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F512E
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F512E#FFFFFF#000000##FFFFFF
##0F512E1.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514A2C
Deuteranopia (green-blind)
#494430
Tritanopia (blue-blind)
#005048
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #0f512e;
/* rgb */ color: rgb(15, 81, 46);
/* oklch */ color: oklch(38.5% 0.087 154.7);
Tailwind
colors: {
  custom: {
    50: '#598267',
    500: '#0f512e',
    950: '#000000',
  },
}
SCSS
$custom: #0f512e;
$custom-light: #598267;
$custom-dark: #000000;
JSON
{
  "hex": "#0f512e",
  "rgb": {
    "r": 15,
    "g": 81,
    "b": 46
  },
  "hsl": {
    "h": 148.182,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.38543,
    "c": 0.08739,
    "h": 154.7
  },
  "luminance": 0.06184
}

Semantic roles & 50–950 ramp

primary
#0F512E
secondary
#8B3161
accent
#3C99EC
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040A06
muted
#797C7A

Preview Lab

Preview with #0F512E

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

Preview Lab → · Contrast checker → · Palette generator →

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