#0F400B#0F400B

#0F400B is a dark, moderate green. Relative luminance 0.038; OKLCH L 32.7% C 0.096 H 142.0°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#0F400B
RGBrgb(15, 64, 11)
HSLhsl(115, 71%, 15%)
HSVhsv(115, 83%, 25%)
CMYKcmyk(76.6%, 0%, 82.8%, 74.9%)
CIE-LABlab(22.97, -27.89, 26.19)
CIE-LCHlch(22.97, 38.26, 136.80°)
OKLaboklab(32.68% -0.076 0.0593)
OKLCHoklch(32.68% 0.096 142)
XYZxyz(2.0907, 3.7923, 0.9383)
Luminance0.0379 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F400B #3C0B40
analogous
#2A400B #0F400B #0B4022
triadic
#0F400B #0B0F40 #400B0F
tetradic
#0F400B #0B2A40 #3C0B40 #40220B
square
#0F400B #0B2A40 #3C0B40 #40220B
split-complementary
#0F400B #220B40 #400B2A
monochromatic
#061A04 #061A04 #0F400B #1B7414 #27A81D

Accessibility & contrast

On white

11.94
#0F400B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#0F400B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F400B
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F400B#FFFFFF#000000##FFFFFF
##0F400B1.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423903
Deuteranopia (green-blind)
#3C3510
Tritanopia (blue-blind)
#053E36
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #0f400b;
/* rgb */ color: rgb(15, 64, 11);
/* oklch */ color: oklch(32.7% 0.096 142.0);
Tailwind
colors: {
  custom: {
    50: '#56754e',
    500: '#0f400b',
    950: '#000000',
  },
}
SCSS
$custom: #0f400b;
$custom-light: #56754e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f400b",
  "rgb": {
    "r": 15,
    "g": 64,
    "b": 11
  },
  "hsl": {
    "h": 115.472,
    "s": 70.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.32679,
    "c": 0.09637,
    "h": 142
  },
  "luminance": 0.03793
}

Semantic roles & 50–950 ramp

primary
#0F400B
secondary
#762A7D
accent
#3AEDE0
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030802
muted
#787B78

Preview Lab

Preview with #0F400B

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

Preview Lab → · Contrast checker → · Palette generator →

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