#0F402D#0F402D

#0F402D is a dark, moderate teal. Relative luminance 0.040; OKLCH L 33.3% C 0.062 H 163.3°. Best body text is #FFFFFF at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#0F402D
RGBrgb(15, 64, 45)
HSLhsl(157, 62%, 15%)
HSVhsv(157, 77%, 25%)
CMYKcmyk(76.6%, 0%, 29.7%, 74.9%)
CIE-LABlab(23.53, -21.62, 6.99)
CIE-LCHlch(23.53, 22.72, 162.07°)
OKLaboklab(33.32% -0.0594 0.0179)
OKLCHoklch(33.32% 0.062 163.3)
XYZxyz(2.5038, 3.9575, 3.1140)
Luminance0.0396 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F402D #400F22
analogous
#0F4015 #0F402D #0F3A40
triadic
#0F402D #2D0F40 #402D0F
tetradic
#0F402D #150F40 #400F22 #3A400F
square
#0F402D #150F40 #400F22 #3A400F
split-complementary
#0F402D #400F3A #40150F
monochromatic
#061911 #061911 #0F402D #1B7250 #26A373

Accessibility & contrast

On white

11.72
#0F402D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F402D
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F402D#FFFFFF#000000##FFFFFF
##0F402D1.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f402d;
/* rgb */ color: rgb(15, 64, 45);
/* oklch */ color: oklch(33.3% 0.062 163.3);
Tailwind
colors: {
  custom: {
    50: '#557565',
    500: '#0f402d',
    950: '#000000',
  },
}
SCSS
$custom: #0f402d;
$custom-light: #557565;
$custom-dark: #000000;
JSON
{
  "hex": "#0f402d",
  "rgb": {
    "r": 15,
    "g": 64,
    "b": 45
  },
  "hsl": {
    "h": 156.735,
    "s": 62.025,
    "l": 15.49
  },
  "oklch": {
    "l": 0.33321,
    "c": 0.06201,
    "h": 163.3
  },
  "luminance": 0.03958
}

Semantic roles & 50–950 ramp

primary
#0F402D
secondary
#7A304D
accent
#4382E5
background
#F5F7F6
surface
#E9EDEB
border
#C5C8C6
text
#030805
muted
#787B7A

Preview Lab

Preview with #0F402D

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

Preview Lab → · Contrast checker → · Palette generator →

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