#0F4227#0F4227

#0F4227 is a dark, moderate green. Relative luminance 0.041; OKLCH L 33.8% C 0.072 H 155.7°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#0F4227
RGBrgb(15, 66, 39)
HSLhsl(148, 63%, 16%)
HSVhsv(148, 77%, 26%)
CMYKcmyk(77.3%, 0%, 40.9%, 74.1%)
CIE-LABlab(24.14, -24.11, 11.72)
CIE-LCHlch(24.14, 26.81, 154.08°)
OKLaboklab(33.78% -0.0653 0.0294)
OKLCHoklch(33.78% 0.072 155.7)
XYZxyz(2.5112, 4.1442, 2.5866)
Luminance0.0414 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4227 #420F2A
analogous
#10420F #0F4227 #0F4240
triadic
#0F4227 #270F42 #42270F
tetradic
#0F4227 #0F1042 #420F2A #42400F
square
#0F4227 #0F1042 #420F2A #42400F
split-complementary
#0F4227 #400F42 #420F10
monochromatic
#06190F #06190F #0F4227 #1A7444 #26A662

Accessibility & contrast

On white

11.48
#0F4227 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#0F4227 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4227
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4227#FFFFFF#000000##FFFFFF
##0F42271.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423C25
Deuteranopia (green-blind)
#3B3829
Tritanopia (blue-blind)
#00413B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #0f4227;
/* rgb */ color: rgb(15, 66, 39);
/* oklch */ color: oklch(33.8% 0.072 155.7);
Tailwind
colors: {
  custom: {
    50: '#557761',
    500: '#0f4227',
    950: '#000000',
  },
}
SCSS
$custom: #0f4227;
$custom-light: #557761;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4227",
  "rgb": {
    "r": 15,
    "g": 66,
    "b": 39
  },
  "hsl": {
    "h": 148.235,
    "s": 62.963,
    "l": 15.882
  },
  "oklch": {
    "l": 0.33777,
    "c": 0.07158,
    "h": 155.7
  },
  "luminance": 0.04144
}

Semantic roles & 50–950 ramp

primary
#0F4227
secondary
#7C3059
accent
#4299E6
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030805
muted
#787B79

Preview Lab

Preview with #0F4227

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

Preview Lab → · Contrast checker → · Palette generator →

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