#0F402C#0F402C

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

Color values

HEX#0F402C
RGBrgb(15, 64, 44)
HSLhsl(156, 62%, 15%)
HSVhsv(156, 77%, 25%)
CMYKcmyk(76.6%, 0%, 31.2%, 74.9%)
CIE-LABlab(23.51, -21.89, 7.61)
CIE-LCHlch(23.51, 23.17, 160.82°)
OKLaboklab(33.29% -0.06 0.0194)
OKLCHoklch(33.29% 0.063 162.1)
XYZxyz(2.4848, 3.9499, 3.0138)
Luminance0.0395 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F402C #400F23
analogous
#0F4013 #0F402C #0F3B40
triadic
#0F402C #2C0F40 #402C0F
tetradic
#0F402C #130F40 #400F23 #3B400F
square
#0F402C #130F40 #400F23 #3B400F
split-complementary
#0F402C #400F3B #40130F
monochromatic
#061911 #061911 #0F402C #1B724E #26A370

Accessibility & contrast

On white

11.73
#0F402C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F402C
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F402C#FFFFFF#000000##FFFFFF
##0F402C1.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f402c;
/* rgb */ color: rgb(15, 64, 44);
/* oklch */ color: oklch(33.3% 0.063 162.1);
Tailwind
colors: {
  custom: {
    50: '#557565',
    500: '#0f402c',
    950: '#000000',
  },
}
SCSS
$custom: #0f402c;
$custom-light: #557565;
$custom-dark: #000000;
JSON
{
  "hex": "#0f402c",
  "rgb": {
    "r": 15,
    "g": 64,
    "b": 44
  },
  "hsl": {
    "h": 155.51,
    "s": 62.025,
    "l": 15.49
  },
  "oklch": {
    "l": 0.33291,
    "c": 0.06302,
    "h": 162.1
  },
  "luminance": 0.0395
}

Semantic roles & 50–950 ramp

primary
#0F402C
secondary
#7A304F
accent
#4385E5
background
#F5F7F6
surface
#E9EDEB
border
#C5C8C6
text
#030805
muted
#787B7A

Preview Lab

Preview with #0F402C

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

Preview Lab → · Contrast checker → · Palette generator →

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