#0F6818#0F6818

#0F6818 is a mid, vivid green. Relative luminance 0.101; OKLCH L 45.2% C 0.139 H 143.9°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#0F6818
RGBrgb(15, 104, 24)
HSLhsl(126, 75%, 23%)
HSVhsv(126, 86%, 41%)
CMYKcmyk(85.6%, 0%, 76.9%, 59.2%)
CIE-LABlab(37.96, -41.44, 35.99)
CIE-LCHlch(37.96, 54.88, 139.02°)
OKLaboklab(45.16% -0.112 0.0817)
OKLCHoklch(45.16% 0.139 143.9)
XYZxyz(5.3118, 10.0675, 2.5272)
Luminance0.1007 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F6818 #680F5F
analogous
#32680F #0F6818 #0F6844
triadic
#0F6818 #180F68 #68180F
tetradic
#0F6818 #0F3268 #680F5F #68440F
square
#0F6818 #0F3268 #680F5F #68440F
split-complementary
#0F6818 #440F68 #680F32
monochromatic
#041B06 #07330C #0F6818 #179D24 #1ED331

Accessibility & contrast

On white

6.97
#0F6818 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#0F6818 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #0F6818
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F6818#FFFFFF#000000##FFFFFF
##0F68181.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D0A
Deuteranopia (green-blind)
#615720
Tritanopia (blue-blind)
#006558
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #0f6818;
/* rgb */ color: rgb(15, 104, 24);
/* oklch */ color: oklch(45.2% 0.139 143.9);
Tailwind
colors: {
  custom: {
    50: '#61945a',
    500: '#0f6818',
    950: '#000000',
  },
}
SCSS
$custom: #0f6818;
$custom-light: #61945a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f6818",
  "rgb": {
    "r": 15,
    "g": 104,
    "b": 24
  },
  "hsl": {
    "h": 126.067,
    "s": 74.79,
    "l": 23.333
  },
  "oklch": {
    "l": 0.45163,
    "c": 0.13867,
    "h": 143.9
  },
  "luminance": 0.10068
}

Semantic roles & 50–950 ramp

primary
#0F6818
secondary
#A13295
accent
#36DEF1
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #0F6818

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

Preview Lab → · Contrast checker → · Palette generator →

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