#0F5A3B#0F5A3B

#0F5A3B is a dark, moderate teal. Relative luminance 0.077; OKLCH L 41.6% C 0.087 H 160.0°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#0F5A3B
RGBrgb(15, 90, 59)
HSLhsl(155, 71%, 21%)
HSVhsv(155, 83%, 35%)
CMYKcmyk(83.3%, 0%, 34.4%, 64.7%)
CIE-LABlab(33.41, -30.22, 11.79)
CIE-LCHlch(33.41, 32.43, 158.69°)
OKLaboklab(41.55% -0.0821 0.0298)
OKLCHoklch(41.55% 0.087 160)
XYZxyz(4.6421, 7.7291, 5.3840)
Luminance0.0773 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5A3B #5A0F2E
analogous
#0F5A15 #0F5A3B #0F535A
triadic
#0F5A3B #3B0F5A #5A3B0F
tetradic
#0F5A3B #150F5A #5A0F2E #535A0F
square
#0F5A3B #150F5A #5A0F2E #535A0F
split-complementary
#0F5A3B #5A0F53 #5A150F
monochromatic
#041A11 #062619 #0F5A3B #188E5D #20C380

Accessibility & contrast

On white

8.25
#0F5A3B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F5A3B
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5A3B#FFFFFF#000000##FFFFFF
##0F5A3B1.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595239
Deuteranopia (green-blind)
#504C3D
Tritanopia (blue-blind)
#005A52
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #0f5a3b;
/* rgb */ color: rgb(15, 90, 59);
/* oklch */ color: oklch(41.6% 0.087 160.0);
Tailwind
colors: {
  custom: {
    50: '#5c8971',
    500: '#0f5a3b',
    950: '#000000',
  },
}
SCSS
$custom: #0f5a3b;
$custom-light: #5c8971;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5a3b",
  "rgb": {
    "r": 15,
    "g": 90,
    "b": 59
  },
  "hsl": {
    "h": 155.2,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.41552,
    "c": 0.08736,
    "h": 160
  },
  "luminance": 0.0773
}

Semantic roles & 50–950 ramp

primary
#0F5A3B
secondary
#94315A
accent
#3A84EE
background
#F5F8F6
surface
#E9F0EC
border
#C5CBC7
text
#050B07
muted
#797C7A

Preview Lab

Preview with #0F5A3B

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

Preview Lab → · Contrast checker → · Palette generator →

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