#0F7252#0F7252

#0F7252 is a mid, moderate teal. Relative luminance 0.127; OKLCH L 49.1% C 0.099 H 164.6°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#0F7252
RGBrgb(15, 114, 82)
HSLhsl(161, 77%, 25%)
HSVhsv(161, 87%, 45%)
CMYKcmyk(86.8%, 0%, 28.1%, 55.3%)
CIE-LABlab(42.38, -34.93, 10.31)
CIE-LCHlch(42.38, 36.42, 163.55°)
OKLaboklab(49.11% -0.0958 0.0263)
OKLCHoklch(49.11% 0.099 164.6)
XYZxyz(7.7364, 12.7444, 10.0332)
Luminance0.1275 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F7252 #720F2F
analogous
#0F7220 #0F7252 #0F6072
triadic
#0F7252 #520F72 #72520F
tetradic
#0F7252 #200F72 #720F2F #60720F
square
#0F7252 #200F72 #720F2F #60720F
split-complementary
#0F7252 #720F60 #72200F
monochromatic
#041B13 #083C2B #0F7252 #16A879 #1DDEA0

Accessibility & contrast

On white

5.92
#0F7252 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#0F7252 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #0F7252
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F7252#FFFFFF#000000##FFFFFF
##0F72521.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706950
Deuteranopia (green-blind)
#646154
Tritanopia (blue-blind)
#007269
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #0f7252;
/* rgb */ color: rgb(15, 114, 82);
/* oklch */ color: oklch(49.1% 0.099 164.6);
Tailwind
colors: {
  custom: {
    50: '#629b82',
    500: '#0f7252',
    950: '#000000',
  },
}
SCSS
$custom: #0f7252;
$custom-light: #629b82;
$custom-dark: #000000;
JSON
{
  "hex": "#0f7252",
  "rgb": {
    "r": 15,
    "g": 114,
    "b": 82
  },
  "hsl": {
    "h": 160.606,
    "s": 76.744,
    "l": 25.294
  },
  "oklch": {
    "l": 0.49106,
    "c": 0.09931,
    "h": 164.6
  },
  "luminance": 0.12745
}

Semantic roles & 50–950 ramp

primary
#0F7252
secondary
#AA3359
accent
#3572F3
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#060E0A
muted
#7A7E7C

Preview Lab

Preview with #0F7252

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

Preview Lab → · Contrast checker → · Palette generator →

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