#0A4828#0A4828

#0A4828 is a dark, moderate green. Relative luminance 0.049; OKLCH L 35.5% C 0.082 H 154.9°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#0A4828
RGBrgb(10, 72, 40)
HSLhsl(149, 76%, 16%)
HSVhsv(149, 86%, 28%)
CMYKcmyk(86.1%, 0%, 44.4%, 71.8%)
CIE-LABlab(26.31, -27.48, 13.95)
CIE-LCHlch(26.31, 30.82, 153.09°)
OKLaboklab(35.54% -0.074 0.0348)
OKLCHoklch(35.54% 0.082 154.9)
XYZxyz(2.8253, 4.8521, 2.7947)
Luminance0.0485 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A4828 #480A2A
analogous
#0B480A #0A4828 #0A4847
triadic
#0A4828 #280A48 #48280A
tetradic
#0A4828 #0A0B48 #480A2A #48470A
square
#0A4828 #0A0B48 #480A2A #48470A
split-complementary
#0A4828 #470A48 #480A0B
monochromatic
#041B0F #041B0F #0A4828 #117E46 #19B364

Accessibility & contrast

On white

10.66
#0A4828 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#0A4828 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A4828
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A4828#FFFFFF#000000##FFFFFF
##0A48281.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484126
Deuteranopia (green-blind)
#403C2A
Tritanopia (blue-blind)
#004740
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #0a4828;
/* rgb */ color: rgb(10, 72, 40);
/* oklch */ color: oklch(35.5% 0.082 154.9);
Tailwind
colors: {
  custom: {
    50: '#557c62',
    500: '#0a4828',
    950: '#000000',
  },
}
SCSS
$custom: #0a4828;
$custom-light: #557c62;
$custom-dark: #000000;
JSON
{
  "hex": "#0a4828",
  "rgb": {
    "r": 10,
    "g": 72,
    "b": 40
  },
  "hsl": {
    "h": 149.032,
    "s": 75.61,
    "l": 16.078
  },
  "oklch": {
    "l": 0.35537,
    "c": 0.0818,
    "h": 154.9
  },
  "luminance": 0.04852
}

Semantic roles & 50–950 ramp

primary
#0A4828
secondary
#852958
accent
#3697F2
background
#F5F7F5
surface
#E9EEEA
border
#C5C9C6
text
#030905
muted
#787B79

Preview Lab

Preview with #0A4828

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

Preview Lab → · Contrast checker → · Palette generator →

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