#0B402F#0B402F

#0B402F is a dark, moderate teal. Relative luminance 0.039; OKLCH L 33.3% C 0.062 H 166.6°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#0B402F
RGBrgb(11, 64, 47)
HSLhsl(161, 71%, 15%)
HSVhsv(161, 83%, 25%)
CMYKcmyk(82.8%, 0%, 26.6%, 74.9%)
CIE-LABlab(23.48, -21.80, 5.60)
CIE-LCHlch(23.48, 22.50, 165.60°)
OKLaboklab(33.27% -0.0603 0.0143)
OKLCHoklch(33.27% 0.062 166.6)
XYZxyz(2.4842, 3.9429, 3.3189)
Luminance0.0394 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B402F #400B1C
analogous
#0B4015 #0B402F #0B3740
triadic
#0B402F #2F0B40 #402F0B
tetradic
#0B402F #150B40 #400B1C #37400B
square
#0B402F #150B40 #400B1C #37400B
split-complementary
#0B402F #400B37 #40150B
monochromatic
#041A13 #041A13 #0B402F #147455 #1DA87C

Accessibility & contrast

On white

11.74
#0B402F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#0B402F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B402F
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B402F#FFFFFF#000000##FFFFFF
##0B402F1.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3B2E
Deuteranopia (green-blind)
#383630
Tritanopia (blue-blind)
#00403B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #0b402f;
/* rgb */ color: rgb(11, 64, 47);
/* oklch */ color: oklch(33.3% 0.062 166.6);
Tailwind
colors: {
  custom: {
    50: '#547567',
    500: '#0b402f',
    950: '#000000',
  },
}
SCSS
$custom: #0b402f;
$custom-light: #547567;
$custom-dark: #000000;
JSON
{
  "hex": "#0b402f",
  "rgb": {
    "r": 11,
    "g": 64,
    "b": 47
  },
  "hsl": {
    "h": 160.755,
    "s": 70.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.33269,
    "c": 0.06194,
    "h": 166.6
  },
  "luminance": 0.03943
}

Semantic roles & 50–950 ramp

primary
#0B402F
secondary
#7D2A45
accent
#3A74ED
background
#F5F7F6
surface
#E9EDEB
border
#C5C8C6
text
#030806
muted
#787B7A

Preview Lab

Preview with #0B402F

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

Preview Lab → · Contrast checker → · Palette generator →

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