#0F4C2F#0F4C2F

#0F4C2F is a dark, moderate teal. Relative luminance 0.055; OKLCH L 37.0% C 0.079 H 157.6°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#0F4C2F
RGBrgb(15, 76, 47)
HSLhsl(151, 67%, 18%)
HSVhsv(151, 80%, 30%)
CMYKcmyk(80.3%, 0%, 38.2%, 70.2%)
CIE-LABlab(28.05, -26.84, 11.92)
CIE-LCHlch(28.05, 29.37, 156.05°)
OKLaboklab(37.05% -0.0727 0.03)
OKLCHoklch(37.05% 0.079 157.6)
XYZxyz(3.2942, 5.4753, 3.5720)
Luminance0.0548 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4C2F #4C0F2C
analogous
#0F4C10 #0F4C2F #0F4A4C
triadic
#0F4C2F #2F0F4C #4C2F0F
tetradic
#0F4C2F #100F4C #4C0F2C #4A4C0F
square
#0F4C2F #100F4C #4C0F2C #4A4C0F
split-complementary
#0F4C2F #4C0F4A #4C100F
monochromatic
#051A10 #051A10 #0F4C2F #197F4F #23B26E

Accessibility & contrast

On white

10.02
#0F4C2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#0F4C2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4C2F
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4C2F#FFFFFF#000000##FFFFFF
##0F4C2F1.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B452D
Deuteranopia (green-blind)
#444031
Tritanopia (blue-blind)
#004B44
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #0f4c2f;
/* rgb */ color: rgb(15, 76, 47);
/* oklch */ color: oklch(37.0% 0.079 157.6);
Tailwind
colors: {
  custom: {
    50: '#587f67',
    500: '#0f4c2f',
    950: '#000000',
  },
}
SCSS
$custom: #0f4c2f;
$custom-light: #587f67;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4c2f",
  "rgb": {
    "r": 15,
    "g": 76,
    "b": 47
  },
  "hsl": {
    "h": 151.475,
    "s": 67.033,
    "l": 17.843
  },
  "oklch": {
    "l": 0.37048,
    "c": 0.07868,
    "h": 157.6
  },
  "luminance": 0.05476
}

Semantic roles & 50–950 ramp

primary
#0F4C2F
secondary
#863159
accent
#3E90EA
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A06
muted
#797C7A

Preview Lab

Preview with #0F4C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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