#0F5438#0F5438

#0F5438 is a dark, moderate teal. Relative luminance 0.067; OKLCH L 39.7% C 0.082 H 160.8°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#0F5438
RGBrgb(15, 84, 56)
HSLhsl(156, 70%, 19%)
HSVhsv(156, 82%, 33%)
CMYKcmyk(82.1%, 0%, 33.3%, 67.1%)
CIE-LABlab(31.18, -28.27, 10.57)
CIE-LCHlch(31.18, 30.18, 159.50°)
OKLaboklab(39.69% -0.077 0.0268)
OKLCHoklch(39.69% 0.082 160.8)
XYZxyz(4.0807, 6.7272, 4.8240)
Luminance0.0673 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5438 #540F2B
analogous
#0F5416 #0F5438 #0F4E54
triadic
#0F5438 #380F54 #54380F
tetradic
#0F5438 #160F54 #540F2B #4E540F
square
#0F5438 #160F54 #540F2B #4E540F
split-complementary
#0F5438 #540F4E #54160F
monochromatic
#051A11 #062015 #0F5438 #18885B #22BC7D

Accessibility & contrast

On white

8.95
#0F5438 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#0F5438 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5438
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5438#FFFFFF#000000##FFFFFF
##0F54381.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534D36
Deuteranopia (green-blind)
#4A473A
Tritanopia (blue-blind)
#00544D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #0f5438;
/* rgb */ color: rgb(15, 84, 56);
/* oklch */ color: oklch(39.7% 0.082 160.8);
Tailwind
colors: {
  custom: {
    50: '#5a856e',
    500: '#0f5438',
    950: '#000000',
  },
}
SCSS
$custom: #0f5438;
$custom-light: #5a856e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5438",
  "rgb": {
    "r": 15,
    "g": 84,
    "b": 56
  },
  "hsl": {
    "h": 155.652,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.39691,
    "c": 0.08152,
    "h": 160.8
  },
  "luminance": 0.06728
}

Semantic roles & 50–950 ramp

primary
#0F5438
secondary
#8E3157
accent
#3B83ED
background
#F5F8F6
surface
#E9EFEC
border
#C5CAC7
text
#040B07
muted
#797C7A

Preview Lab

Preview with #0F5438

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

Preview Lab → · Contrast checker → · Palette generator →

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