#0F4028#0F4028

#0F4028 is a dark, moderate teal. Relative luminance 0.039; OKLCH L 33.2% C 0.067 H 157.8°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#0F4028
RGBrgb(15, 64, 40)
HSLhsl(151, 62%, 15%)
HSVhsv(151, 77%, 25%)
CMYKcmyk(76.6%, 0%, 37.5%, 74.9%)
CIE-LABlab(23.41, -22.91, 10.08)
CIE-LCHlch(23.41, 25.03, 156.24°)
OKLaboklab(33.18% -0.0622 0.0255)
OKLCHoklch(33.18% 0.067 157.8)
XYZxyz(2.4132, 3.9213, 2.6368)
Luminance0.0392 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4028 #400F27
analogous
#0F400F #0F4028 #0F3F40
triadic
#0F4028 #280F40 #40280F
tetradic
#0F4028 #0F0F40 #400F27 #3F400F
square
#0F4028 #0F0F40 #400F27 #3F400F
split-complementary
#0F4028 #400F3F #400F0F
monochromatic
#06190F #06190F #0F4028 #1B7247 #26A366

Accessibility & contrast

On white

11.77
#0F4028 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F4028
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4028#FFFFFF#000000##FFFFFF
##0F40281.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3A27
Deuteranopia (green-blind)
#39362A
Tritanopia (blue-blind)
#003F3A
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #0f4028;
/* rgb */ color: rgb(15, 64, 40);
/* oklch */ color: oklch(33.2% 0.067 157.8);
Tailwind
colors: {
  custom: {
    50: '#557562',
    500: '#0f4028',
    950: '#000000',
  },
}
SCSS
$custom: #0f4028;
$custom-light: #557562;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4028",
  "rgb": {
    "r": 15,
    "g": 64,
    "b": 40
  },
  "hsl": {
    "h": 150.612,
    "s": 62.025,
    "l": 15.49
  },
  "oklch": {
    "l": 0.33181,
    "c": 0.06725,
    "h": 157.8
  },
  "luminance": 0.03922
}

Semantic roles & 50–950 ramp

primary
#0F4028
secondary
#7A3055
accent
#4392E5
background
#F5F7F5
surface
#E9EDEA
border
#C5C8C6
text
#030805
muted
#787B79

Preview Lab

Preview with #0F4028

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

Preview Lab → · Contrast checker → · Palette generator →

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