#0F7242#0F7242

#0F7242 is a mid, moderate teal. Relative luminance 0.125; OKLCH L 48.7% C 0.115 H 155.3°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#0F7242
RGBrgb(15, 114, 66)
HSLhsl(151, 77%, 25%)
HSVhsv(151, 87%, 45%)
CMYKcmyk(86.8%, 0%, 42.1%, 55.3%)
CIE-LABlab(42.04, -38.66, 19.23)
CIE-LCHlch(42.04, 43.18, 153.55°)
OKLaboklab(48.72% -0.1041 0.0479)
OKLCHoklch(48.72% 0.115 155.3)
XYZxyz(7.1970, 12.5286, 7.1922)
Luminance0.1253 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F7242 #720F3F
analogous
#0F7210 #0F7242 #0F7072
triadic
#0F7242 #420F72 #72420F
tetradic
#0F7242 #100F72 #720F3F #70720F
square
#0F7242 #100F72 #720F3F #70720F
split-complementary
#0F7242 #720F70 #72100F
monochromatic
#041B10 #083C23 #0F7242 #16A861 #1DDE81

Accessibility & contrast

On white

5.99
#0F7242 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#0F7242 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #0F7242
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F7242#FFFFFF#000000##FFFFFF
##0F72421.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71683F
Deuteranopia (green-blind)
#666045
Tritanopia (blue-blind)
#007166
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #0f7242;
/* rgb */ color: rgb(15, 114, 66);
/* oklch */ color: oklch(48.7% 0.115 155.3);
Tailwind
colors: {
  custom: {
    50: '#629b77',
    500: '#0f7242',
    950: '#000000',
  },
}
SCSS
$custom: #0f7242;
$custom-light: #629b77;
$custom-dark: #000000;
JSON
{
  "hex": "#0f7242",
  "rgb": {
    "r": 15,
    "g": 114,
    "b": 66
  },
  "hsl": {
    "h": 150.909,
    "s": 76.744,
    "l": 25.294
  },
  "oklch": {
    "l": 0.48723,
    "c": 0.11455,
    "h": 155.3
  },
  "luminance": 0.1253
}

Semantic roles & 50–950 ramp

primary
#0F7242
secondary
#AA336D
accent
#3591F3
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#060E08
muted
#7A7E7B

Preview Lab

Preview with #0F7242

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

Preview Lab → · Contrast checker → · Palette generator →

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