#0B4227#0B4227

#0B4227 is a dark, moderate teal. Relative luminance 0.041; OKLCH L 33.7% C 0.073 H 156.6°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#0B4227
RGBrgb(11, 66, 39)
HSLhsl(151, 71%, 15%)
HSVhsv(151, 83%, 26%)
CMYKcmyk(83.3%, 0%, 40.9%, 74.1%)
CIE-LABlab(24.04, -24.86, 11.57)
CIE-LCHlch(24.04, 27.42, 155.05°)
OKLaboklab(33.67% -0.0672 0.029)
OKLCHoklch(33.67% 0.073 156.6)
XYZxyz(2.4522, 4.1138, 2.5839)
Luminance0.0411 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B4227 #420B26
analogous
#0B420B #0B4227 #0B4242
triadic
#0B4227 #270B42 #42270B
tetradic
#0B4227 #0B0B42 #420B26 #42420B
square
#0B4227 #0B0B42 #420B26 #42420B
split-complementary
#0B4227 #420B42 #420B0B
monochromatic
#041A0F #041A0F #0B4227 #147646 #1CAB65

Accessibility & contrast

On white

11.52
#0B4227 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#0B4227 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B4227
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B4227#FFFFFF#000000##FFFFFF
##0B42271.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423C25
Deuteranopia (green-blind)
#3B3729
Tritanopia (blue-blind)
#00413B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #0b4227;
/* rgb */ color: rgb(11, 66, 39);
/* oklch */ color: oklch(33.7% 0.073 156.6);
Tailwind
colors: {
  custom: {
    50: '#547761',
    500: '#0b4227',
    950: '#000000',
  },
}
SCSS
$custom: #0b4227;
$custom-light: #547761;
$custom-dark: #000000;
JSON
{
  "hex": "#0b4227",
  "rgb": {
    "r": 11,
    "g": 66,
    "b": 39
  },
  "hsl": {
    "h": 150.545,
    "s": 71.429,
    "l": 15.098
  },
  "oklch": {
    "l": 0.33667,
    "c": 0.07323,
    "h": 156.6
  },
  "luminance": 0.04114
}

Semantic roles & 50–950 ramp

primary
#0B4227
secondary
#7F2A54
accent
#3A92EE
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030805
muted
#787B79

Preview Lab

Preview with #0B4227

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

Preview Lab → · Contrast checker → · Palette generator →

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