#0A381F#0A381F

#0A381F is a dark, moderate green. Relative luminance 0.030; OKLCH L 30.3% C 0.067 H 154.8°. Best body text is #FFFFFF at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#0A381F
RGBrgb(10, 56, 31)
HSLhsl(147, 70%, 13%)
HSVhsv(147, 82%, 22%)
CMYKcmyk(82.1%, 0%, 44.6%, 78%)
CIE-LABlab(20.01, -22.28, 11.33)
CIE-LCHlch(20.01, 24.99, 153.03°)
OKLaboklab(30.28% -0.0602 0.0283)
OKLCHoklch(30.28% 0.067 154.8)
XYZxyz(1.7865, 2.9916, 1.7793)
Luminance0.0299 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A381F #380A23
analogous
#0C380A #0A381F #0A3836
triadic
#0A381F #1F0A38 #381F0A
tetradic
#0A381F #0A0C38 #380A23 #38360A
square
#0A381F #0A0C38 #380A23 #38360A
split-complementary
#0A381F #360A38 #380A0C
monochromatic
#051A0E #051A0E #0A381F #136C3C #1DA058

Accessibility & contrast

On white

13.14
#0A381F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A381F
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A381F#FFFFFF#000000##FFFFFF
##0A381F1.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38331D
Deuteranopia (green-blind)
#322F21
Tritanopia (blue-blind)
#003732
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #0a381f;
/* rgb */ color: rgb(10, 56, 31);
/* oklch */ color: oklch(30.3% 0.067 154.8);
Tailwind
colors: {
  custom: {
    50: '#516f5a',
    500: '#0a381f',
    950: '#000000',
  },
}
SCSS
$custom: #0a381f;
$custom-light: #516f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#0a381f",
  "rgb": {
    "r": 10,
    "g": 56,
    "b": 31
  },
  "hsl": {
    "h": 147.391,
    "s": 69.697,
    "l": 12.941
  },
  "oklch": {
    "l": 0.30281,
    "c": 0.0665,
    "h": 154.8
  },
  "luminance": 0.02992
}

Semantic roles & 50–950 ramp

primary
#0A381F
secondary
#752852
accent
#3B9CED
background
#F4F6F5
surface
#E7ECE9
border
#C3C7C5
text
#020704
muted
#787A79

Preview Lab

Preview with #0A381F

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

Preview Lab → · Contrast checker → · Palette generator →

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