#0F5A37#0F5A37

#0F5A37 is a dark, moderate teal. Relative luminance 0.077; OKLCH L 41.5% C 0.091 H 157.2°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#0F5A37
RGBrgb(15, 90, 55)
HSLhsl(152, 71%, 21%)
HSVhsv(152, 83%, 35%)
CMYKcmyk(83.3%, 0%, 38.9%, 64.7%)
CIE-LABlab(33.33, -31.17, 14.11)
CIE-LCHlch(33.33, 34.21, 155.65°)
OKLaboklab(41.45% -0.0843 0.0354)
OKLCHoklch(41.45% 0.091 157.2)
XYZxyz(4.5423, 7.6892, 4.8585)
Luminance0.0769 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5A37 #5A0F32
analogous
#0F5A11 #0F5A37 #0F575A
triadic
#0F5A37 #370F5A #5A370F
tetradic
#0F5A37 #110F5A #5A0F32 #575A0F
square
#0F5A37 #110F5A #5A0F32 #575A0F
split-complementary
#0F5A37 #5A0F57 #5A110F
monochromatic
#041A10 #062617 #0F5A37 #188E57 #20C377

Accessibility & contrast

On white

8.27
#0F5A37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#0F5A37 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5A37
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5A37#FFFFFF#000000##FFFFFF
##0F5A371.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595235
Deuteranopia (green-blind)
#504C39
Tritanopia (blue-blind)
#005951
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #0f5a37;
/* rgb */ color: rgb(15, 90, 55);
/* oklch */ color: oklch(41.5% 0.091 157.2);
Tailwind
colors: {
  custom: {
    50: '#5c896e',
    500: '#0f5a37',
    950: '#000000',
  },
}
SCSS
$custom: #0f5a37;
$custom-light: #5c896e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5a37",
  "rgb": {
    "r": 15,
    "g": 90,
    "b": 55
  },
  "hsl": {
    "h": 152,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.41454,
    "c": 0.09141,
    "h": 157.2
  },
  "luminance": 0.0769
}

Semantic roles & 50–950 ramp

primary
#0F5A37
secondary
#94315F
accent
#3A8EEE
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#050C07
muted
#797D7A

Preview Lab

Preview with #0F5A37

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

Preview Lab → · Contrast checker → · Palette generator →

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