#0F5316#0F5316

#0F5316 is a dark, moderate green. Relative luminance 0.063; OKLCH L 38.8% C 0.114 H 144.3°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#0F5316
RGBrgb(15, 83, 22)
HSLhsl(126, 69%, 19%)
HSVhsv(126, 82%, 33%)
CMYKcmyk(81.9%, 0%, 73.5%, 67.5%)
CIE-LABlab(30.27, -34.12, 28.80)
CIE-LCHlch(30.27, 44.65, 139.84°)
OKLaboklab(38.76% -0.0923 0.0664)
OKLCHoklch(38.76% 0.114 144.3)
XYZxyz(3.4348, 6.3456, 1.8027)
Luminance0.0635 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5316 #530F4C
analogous
#2A530F #0F5316 #0F5338
triadic
#0F5316 #160F53 #53160F
tetradic
#0F5316 #0F2A53 #530F4C #53380F
square
#0F5316 #0F2A53 #530F4C #53380F
split-complementary
#0F5316 #380F53 #530F2A
monochromatic
#051A07 #061F08 #0F5316 #188724 #22BB31

Accessibility & contrast

On white

9.25
#0F5316 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F5316
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5316#FFFFFF#000000##FFFFFF
##0F53161.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554A0E
Deuteranopia (green-blind)
#4D451C
Tritanopia (blue-blind)
#005147
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #0f5316;
/* rgb */ color: rgb(15, 83, 22);
/* oklch */ color: oklch(38.8% 0.114 144.3);
Tailwind
colors: {
  custom: {
    50: '#5b8457',
    500: '#0f5316',
    950: '#000000',
  },
}
SCSS
$custom: #0f5316;
$custom-light: #5b8457;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5316",
  "rgb": {
    "r": 15,
    "g": 83,
    "b": 22
  },
  "hsl": {
    "h": 126.176,
    "s": 69.388,
    "l": 19.216
  },
  "oklch": {
    "l": 0.38762,
    "c": 0.11364,
    "h": 144.3
  },
  "luminance": 0.06346
}

Semantic roles & 50–950 ramp

primary
#0F5316
secondary
#8D3184
accent
#3CDAEC
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B03
muted
#797C78

Preview Lab

Preview with #0F5316

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

Preview Lab → · Contrast checker → · Palette generator →

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