#0F5318#0F5318

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

Color values

HEX#0F5318
RGBrgb(15, 83, 24)
HSLhsl(128, 69%, 19%)
HSVhsv(128, 82%, 33%)
CMYKcmyk(81.9%, 0%, 71.1%, 67.5%)
CIE-LABlab(30.29, -33.89, 27.86)
CIE-LCHlch(30.29, 43.87, 140.58°)
OKLaboklab(38.78% -0.0915 0.0646)
OKLCHoklch(38.78% 0.112 144.8)
XYZxyz(3.4549, 6.3536, 1.9083)
Luminance0.0635 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5318 #530F4A
analogous
#28530F #0F5318 #0F533A
triadic
#0F5318 #180F53 #53180F
tetradic
#0F5318 #0F2853 #530F4A #533A0F
square
#0F5318 #0F2853 #530F4A #533A0F
split-complementary
#0F5318 #3A0F53 #530F28
monochromatic
#051A07 #061F09 #0F5318 #188727 #22BB36

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0F5318#FFFFFF#000000##FFFFFF
##0F53181.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)
#554B11
Deuteranopia (green-blind)
#4D451D
Tritanopia (blue-blind)
#005147
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #0f5318;
/* rgb */ color: rgb(15, 83, 24);
/* oklch */ color: oklch(38.8% 0.112 144.8);
Tailwind
colors: {
  custom: {
    50: '#5b8458',
    500: '#0f5318',
    950: '#000000',
  },
}
SCSS
$custom: #0f5318;
$custom-light: #5b8458;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5318",
  "rgb": {
    "r": 15,
    "g": 83,
    "b": 24
  },
  "hsl": {
    "h": 127.941,
    "s": 69.388,
    "l": 19.216
  },
  "oklch": {
    "l": 0.38784,
    "c": 0.11203,
    "h": 144.8
  },
  "luminance": 0.06354
}

Semantic roles & 50–950 ramp

primary
#0F5318
secondary
#8D3181
accent
#3CD5EC
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B03
muted
#797C78

Preview Lab

Preview with #0F5318

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

Preview Lab → · Contrast checker → · Palette generator →

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