#0F512A#0F512A

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

Color values

HEX#0F512A
RGBrgb(15, 81, 42)
HSLhsl(145, 69%, 19%)
HSVhsv(145, 81%, 32%)
CMYKcmyk(81.5%, 0%, 48.1%, 68.2%)
CIE-LABlab(29.80, -30.15, 17.30)
CIE-LCHlch(29.80, 34.76, 150.15°)
OKLaboklab(38.46% -0.0811 0.0427)
OKLCHoklch(38.46% 0.092 152.3)
XYZxyz(3.5570, 6.1532, 3.1903)
Luminance0.0615 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F512A #510F36
analogous
#15510F #0F512A #0F514B
triadic
#0F512A #2A0F51 #512A0F
tetradic
#0F512A #0F1551 #510F36 #514B0F
square
#0F512A #0F1551 #510F36 #514B0F
split-complementary
#0F512A #4B0F51 #510F15
monochromatic
#051A0D #051D0F #0F512A #198545 #22B860

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0F512A#FFFFFF#000000##FFFFFF
##0F512A1.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)
#514927
Deuteranopia (green-blind)
#49442D
Tritanopia (blue-blind)
#005048
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #0f512a;
/* rgb */ color: rgb(15, 81, 42);
/* oklch */ color: oklch(38.5% 0.092 152.3);
Tailwind
colors: {
  custom: {
    50: '#598264',
    500: '#0f512a',
    950: '#000000',
  },
}
SCSS
$custom: #0f512a;
$custom-light: #598264;
$custom-dark: #000000;
JSON
{
  "hex": "#0f512a",
  "rgb": {
    "r": 15,
    "g": 81,
    "b": 42
  },
  "hsl": {
    "h": 144.545,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.38457,
    "c": 0.09165,
    "h": 152.3
  },
  "luminance": 0.06154
}

Semantic roles & 50–950 ramp

primary
#0F512A
secondary
#8B3166
accent
#3CA4EC
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040A05
muted
#797C7A

Preview Lab

Preview with #0F512A

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

Preview Lab → · Contrast checker → · Palette generator →

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