#0F6A18#0F6A18

#0F6A18 is a mid, vivid green. Relative luminance 0.105; OKLCH L 45.8% C 0.141 H 143.8°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#0F6A18
RGBrgb(15, 106, 24)
HSLhsl(126, 75%, 24%)
HSVhsv(126, 86%, 42%)
CMYKcmyk(85.8%, 0%, 77.4%, 58.4%)
CIE-LABlab(38.68, -42.12, 36.72)
CIE-LCHlch(38.68, 55.88, 138.92°)
OKLaboklab(45.76% -0.1139 0.0832)
OKLCHoklch(45.76% 0.141 143.8)
XYZxyz(5.5155, 10.4749, 2.5951)
Luminance0.1048 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F6A18 #6A0F61
analogous
#336A0F #0F6A18 #0F6A45
triadic
#0F6A18 #180F6A #6A180F
tetradic
#0F6A18 #0F336A #6A0F61 #6A450F
square
#0F6A18 #0F336A #6A0F61 #6A450F
split-complementary
#0F6A18 #450F6A #6A0F33
monochromatic
#041B06 #07340C #0F6A18 #17A024 #1ED530

Accessibility & contrast

On white

6.78
#0F6A18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#0F6A18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #0F6A18
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F6A18#FFFFFF#000000##FFFFFF
##0F6A181.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F09
Deuteranopia (green-blind)
#635821
Tritanopia (blue-blind)
#00675A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #0f6a18;
/* rgb */ color: rgb(15, 106, 24);
/* oklch */ color: oklch(45.8% 0.141 143.8);
Tailwind
colors: {
  custom: {
    50: '#61965b',
    500: '#0f6a18',
    950: '#000000',
  },
}
SCSS
$custom: #0f6a18;
$custom-light: #61965b;
$custom-dark: #000000;
JSON
{
  "hex": "#0f6a18",
  "rgb": {
    "r": 15,
    "g": 106,
    "b": 24
  },
  "hsl": {
    "h": 125.934,
    "s": 75.207,
    "l": 23.725
  },
  "oklch": {
    "l": 0.45761,
    "c": 0.14107,
    "h": 143.8
  },
  "luminance": 0.10476
}

Semantic roles & 50–950 ramp

primary
#0F6A18
secondary
#A23297
accent
#36DFF2
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #0F6A18

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

Preview Lab → · Contrast checker → · Palette generator →

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