#0A381C#0A381C

#0A381C is a dark, moderate green. Relative luminance 0.030; OKLCH L 30.2% C 0.070 H 152.2°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#0A381C
RGBrgb(10, 56, 28)
HSLhsl(143, 70%, 13%)
HSVhsv(143, 82%, 22%)
CMYKcmyk(82.1%, 0%, 50%, 78%)
CIE-LABlab(19.95, -22.96, 13.19)
CIE-LCHlch(19.95, 26.48, 150.11°)
OKLaboklab(30.21% -0.0619 0.0326)
OKLCHoklch(30.21% 0.07 152.2)
XYZxyz(1.7488, 2.9765, 1.5807)
Luminance0.0298 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A381C #380A26
analogous
#0F380A #0A381C #0A3833
triadic
#0A381C #1C0A38 #381C0A
tetradic
#0A381C #0A0F38 #380A26 #38330A
square
#0A381C #0A0F38 #380A26 #38330A
split-complementary
#0A381C #330A38 #380A0F
monochromatic
#051A0D #051A0D #0A381C #136C36 #1DA050

Accessibility & contrast

On white

13.16
#0A381C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#0A381C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A381C
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A381C#FFFFFF#000000##FFFFFF
##0A381C1.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38331A
Deuteranopia (green-blind)
#332F1E
Tritanopia (blue-blind)
#003731
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #0a381c;
/* rgb */ color: rgb(10, 56, 28);
/* oklch */ color: oklch(30.2% 0.070 152.2);
Tailwind
colors: {
  custom: {
    50: '#516f58',
    500: '#0a381c',
    950: '#000000',
  },
}
SCSS
$custom: #0a381c;
$custom-light: #516f58;
$custom-dark: #000000;
JSON
{
  "hex": "#0a381c",
  "rgb": {
    "r": 10,
    "g": 56,
    "b": 28
  },
  "hsl": {
    "h": 143.478,
    "s": 69.697,
    "l": 12.941
  },
  "oklch": {
    "l": 0.30211,
    "c": 0.06992,
    "h": 152.2
  },
  "luminance": 0.02977
}

Semantic roles & 50–950 ramp

primary
#0A381C
secondary
#752857
accent
#3BA7ED
background
#F4F6F5
surface
#E7ECE9
border
#C3C7C5
text
#020703
muted
#787A78

Preview Lab

Preview with #0A381C

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

Preview Lab → · Contrast checker → · Palette generator →

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