#0F5236#0F5236

#0F5236 is a dark, moderate teal. Relative luminance 0.064; OKLCH L 39.0% C 0.081 H 160.2°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#0F5236
RGBrgb(15, 82, 54)
HSLhsl(155, 69%, 19%)
HSVhsv(155, 82%, 32%)
CMYKcmyk(81.7%, 0%, 34.1%, 67.8%)
CIE-LABlab(30.40, -27.86, 10.75)
CIE-LCHlch(30.40, 29.87, 158.89°)
OKLaboklab(39.04% -0.0758 0.0273)
OKLCHoklch(39.04% 0.081 160.2)
XYZxyz(3.8797, 6.4020, 4.5206)
Luminance0.0640 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5236 #520F2B
analogous
#0F5215 #0F5236 #0F4D52
triadic
#0F5236 #360F52 #52360F
tetradic
#0F5236 #150F52 #520F2B #4D520F
square
#0F5236 #150F52 #520F2B #4D520F
split-complementary
#0F5236 #520F4D #52150F
monochromatic
#051A11 #061E14 #0F5236 #188658 #22B97A

Accessibility & contrast

On white

9.21
#0F5236 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#0F5236 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5236
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5236#FFFFFF#000000##FFFFFF
##0F52361.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514B34
Deuteranopia (green-blind)
#494538
Tritanopia (blue-blind)
#00524B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #0f5236;
/* rgb */ color: rgb(15, 82, 54);
/* oklch */ color: oklch(39.0% 0.081 160.2);
Tailwind
colors: {
  custom: {
    50: '#5a836d',
    500: '#0f5236',
    950: '#000000',
  },
}
SCSS
$custom: #0f5236;
$custom-light: #5a836d;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5236",
  "rgb": {
    "r": 15,
    "g": 82,
    "b": 54
  },
  "hsl": {
    "h": 154.925,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.3904,
    "c": 0.08056,
    "h": 160.2
  },
  "luminance": 0.06402
}

Semantic roles & 50–950 ramp

primary
#0F5236
secondary
#8C3157
accent
#3C85EC
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B07
muted
#797C7A

Preview Lab

Preview with #0F5236

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

Preview Lab → · Contrast checker → · Palette generator →

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