#0F5E38#0F5E38

#0F5E38 is a dark, moderate teal. Relative luminance 0.084; OKLCH L 42.7% C 0.096 H 156.3°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#0F5E38
RGBrgb(15, 94, 56)
HSLhsl(151, 72%, 21%)
HSVhsv(151, 84%, 37%)
CMYKcmyk(84%, 0%, 40.4%, 63.1%)
CIE-LABlab(34.79, -32.65, 15.46)
CIE-LCHlch(34.79, 36.13, 154.66°)
OKLaboklab(42.67% -0.0881 0.0387)
OKLCHoklch(42.67% 0.096 156.3)
XYZxyz(4.9130, 8.3919, 5.1015)
Luminance0.0839 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5E38 #5E0F35
analogous
#0F5E11 #0F5E38 #0F5D5E
triadic
#0F5E38 #380F5E #5E380F
tetradic
#0F5E38 #110F5E #5E0F35 #5D5E0F
square
#0F5E38 #110F5E #5E0F35 #5D5E0F
split-complementary
#0F5E38 #5E0F5D #5E110F
monochromatic
#041A10 #072919 #0F5E38 #179357 #20C877

Accessibility & contrast

On white

7.84
#0F5E38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#0F5E38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5E38
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5E38#FFFFFF#000000##FFFFFF
##0F5E381.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5635
Deuteranopia (green-blind)
#544F3B
Tritanopia (blue-blind)
#005D54
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #0f5e38;
/* rgb */ color: rgb(15, 94, 56);
/* oklch */ color: oklch(42.7% 0.096 156.3);
Tailwind
colors: {
  custom: {
    50: '#5d8c6f',
    500: '#0f5e38',
    950: '#000000',
  },
}
SCSS
$custom: #0f5e38;
$custom-light: #5d8c6f;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5e38",
  "rgb": {
    "r": 15,
    "g": 94,
    "b": 56
  },
  "hsl": {
    "h": 151.139,
    "s": 72.477,
    "l": 21.373
  },
  "oklch": {
    "l": 0.42665,
    "c": 0.09623,
    "h": 156.3
  },
  "luminance": 0.08392
}

Semantic roles & 50–950 ramp

primary
#0F5E38
secondary
#973162
accent
#3990EF
background
#F5F8F6
surface
#E9F0EC
border
#C5CBC7
text
#050C07
muted
#797D7A

Preview Lab

Preview with #0F5E38

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

Preview Lab → · Contrast checker → · Palette generator →

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