#0F4018#0F4018

#0F4018 is a dark, moderate green. Relative luminance 0.038; OKLCH L 32.8% C 0.085 H 146.5°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#0F4018
RGBrgb(15, 64, 24)
HSLhsl(131, 62%, 15%)
HSVhsv(131, 77%, 25%)
CMYKcmyk(76.6%, 0%, 62.5%, 74.9%)
CIE-LABlab(23.12, -26.21, 19.62)
CIE-LCHlch(23.12, 32.74, 143.18°)
OKLaboklab(32.84% -0.0707 0.0469)
OKLCHoklch(32.84% 0.085 146.5)
XYZxyz(2.1951, 3.8341, 1.4883)
Luminance0.0383 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4018 #400F37
analogous
#1E400F #0F4018 #0F4030
triadic
#0F4018 #180F40 #40180F
tetradic
#0F4018 #0F1E40 #400F37 #40300F
square
#0F4018 #0F1E40 #400F37 #40300F
split-complementary
#0F4018 #300F40 #400F1E
monochromatic
#061909 #061909 #0F4018 #1B722B #26A33D

Accessibility & contrast

On white

11.89
#0F4018 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#0F4018 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4018
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4018#FFFFFF#000000##FFFFFF
##0F40181.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413A14
Deuteranopia (green-blind)
#3B361B
Tritanopia (blue-blind)
#013E37
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #0f4018;
/* rgb */ color: rgb(15, 64, 24);
/* oklch */ color: oklch(32.8% 0.085 146.5);
Tailwind
colors: {
  custom: {
    50: '#557556',
    500: '#0f4018',
    950: '#000000',
  },
}
SCSS
$custom: #0f4018;
$custom-light: #557556;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4018",
  "rgb": {
    "r": 15,
    "g": 64,
    "b": 24
  },
  "hsl": {
    "h": 131.02,
    "s": 62.025,
    "l": 15.49
  },
  "oklch": {
    "l": 0.32842,
    "c": 0.08486,
    "h": 146.5
  },
  "luminance": 0.03834
}

Semantic roles & 50–950 ramp

primary
#0F4018
secondary
#7A306D
accent
#43C7E5
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030803
muted
#787B78

Preview Lab

Preview with #0F4018

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

Preview Lab → · Contrast checker → · Palette generator →

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