#0F4228#0F4228

#0F4228 is a dark, moderate green. Relative luminance 0.042; OKLCH L 33.8% C 0.070 H 156.6°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#0F4228
RGBrgb(15, 66, 40)
HSLhsl(149, 63%, 16%)
HSVhsv(149, 77%, 26%)
CMYKcmyk(77.3%, 0%, 39.4%, 74.1%)
CIE-LABlab(24.16, -23.87, 11.11)
CIE-LCHlch(24.16, 26.33, 155.05°)
OKLaboklab(33.8% -0.0647 0.028)
OKLCHoklch(33.8% 0.07 156.6)
XYZxyz(2.5280, 4.1509, 2.6750)
Luminance0.0415 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4228 #420F29
analogous
#0F420F #0F4228 #0F4241
triadic
#0F4228 #280F42 #42280F
tetradic
#0F4228 #0F0F42 #420F29 #42410F
square
#0F4228 #0F0F42 #420F29 #42410F
split-complementary
#0F4228 #410F42 #420F0F
monochromatic
#06190F #06190F #0F4228 #1A7446 #26A664

Accessibility & contrast

On white

11.47
#0F4228 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F4228
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4228#FFFFFF#000000##FFFFFF
##0F42281.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f4228;
/* rgb */ color: rgb(15, 66, 40);
/* oklch */ color: oklch(33.8% 0.070 156.6);
Tailwind
colors: {
  custom: {
    50: '#557762',
    500: '#0f4228',
    950: '#000000',
  },
}
SCSS
$custom: #0f4228;
$custom-light: #557762;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4228",
  "rgb": {
    "r": 15,
    "g": 66,
    "b": 40
  },
  "hsl": {
    "h": 149.412,
    "s": 62.963,
    "l": 15.882
  },
  "oklch": {
    "l": 0.33802,
    "c": 0.07048,
    "h": 156.6
  },
  "luminance": 0.04151
}

Semantic roles & 50–950 ramp

primary
#0F4228
secondary
#7C3057
accent
#4296E6
background
#F5F7F5
surface
#E9EDEA
border
#C5C8C6
text
#030805
muted
#787B79

Preview Lab

Preview with #0F4228

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

Preview Lab → · Contrast checker → · Palette generator →

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