#0F5311#0F5311

#0F5311 is a dark, moderate green. Relative luminance 0.063; OKLCH L 38.7% C 0.117 H 143.2°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#0F5311
RGBrgb(15, 83, 17)
HSLhsl(122, 69%, 19%)
HSVhsv(122, 82%, 33%)
CMYKcmyk(81.9%, 0%, 79.5%, 67.5%)
CIE-LABlab(30.23, -34.64, 30.99)
CIE-LCHlch(30.23, 46.48, 138.19°)
OKLaboklab(38.71% -0.0939 0.0702)
OKLCHoklch(38.71% 0.117 143.2)
XYZxyz(3.3912, 6.3281, 1.5729)
Luminance0.0633 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5311 #530F51
analogous
#2F530F #0F5311 #0F5333
triadic
#0F5311 #110F53 #53110F
tetradic
#0F5311 #0F2F53 #530F51 #53330F
square
#0F5311 #0F2F53 #530F51 #53330F
split-complementary
#0F5311 #330F53 #530F2F
monochromatic
#051A05 #061F06 #0F5311 #18871C #22BB26

Accessibility & contrast

On white

9.27
#0F5311 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#0F5311 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5311
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5311#FFFFFF#000000##FFFFFF
##0F53111.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554A06
Deuteranopia (green-blind)
#4D4518
Tritanopia (blue-blind)
#005046
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #0f5311;
/* rgb */ color: rgb(15, 83, 17);
/* oklch */ color: oklch(38.7% 0.117 143.2);
Tailwind
colors: {
  custom: {
    50: '#5b8454',
    500: '#0f5311',
    950: '#000000',
  },
}
SCSS
$custom: #0f5311;
$custom-light: #5b8454;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5311",
  "rgb": {
    "r": 15,
    "g": 83,
    "b": 17
  },
  "hsl": {
    "h": 121.765,
    "s": 69.388,
    "l": 19.216
  },
  "oklch": {
    "l": 0.38713,
    "c": 0.1173,
    "h": 143.2
  },
  "luminance": 0.06329
}

Semantic roles & 50–950 ramp

primary
#0F5311
secondary
#8D318A
accent
#3CE7EC
background
#F5F8F4
surface
#E9EFE8
border
#C5CAC4
text
#040B03
muted
#797C78

Preview Lab

Preview with #0F5311

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

Preview Lab → · Contrast checker → · Palette generator →

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