#0F4022#0F4022

#0F4022 is a dark, moderate green. Relative luminance 0.039; OKLCH L 33.0% C 0.074 H 152.5°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#0F4022
RGBrgb(15, 64, 34)
HSLhsl(143, 62%, 15%)
HSVhsv(143, 77%, 25%)
CMYKcmyk(76.6%, 0%, 46.9%, 74.9%)
CIE-LABlab(23.28, -24.31, 13.75)
CIE-LCHlch(23.28, 27.93, 150.50°)
OKLaboklab(33.03% -0.0656 0.0341)
OKLCHoklch(33.03% 0.074 152.5)
XYZxyz(2.3189, 3.8836, 2.1405)
Luminance0.0388 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4022 #400F2D
analogous
#15400F #0F4022 #0F403A
triadic
#0F4022 #220F40 #40220F
tetradic
#0F4022 #0F1540 #400F2D #403A0F
square
#0F4022 #0F1540 #400F2D #403A0F
split-complementary
#0F4022 #3A0F40 #400F15
monochromatic
#06190D #06190D #0F4022 #1B723C #26A357

Accessibility & contrast

On white

11.82
#0F4022 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#0F4022 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4022
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4022#FFFFFF#000000##FFFFFF
##0F40221.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403A20
Deuteranopia (green-blind)
#3A3624
Tritanopia (blue-blind)
#003F39
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #0f4022;
/* rgb */ color: rgb(15, 64, 34);
/* oklch */ color: oklch(33.0% 0.074 152.5);
Tailwind
colors: {
  custom: {
    50: '#55755d',
    500: '#0f4022',
    950: '#000000',
  },
}
SCSS
$custom: #0f4022;
$custom-light: #55755d;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4022",
  "rgb": {
    "r": 15,
    "g": 64,
    "b": 34
  },
  "hsl": {
    "h": 143.265,
    "s": 62.025,
    "l": 15.49
  },
  "oklch": {
    "l": 0.33035,
    "c": 0.07392,
    "h": 152.5
  },
  "luminance": 0.03884
}

Semantic roles & 50–950 ramp

primary
#0F4022
secondary
#7A305E
accent
#43A6E5
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030804
muted
#787B79

Preview Lab

Preview with #0F4022

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

Preview Lab → · Contrast checker → · Palette generator →

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