#0F400A#0F400A

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

Color values

HEX#0F400A
RGBrgb(15, 64, 10)
HSLhsl(114, 73%, 15%)
HSVhsv(114, 84%, 25%)
CMYKcmyk(76.6%, 0%, 84.4%, 74.9%)
CIE-LABlab(22.96, -27.98, 26.60)
CIE-LCHlch(22.96, 38.60, 136.46°)
OKLaboklab(32.67% -0.0763 0.06)
OKLCHoklch(32.67% 0.097 141.8)
XYZxyz(2.0851, 3.7900, 0.9088)
Luminance0.0379 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F400A #3B0A40
analogous
#2A400A #0F400A #0A4020
triadic
#0F400A #0A0F40 #400A0F
tetradic
#0F400A #0A2A40 #3B0A40 #40200A
square
#0F400A #0A2A40 #3B0A40 #40200A
split-complementary
#0F400A #200A40 #400A2A
monochromatic
#061A04 #061A04 #0F400A #1B7512 #28AA1B

Accessibility & contrast

On white

11.95
#0F400A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F400A
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F400A#FFFFFF#000000##FFFFFF
##0F400A1.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f400a;
/* rgb */ color: rgb(15, 64, 10);
/* oklch */ color: oklch(32.7% 0.097 141.8);
Tailwind
colors: {
  custom: {
    50: '#56754d',
    500: '#0f400a',
    950: '#000000',
  },
}
SCSS
$custom: #0f400a;
$custom-light: #56754d;
$custom-dark: #000000;
JSON
{
  "hex": "#0f400a",
  "rgb": {
    "r": 15,
    "g": 64,
    "b": 10
  },
  "hsl": {
    "h": 114.444,
    "s": 72.973,
    "l": 14.51
  },
  "oklch": {
    "l": 0.3267,
    "c": 0.09708,
    "h": 141.8
  },
  "luminance": 0.0379
}

Semantic roles & 50–950 ramp

primary
#0F400A
secondary
#75297D
accent
#38F0DF
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030801
muted
#787B77

Preview Lab

Preview with #0F400A

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

Preview Lab → · Contrast checker → · Palette generator →

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