#0F5110#0F5110

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

Color values

HEX#0F5110
RGBrgb(15, 81, 16)
HSLhsl(121, 69%, 19%)
HSVhsv(121, 81%, 32%)
CMYKcmyk(81.5%, 0%, 80.2%, 68.2%)
CIE-LABlab(29.47, -34.00, 30.64)
CIE-LCHlch(29.47, 45.77, 137.97°)
OKLaboklab(38.08% -0.0922 0.0694)
OKLCHoklch(38.08% 0.115 143.1)
XYZxyz(3.2328, 6.0235, 1.4824)
Luminance0.0602 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5110 #510F50
analogous
#2F510F #0F5110 #0F5131
triadic
#0F5110 #100F51 #51100F
tetradic
#0F5110 #0F2F51 #510F50 #51310F
square
#0F5110 #0F2F51 #510F50 #51310F
split-complementary
#0F5110 #310F51 #510F2F
monochromatic
#051A05 #051D06 #0F5110 #19851A #22B824

Accessibility & contrast

On white

9.52
#0F5110 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F5110
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5110#FFFFFF#000000##FFFFFF
##0F51101.009.522.209.52
#FFFFFF9.521.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f5110;
/* rgb */ color: rgb(15, 81, 16);
/* oklch */ color: oklch(38.1% 0.115 143.1);
Tailwind
colors: {
  custom: {
    50: '#5b8353',
    500: '#0f5110',
    950: '#000000',
  },
}
SCSS
$custom: #0f5110;
$custom-light: #5b8353;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5110",
  "rgb": {
    "r": 15,
    "g": 81,
    "b": 16
  },
  "hsl": {
    "h": 120.909,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.38084,
    "c": 0.11541,
    "h": 143.1
  },
  "luminance": 0.06024
}

Semantic roles & 50–950 ramp

primary
#0F5110
secondary
#8B318A
accent
#3CE9EC
background
#F5F8F4
surface
#E9EFE7
border
#C5CAC3
text
#040A03
muted
#797C78

Preview Lab

Preview with #0F5110

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

Preview Lab → · Contrast checker → · Palette generator →

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