#0B4228#0B4228

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

Color values

HEX#0B4228
RGBrgb(11, 66, 40)
HSLhsl(152, 71%, 15%)
HSVhsv(152, 83%, 26%)
CMYKcmyk(83.3%, 0%, 39.4%, 74.1%)
CIE-LABlab(24.07, -24.62, 10.96)
CIE-LCHlch(24.07, 26.95, 156.01°)
OKLaboklab(33.69% -0.0667 0.0276)
OKLCHoklch(33.69% 0.072 157.5)
XYZxyz(2.4690, 4.1205, 2.6723)
Luminance0.0412 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B4228 #420B25
analogous
#0B420C #0B4228 #0B4142
triadic
#0B4228 #280B42 #42280B
tetradic
#0B4228 #0C0B42 #420B25 #41420B
square
#0B4228 #0C0B42 #420B25 #41420B
split-complementary
#0B4228 #420B41 #420C0B
monochromatic
#041A10 #041A10 #0B4228 #147648 #1CAB68

Accessibility & contrast

On white

11.51
#0B4228 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B4228
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B4228#FFFFFF#000000##FFFFFF
##0B42281.0011.511.8211.51
#FFFFFF11.511.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413C26
Deuteranopia (green-blind)
#3B372A
Tritanopia (blue-blind)
#00413B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #0b4228;
/* rgb */ color: rgb(11, 66, 40);
/* oklch */ color: oklch(33.7% 0.072 157.5);
Tailwind
colors: {
  custom: {
    50: '#547762',
    500: '#0b4228',
    950: '#000000',
  },
}
SCSS
$custom: #0b4228;
$custom-light: #547762;
$custom-dark: #000000;
JSON
{
  "hex": "#0b4228",
  "rgb": {
    "r": 11,
    "g": 66,
    "b": 40
  },
  "hsl": {
    "h": 151.636,
    "s": 71.429,
    "l": 15.098
  },
  "oklch": {
    "l": 0.33693,
    "c": 0.07215,
    "h": 157.5
  },
  "luminance": 0.04121
}

Semantic roles & 50–950 ramp

primary
#0B4228
secondary
#7F2A52
accent
#3A8FEE
background
#F5F7F5
surface
#E9EDEA
border
#C5C8C6
text
#030805
muted
#787B79

Preview Lab

Preview with #0B4228

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

Preview Lab → · Contrast checker → · Palette generator →

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