#0A4C27#0A4C27

#0A4C27 is a dark, moderate green. Relative luminance 0.054; OKLCH L 36.8% C 0.089 H 152.8°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#0A4C27
RGBrgb(10, 76, 39)
HSLhsl(146, 77%, 17%)
HSVhsv(146, 87%, 30%)
CMYKcmyk(86.8%, 0%, 48.7%, 70.2%)
CIE-LABlab(27.79, -29.42, 16.50)
CIE-LCHlch(27.79, 33.73, 150.71°)
OKLaboklab(36.75% -0.0791 0.0407)
OKLCHoklch(36.75% 0.089 152.8)
XYZxyz(3.0755, 5.3795, 2.7953)
Luminance0.0538 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A4C27 #4C0A2F
analogous
#0E4C0A #0A4C27 #0A4C48
triadic
#0A4C27 #270A4C #4C270A
tetradic
#0A4C27 #0A0E4C #4C0A2F #4C480A
square
#0A4C27 #0A0E4C #4C0A2F #4C480A
split-complementary
#0A4C27 #480A4C #4C0A0E
monochromatic
#041B0E #041B0E #0A4C27 #118243 #18B85F

Accessibility & contrast

On white

10.12
#0A4C27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#0A4C27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A4C27
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A4C27#FFFFFF#000000##FFFFFF
##0A4C271.0010.122.0810.12
#FFFFFF10.121.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4524
Deuteranopia (green-blind)
#453F2A
Tritanopia (blue-blind)
#004B43
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #0a4c27;
/* rgb */ color: rgb(10, 76, 39);
/* oklch */ color: oklch(36.8% 0.089 152.8);
Tailwind
colors: {
  custom: {
    50: '#567f61',
    500: '#0a4c27',
    950: '#000000',
  },
}
SCSS
$custom: #0a4c27;
$custom-light: #567f61;
$custom-dark: #000000;
JSON
{
  "hex": "#0a4c27",
  "rgb": {
    "r": 10,
    "g": 76,
    "b": 39
  },
  "hsl": {
    "h": 146.364,
    "s": 76.744,
    "l": 16.863
  },
  "oklch": {
    "l": 0.36754,
    "c": 0.08893,
    "h": 152.8
  },
  "luminance": 0.0538
}

Semantic roles & 50–950 ramp

primary
#0A4C27
secondary
#89295F
accent
#359FF3
background
#F5F7F5
surface
#E9EEEA
border
#C5C9C6
text
#030A05
muted
#787C79

Preview Lab

Preview with #0A4C27

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

Preview Lab → · Contrast checker → · Palette generator →

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