#0F5418#0F5418

#0F5418 is a dark, moderate green. Relative luminance 0.065; OKLCH L 39.1% C 0.113 H 144.7°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#0F5418
RGBrgb(15, 84, 24)
HSLhsl(128, 70%, 19%)
HSVhsv(128, 82%, 33%)
CMYKcmyk(82.1%, 0%, 71.4%, 67.1%)
CIE-LABlab(30.66, -34.26, 28.26)
CIE-LCHlch(30.66, 44.42, 140.48°)
OKLaboklab(39.09% -0.0925 0.0655)
OKLCHoklch(39.09% 0.113 144.7)
XYZxyz(3.5320, 6.5077, 1.9340)
Luminance0.0651 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5418 #540F4B
analogous
#29540F #0F5418 #0F543B
triadic
#0F5418 #180F54 #54180F
tetradic
#0F5418 #0F2954 #540F4B #543B0F
square
#0F5418 #0F2954 #540F4B #543B0F
split-complementary
#0F5418 #3B0F54 #540F29
monochromatic
#051A07 #062009 #0F5418 #188827 #22BC36

Accessibility & contrast

On white

9.12
#0F5418 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#0F5418 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5418
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5418#FFFFFF#000000##FFFFFF
##0F54181.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564B10
Deuteranopia (green-blind)
#4E461D
Tritanopia (blue-blind)
#005248
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #0f5418;
/* rgb */ color: rgb(15, 84, 24);
/* oklch */ color: oklch(39.1% 0.113 144.7);
Tailwind
colors: {
  custom: {
    50: '#5b8558',
    500: '#0f5418',
    950: '#000000',
  },
}
SCSS
$custom: #0f5418;
$custom-light: #5b8558;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5418",
  "rgb": {
    "r": 15,
    "g": 84,
    "b": 24
  },
  "hsl": {
    "h": 127.826,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.39092,
    "c": 0.11337,
    "h": 144.7
  },
  "luminance": 0.06508
}

Semantic roles & 50–950 ramp

primary
#0F5418
secondary
#8E3182
accent
#3BD5ED
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B03
muted
#797C78

Preview Lab

Preview with #0F5418

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

Preview Lab → · Contrast checker → · Palette generator →

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