#0F5A3F#0F5A3F

#0F5A3F is a dark, moderate teal. Relative luminance 0.078; OKLCH L 41.7% C 0.083 H 163.2°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#0F5A3F
RGBrgb(15, 90, 63)
HSLhsl(158, 71%, 21%)
HSVhsv(158, 83%, 35%)
CMYKcmyk(83.3%, 0%, 30%, 64.7%)
CIE-LABlab(33.50, -29.21, 9.45)
CIE-LCHlch(33.50, 30.70, 162.07°)
OKLaboklab(41.66% -0.0799 0.0241)
OKLCHoklch(41.66% 0.083 163.2)
XYZxyz(4.7498, 7.7722, 5.9515)
Luminance0.0777 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5A3F #5A0F2A
analogous
#0F5A19 #0F5A3F #0F4F5A
triadic
#0F5A3F #3F0F5A #5A3F0F
tetradic
#0F5A3F #190F5A #5A0F2A #4F5A0F
square
#0F5A3F #190F5A #5A0F2A #4F5A0F
split-complementary
#0F5A3F #5A0F4F #5A190F
monochromatic
#041A12 #06261A #0F5A3F #188E64 #20C388

Accessibility & contrast

On white

8.22
#0F5A3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F5A3F
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5A3F#FFFFFF#000000##FFFFFF
##0F5A3F1.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#58533D
Deuteranopia (green-blind)
#4F4C41
Tritanopia (blue-blind)
#005A53
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #0f5a3f;
/* rgb */ color: rgb(15, 90, 63);
/* oklch */ color: oklch(41.7% 0.083 163.2);
Tailwind
colors: {
  custom: {
    50: '#5c8974',
    500: '#0f5a3f',
    950: '#000000',
  },
}
SCSS
$custom: #0f5a3f;
$custom-light: #5c8974;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5a3f",
  "rgb": {
    "r": 15,
    "g": 90,
    "b": 63
  },
  "hsl": {
    "h": 158.4,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.41658,
    "c": 0.08347,
    "h": 163.2
  },
  "luminance": 0.07773
}

Semantic roles & 50–950 ramp

primary
#0F5A3F
secondary
#943155
accent
#3A7BEE
background
#F5F8F7
surface
#E9F0ED
border
#C5CBC8
text
#050B08
muted
#797C7B

Preview Lab

Preview with #0F5A3F

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

Preview Lab → · Contrast checker → · Palette generator →

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