#0F400C#0F400C

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

Color values

HEX#0F400C
RGBrgb(15, 64, 12)
HSLhsl(117, 68%, 15%)
HSVhsv(117, 81%, 25%)
CMYKcmyk(76.6%, 0%, 81.2%, 74.9%)
CIE-LABlab(22.98, -27.79, 25.75)
CIE-LCHlch(22.98, 37.89, 137.18°)
OKLaboklab(32.69% -0.0756 0.0585)
OKLCHoklch(32.69% 0.096 142.3)
XYZxyz(2.0966, 3.7947, 0.9697)
Luminance0.0379 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F400C #3D0C40
analogous
#29400C #0F400C #0C4023
triadic
#0F400C #0C0F40 #400C0F
tetradic
#0F400C #0C2940 #3D0C40 #40230C
square
#0F400C #0C2940 #3D0C40 #40230C
split-complementary
#0F400C #230C40 #400C29
monochromatic
#061A05 #061A05 #0F400C #1B7416 #27A71F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0F400C#FFFFFF#000000##FFFFFF
##0F400C1.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)
#423905
Deuteranopia (green-blind)
#3C3511
Tritanopia (blue-blind)
#053E36
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #0f400c;
/* rgb */ color: rgb(15, 64, 12);
/* oklch */ color: oklch(32.7% 0.096 142.3);
Tailwind
colors: {
  custom: {
    50: '#56754e',
    500: '#0f400c',
    950: '#000000',
  },
}
SCSS
$custom: #0f400c;
$custom-light: #56754e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f400c",
  "rgb": {
    "r": 15,
    "g": 64,
    "b": 12
  },
  "hsl": {
    "h": 116.538,
    "s": 68.421,
    "l": 14.902
  },
  "oklch": {
    "l": 0.32688,
    "c": 0.09565,
    "h": 142.3
  },
  "luminance": 0.03795
}

Semantic roles & 50–950 ramp

primary
#0F400C
secondary
#772C7C
accent
#3DEBE1
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030802
muted
#787B78

Preview Lab

Preview with #0F400C

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

Preview Lab → · Contrast checker → · Palette generator →

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