#0F5A3E#0F5A3E

#0F5A3E is a dark, moderate teal. Relative luminance 0.078; OKLCH L 41.6% C 0.084 H 162.4°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#0F5A3E
RGBrgb(15, 90, 62)
HSLhsl(158, 71%, 21%)
HSVhsv(158, 83%, 35%)
CMYKcmyk(83.3%, 0%, 31.1%, 64.7%)
CIE-LABlab(33.48, -29.47, 10.03)
CIE-LCHlch(33.48, 31.13, 161.20°)
OKLaboklab(41.63% -0.0805 0.0255)
OKLCHoklch(41.63% 0.084 162.4)
XYZxyz(4.7221, 7.7611, 5.8057)
Luminance0.0776 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5A3E #5A0F2B
analogous
#0F5A18 #0F5A3E #0F505A
triadic
#0F5A3E #3E0F5A #5A3E0F
tetradic
#0F5A3E #180F5A #5A0F2B #505A0F
square
#0F5A3E #180F5A #5A0F2B #505A0F
split-complementary
#0F5A3E #5A0F50 #5A180F
monochromatic
#041A12 #06261A #0F5A3E #188E62 #20C386

Accessibility & contrast

On white

8.23
#0F5A3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#0F5A3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5A3E
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5A3E#FFFFFF#000000##FFFFFF
##0F5A3E1.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#58533C
Deuteranopia (green-blind)
#4F4C40
Tritanopia (blue-blind)
#005A52
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #0f5a3e;
/* rgb */ color: rgb(15, 90, 62);
/* oklch */ color: oklch(41.6% 0.084 162.4);
Tailwind
colors: {
  custom: {
    50: '#5c8973',
    500: '#0f5a3e',
    950: '#000000',
  },
}
SCSS
$custom: #0f5a3e;
$custom-light: #5c8973;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5a3e",
  "rgb": {
    "r": 15,
    "g": 90,
    "b": 62
  },
  "hsl": {
    "h": 157.6,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.41631,
    "c": 0.08443,
    "h": 162.4
  },
  "luminance": 0.07762
}

Semantic roles & 50–950 ramp

primary
#0F5A3E
secondary
#943156
accent
#3A7DEE
background
#F5F8F6
surface
#E9F0EC
border
#C5CBC7
text
#050B08
muted
#797C7B

Preview Lab

Preview with #0F5A3E

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

Preview Lab → · Contrast checker → · Palette generator →

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