#0F5130#0F5130

#0F5130 is a dark, moderate teal. Relative luminance 0.062; OKLCH L 38.6% C 0.085 H 156.1°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#0F5130
RGBrgb(15, 81, 48)
HSLhsl(150, 69%, 19%)
HSVhsv(150, 81%, 32%)
CMYKcmyk(81.5%, 0%, 40.7%, 68.2%)
CIE-LABlab(29.91, -28.85, 13.80)
CIE-LCHlch(29.91, 31.98, 154.43°)
OKLaboklab(38.59% -0.0779 0.0346)
OKLCHoklch(38.59% 0.085 156.1)
XYZxyz(3.6726, 6.1994, 3.7988)
Luminance0.0620 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5130 #510F30
analogous
#0F510F #0F5130 #0F5151
triadic
#0F5130 #300F51 #51300F
tetradic
#0F5130 #0F0F51 #510F30 #51510F
square
#0F5130 #0F0F51 #510F30 #51510F
split-complementary
#0F5130 #510F51 #510F0F
monochromatic
#051A0F #051D11 #0F5130 #19854F #22B86D

Accessibility & contrast

On white

9.38
#0F5130 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#0F5130 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5130
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5130#FFFFFF#000000##FFFFFF
##0F51301.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514A2E
Deuteranopia (green-blind)
#494432
Tritanopia (blue-blind)
#005049
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #0f5130;
/* rgb */ color: rgb(15, 81, 48);
/* oklch */ color: oklch(38.6% 0.085 156.1);
Tailwind
colors: {
  custom: {
    50: '#598268',
    500: '#0f5130',
    950: '#000000',
  },
}
SCSS
$custom: #0f5130;
$custom-light: #598268;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5130",
  "rgb": {
    "r": 15,
    "g": 81,
    "b": 48
  },
  "hsl": {
    "h": 150,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.38589,
    "c": 0.08526,
    "h": 156.1
  },
  "luminance": 0.062
}

Semantic roles & 50–950 ramp

primary
#0F5130
secondary
#8B315E
accent
#3C94EC
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040A06
muted
#797C7A

Preview Lab

Preview with #0F5130

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

Preview Lab → · Contrast checker → · Palette generator →

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