#0F512F#0F512F

#0F512F is a dark, moderate green. Relative luminance 0.062; OKLCH L 38.6% C 0.086 H 155.4°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#0F512F
RGBrgb(15, 81, 47)
HSLhsl(149, 69%, 19%)
HSVhsv(149, 81%, 32%)
CMYKcmyk(81.5%, 0%, 42%, 68.2%)
CIE-LABlab(29.89, -29.08, 14.39)
CIE-LCHlch(29.89, 32.44, 153.67°)
OKLaboklab(38.57% -0.0785 0.036)
OKLCHoklch(38.57% 0.086 155.4)
XYZxyz(3.6522, 6.1912, 3.6913)
Luminance0.0619 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F512F #510F31
analogous
#10510F #0F512F #0F5150
triadic
#0F512F #2F0F51 #512F0F
tetradic
#0F512F #0F1051 #510F31 #51500F
square
#0F512F #0F1051 #510F31 #51500F
split-complementary
#0F512F #500F51 #510F10
monochromatic
#051A0F #051D11 #0F512F #19854D #22B86B

Accessibility & contrast

On white

9.38
#0F512F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F512F
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F512F#FFFFFF#000000##FFFFFF
##0F512F1.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f512f;
/* rgb */ color: rgb(15, 81, 47);
/* oklch */ color: oklch(38.6% 0.086 155.4);
Tailwind
colors: {
  custom: {
    50: '#598268',
    500: '#0f512f',
    950: '#000000',
  },
}
SCSS
$custom: #0f512f;
$custom-light: #598268;
$custom-dark: #000000;
JSON
{
  "hex": "#0f512f",
  "rgb": {
    "r": 15,
    "g": 81,
    "b": 47
  },
  "hsl": {
    "h": 149.091,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.38566,
    "c": 0.08633,
    "h": 155.4
  },
  "luminance": 0.06192
}

Semantic roles & 50–950 ramp

primary
#0F512F
secondary
#8B315F
accent
#3C97EC
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040A06
muted
#797C7A

Preview Lab

Preview with #0F512F

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

Preview Lab → · Contrast checker → · Palette generator →

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