#0F510E#0F510E

#0F510E is a dark, moderate green. Relative luminance 0.060; OKLCH L 38.1% C 0.117 H 142.7°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#0F510E
RGBrgb(15, 81, 14)
HSLhsl(119, 71%, 19%)
HSVhsv(119, 83%, 32%)
CMYKcmyk(81.5%, 0%, 82.7%, 68.2%)
CIE-LABlab(29.46, -34.18, 31.44)
CIE-LCHlch(29.46, 46.44, 137.39°)
OKLaboklab(38.07% -0.0928 0.0707)
OKLCHoklch(38.07% 0.117 142.7)
XYZxyz(3.2185, 6.0178, 1.4073)
Luminance0.0602 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F510E #500E51
analogous
#30510E #0F510E #0E512E
triadic
#0F510E #0E0F51 #510E0F
tetradic
#0F510E #0E3051 #500E51 #512E0E
square
#0F510E #0E3051 #500E51 #512E0E
split-complementary
#0F510E #2E0E51 #510E30
monochromatic
#051A05 #051D05 #0F510E #198517 #22B920

Accessibility & contrast

On white

9.53
#0F510E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#0F510E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F510E
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F510E#FFFFFF#000000##FFFFFF
##0F510E1.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534802
Deuteranopia (green-blind)
#4C4315
Tritanopia (blue-blind)
#004E44
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #0f510e;
/* rgb */ color: rgb(15, 81, 14);
/* oklch */ color: oklch(38.1% 0.117 142.7);
Tailwind
colors: {
  custom: {
    50: '#5b8352',
    500: '#0f510e',
    950: '#000000',
  },
}
SCSS
$custom: #0f510e;
$custom-light: #5b8352;
$custom-dark: #000000;
JSON
{
  "hex": "#0f510e",
  "rgb": {
    "r": 15,
    "g": 81,
    "b": 14
  },
  "hsl": {
    "h": 119.104,
    "s": 70.526,
    "l": 18.627
  },
  "oklch": {
    "l": 0.38068,
    "c": 0.11669,
    "h": 142.7
  },
  "luminance": 0.06018
}

Semantic roles & 50–950 ramp

primary
#0F510E
secondary
#8A2F8C
accent
#3AEDEB
background
#F5F8F4
surface
#E9EFE7
border
#C5CAC3
text
#040A02
muted
#797C78

Preview Lab

Preview with #0F510E

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

Preview Lab → · Contrast checker → · Palette generator →

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