#0A2A08#0A2A08

#0A2A08 is a dark, moderate green. Relative luminance 0.017; OKLCH L 25.2% C 0.069 H 142.3°. Best body text is #FFFFFF at 15.58:1 contrast (WCAG AA passes).

Color values

HEX#0A2A08
RGBrgb(10, 42, 8)
HSLhsl(116, 68%, 10%)
HSVhsv(116, 81%, 16%)
CMYKcmyk(76.2%, 0%, 81%, 83.5%)
CIE-LABlab(14.05, -20.06, 16.89)
CIE-LCHlch(14.05, 26.23, 139.92°)
OKLaboklab(25.24% -0.0546 0.0423)
OKLCHoklch(25.24% 0.069 142.3)
XYZxyz(0.9969, 1.7379, 0.5126)
Luminance0.0174 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A2A08 #28082A
analogous
#1B2A08 #0A2A08 #082A17
triadic
#0A2A08 #080A2A #2A080A
tetradic
#0A2A08 #081B2A #28082A #2A1708
square
#0A2A08 #081B2A #28082A #2A1708
split-complementary
#0A2A08 #17082A #2A081B
monochromatic
#061A05 #061A05 #0A2A08 #165D12 #22911C

Accessibility & contrast

On white

15.58
#0A2A08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#0A2A08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A2A08
15.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A2A08#FFFFFF#000000##FFFFFF
##0A2A081.0015.581.3515.58
#FFFFFF15.581.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2505
Deuteranopia (green-blind)
#27230B
Tritanopia (blue-blind)
#052823
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #0a2a08;
/* rgb */ color: rgb(10, 42, 8);
/* oklch */ color: oklch(25.2% 0.069 142.3);
Tailwind
colors: {
  custom: {
    50: '#4d644a',
    500: '#0a2a08',
    950: '#000000',
  },
}
SCSS
$custom: #0a2a08;
$custom-light: #4d644a;
$custom-dark: #000000;
JSON
{
  "hex": "#0a2a08",
  "rgb": {
    "r": 10,
    "g": 42,
    "b": 8
  },
  "hsl": {
    "h": 116.471,
    "s": 68,
    "l": 9.804
  },
  "oklch": {
    "l": 0.25236,
    "c": 0.06909,
    "h": 142.3
  },
  "luminance": 0.01738
}

Semantic roles & 50–950 ramp

primary
#0A2A08
secondary
#652569
accent
#3DEBE1
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010501
muted
#777A77

Preview Lab

Preview with #0A2A08

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

Preview Lab → · Contrast checker → · Palette generator →

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