#0A4227#0A4227

#0A4227 is a dark, moderate teal. Relative luminance 0.041; OKLCH L 33.6% C 0.074 H 156.8°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#0A4227
RGBrgb(10, 66, 39)
HSLhsl(151, 74%, 15%)
HSVhsv(151, 85%, 26%)
CMYKcmyk(84.8%, 0%, 40.9%, 74.1%)
CIE-LABlab(24.02, -25.03, 11.54)
CIE-LCHlch(24.02, 27.56, 155.25°)
OKLaboklab(33.64% -0.0677 0.029)
OKLCHoklch(33.64% 0.074 156.8)
XYZxyz(2.4394, 4.1072, 2.5833)
Luminance0.0411 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A4227 #420A25
analogous
#0A420B #0A4227 #0A4142
triadic
#0A4227 #270A42 #42270A
tetradic
#0A4227 #0B0A42 #420A25 #41420A
square
#0A4227 #0B0A42 #420A25 #41420A
split-complementary
#0A4227 #420A41 #420B0A
monochromatic
#041B10 #041B10 #0A4227 #127746 #1AAC66

Accessibility & contrast

On white

11.53
#0A4227 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A4227
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A4227#FFFFFF#000000##FFFFFF
##0A42271.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0a4227;
/* rgb */ color: rgb(10, 66, 39);
/* oklch */ color: oklch(33.6% 0.074 156.8);
Tailwind
colors: {
  custom: {
    50: '#547761',
    500: '#0a4227',
    950: '#000000',
  },
}
SCSS
$custom: #0a4227;
$custom-light: #547761;
$custom-dark: #000000;
JSON
{
  "hex": "#0a4227",
  "rgb": {
    "r": 10,
    "g": 66,
    "b": 39
  },
  "hsl": {
    "h": 151.071,
    "s": 73.684,
    "l": 14.902
  },
  "oklch": {
    "l": 0.33644,
    "c": 0.07361,
    "h": 156.8
  },
  "luminance": 0.04107
}

Semantic roles & 50–950 ramp

primary
#0A4227
secondary
#7F2952
accent
#3791F0
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030805
muted
#787B79

Preview Lab

Preview with #0A4227

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

Preview Lab → · Contrast checker → · Palette generator →

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