#0F402E#0F402E

#0F402E is a dark, moderate teal. Relative luminance 0.040; OKLCH L 33.4% C 0.061 H 164.5°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#0F402E
RGBrgb(15, 64, 46)
HSLhsl(158, 62%, 15%)
HSVhsv(158, 77%, 25%)
CMYKcmyk(76.6%, 0%, 28.1%, 74.9%)
CIE-LABlab(23.56, -21.34, 6.37)
CIE-LCHlch(23.56, 22.27, 163.37°)
OKLaboklab(33.35% -0.0588 0.0163)
OKLCHoklch(33.35% 0.061 164.5)
XYZxyz(2.5233, 3.9653, 3.2166)
Luminance0.0397 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F402E #400F21
analogous
#0F4015 #0F402E #0F3940
triadic
#0F402E #2E0F40 #402E0F
tetradic
#0F402E #150F40 #400F21 #39400F
square
#0F402E #150F40 #400F21 #39400F
split-complementary
#0F402E #400F39 #40150F
monochromatic
#061912 #061912 #0F402E #1B7252 #26A375

Accessibility & contrast

On white

11.71
#0F402E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#0F402E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F402E
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F402E#FFFFFF#000000##FFFFFF
##0F402E1.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3B2D
Deuteranopia (green-blind)
#38362F
Tritanopia (blue-blind)
#00403B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #0f402e;
/* rgb */ color: rgb(15, 64, 46);
/* oklch */ color: oklch(33.4% 0.061 164.5);
Tailwind
colors: {
  custom: {
    50: '#557566',
    500: '#0f402e',
    950: '#000000',
  },
}
SCSS
$custom: #0f402e;
$custom-light: #557566;
$custom-dark: #000000;
JSON
{
  "hex": "#0f402e",
  "rgb": {
    "r": 15,
    "g": 64,
    "b": 46
  },
  "hsl": {
    "h": 157.959,
    "s": 62.025,
    "l": 15.49
  },
  "oklch": {
    "l": 0.3335,
    "c": 0.06103,
    "h": 164.5
  },
  "luminance": 0.03966
}

Semantic roles & 50–950 ramp

primary
#0F402E
secondary
#7A304C
accent
#437EE5
background
#F5F7F6
surface
#E9EDEB
border
#C5C8C6
text
#030806
muted
#787B7A

Preview Lab

Preview with #0F402E

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

Preview Lab → · Contrast checker → · Palette generator →

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