#0F4027#0F4027

#0F4027 is a dark, moderate green. Relative luminance 0.039; OKLCH L 33.2% C 0.068 H 156.8°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#0F4027
RGBrgb(15, 64, 39)
HSLhsl(149, 62%, 15%)
HSVhsv(149, 77%, 25%)
CMYKcmyk(76.6%, 0%, 39.1%, 74.9%)
CIE-LABlab(23.39, -23.16, 10.70)
CIE-LCHlch(23.39, 25.51, 155.20°)
OKLaboklab(33.16% -0.0628 0.0269)
OKLCHoklch(33.16% 0.068 156.8)
XYZxyz(2.3964, 3.9146, 2.5484)
Luminance0.0391 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4027 #400F28
analogous
#0F400F #0F4027 #0F403F
triadic
#0F4027 #270F40 #40270F
tetradic
#0F4027 #0F0F40 #400F28 #403F0F
square
#0F4027 #0F0F40 #400F28 #403F0F
split-complementary
#0F4027 #3F0F40 #400F0F
monochromatic
#06190F #06190F #0F4027 #1B7245 #26A363

Accessibility & contrast

On white

11.78
#0F4027 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F4027
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4027#FFFFFF#000000##FFFFFF
##0F40271.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403A25
Deuteranopia (green-blind)
#393629
Tritanopia (blue-blind)
#003F3A
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #0f4027;
/* rgb */ color: rgb(15, 64, 39);
/* oklch */ color: oklch(33.2% 0.068 156.8);
Tailwind
colors: {
  custom: {
    50: '#557561',
    500: '#0f4027',
    950: '#000000',
  },
}
SCSS
$custom: #0f4027;
$custom-light: #557561;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4027",
  "rgb": {
    "r": 15,
    "g": 64,
    "b": 39
  },
  "hsl": {
    "h": 149.388,
    "s": 62.025,
    "l": 15.49
  },
  "oklch": {
    "l": 0.33155,
    "c": 0.06834,
    "h": 156.8
  },
  "luminance": 0.03915
}

Semantic roles & 50–950 ramp

primary
#0F4027
secondary
#7A3056
accent
#4396E5
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030805
muted
#787B79

Preview Lab

Preview with #0F4027

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

Preview Lab → · Contrast checker → · Palette generator →

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