#0F4A38#0F4A38

#0F4A38 is a dark, moderate teal. Relative luminance 0.053; OKLCH L 36.7% C 0.067 H 167.9°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#0F4A38
RGBrgb(15, 74, 56)
HSLhsl(162, 66%, 17%)
HSVhsv(162, 80%, 29%)
CMYKcmyk(79.7%, 0%, 24.3%, 71%)
CIE-LABlab(27.53, -23.54, 5.48)
CIE-LCHlch(27.53, 24.17, 166.90°)
OKLaboklab(36.69% -0.0653 0.014)
OKLCHoklch(36.69% 0.067 167.9)
XYZxyz(3.3592, 5.2842, 4.5835)
Luminance0.0529 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4A38 #4A0F21
analogous
#0F4A1B #0F4A38 #0F3E4A
triadic
#0F4A38 #380F4A #4A380F
tetradic
#0F4A38 #1B0F4A #4A0F21 #3E4A0F
square
#0F4A38 #1B0F4A #4A0F21 #3E4A0F
split-complementary
#0F4A38 #4A0F3E #4A1B0F
monochromatic
#051913 #051913 #0F4A38 #197D5F #24B085

Accessibility & contrast

On white

10.21
#0F4A38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#0F4A38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4A38
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4A38#FFFFFF#000000##FFFFFF
##0F4A381.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484437
Deuteranopia (green-blind)
#403F39
Tritanopia (blue-blind)
#004A45
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #0f4a38;
/* rgb */ color: rgb(15, 74, 56);
/* oklch */ color: oklch(36.7% 0.067 167.9);
Tailwind
colors: {
  custom: {
    50: '#587d6e',
    500: '#0f4a38',
    950: '#000000',
  },
}
SCSS
$custom: #0f4a38;
$custom-light: #587d6e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4a38",
  "rgb": {
    "r": 15,
    "g": 74,
    "b": 56
  },
  "hsl": {
    "h": 161.695,
    "s": 66.292,
    "l": 17.451
  },
  "oklch": {
    "l": 0.36694,
    "c": 0.06683,
    "h": 167.9
  },
  "luminance": 0.05285
}

Semantic roles & 50–950 ramp

primary
#0F4A38
secondary
#84304A
accent
#3F73E9
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040907
muted
#797B7A

Preview Lab

Preview with #0F4A38

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

Preview Lab → · Contrast checker → · Palette generator →

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