#0F400E#0F400E

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

Color values

HEX#0F400E
RGBrgb(15, 64, 14)
HSLhsl(119, 64%, 15%)
HSVhsv(119, 78%, 25%)
CMYKcmyk(76.6%, 0%, 78.1%, 74.9%)
CIE-LABlab(23.00, -27.58, 24.84)
CIE-LCHlch(23.00, 37.12, 138.00°)
OKLaboklab(32.71% -0.075 0.0569)
OKLCHoklch(32.71% 0.094 142.8)
XYZxyz(2.1095, 3.7998, 1.0376)
Luminance0.0380 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F400E #3F0E40
analogous
#28400E #0F400E #0E4026
triadic
#0F400E #0E0F40 #400E0F
tetradic
#0F400E #0E2840 #3F0E40 #40260E
square
#0F400E #0E2840 #3F0E40 #40260E
split-complementary
#0F400E #260E40 #400E28
monochromatic
#061905 #061905 #0F400E #1B7219 #27A424

Accessibility & contrast

On white

11.93
#0F400E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F400E
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F400E#FFFFFF#000000##FFFFFF
##0F400E1.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423907
Deuteranopia (green-blind)
#3C3513
Tritanopia (blue-blind)
#043E36
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #0f400e;
/* rgb */ color: rgb(15, 64, 14);
/* oklch */ color: oklch(32.7% 0.094 142.8);
Tailwind
colors: {
  custom: {
    50: '#56754f',
    500: '#0f400e',
    950: '#000000',
  },
}
SCSS
$custom: #0f400e;
$custom-light: #56754f;
$custom-dark: #000000;
JSON
{
  "hex": "#0f400e",
  "rgb": {
    "r": 15,
    "g": 64,
    "b": 14
  },
  "hsl": {
    "h": 118.8,
    "s": 64.103,
    "l": 15.294
  },
  "oklch": {
    "l": 0.32708,
    "c": 0.09412,
    "h": 142.8
  },
  "luminance": 0.038
}

Semantic roles & 50–950 ramp

primary
#0F400E
secondary
#792F7B
accent
#41E7E4
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030802
muted
#787B78

Preview Lab

Preview with #0F400E

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

Preview Lab → · Contrast checker → · Palette generator →

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