#0B2A02#0B2A02

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

Color values

HEX#0B2A02
RGBrgb(11, 42, 2)
HSLhsl(107, 91%, 9%)
HSVhsv(107, 95%, 16%)
CMYKcmyk(73.8%, 0%, 95.2%, 83.5%)
CIE-LABlab(14.01, -20.64, 19.29)
CIE-LCHlch(14.01, 28.25, 136.94°)
OKLaboklab(25.19% -0.0569 0.0495)
OKLCHoklch(25.19% 0.075 139)
XYZxyz(0.9769, 1.7314, 0.3401)
Luminance0.0173 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B2A02 #21022A
analogous
#1F2A02 #0B2A02 #022A0D
triadic
#0B2A02 #020B2A #2A020B
tetradic
#0B2A02 #021F2A #21022A #2A0D02
square
#0B2A02 #021F2A #21022A #2A0D02
split-complementary
#0B2A02 #0D022A #2A021F
monochromatic
#081D01 #081D01 #0B2A02 #1A6405 #2A9F08

Accessibility & contrast

On white

15.60
#0B2A02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B2A02
15.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B2A02#FFFFFF#000000##FFFFFF
##0B2A021.0015.601.3515.60
#FFFFFF15.601.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2500
Deuteranopia (green-blind)
#282305
Tritanopia (blue-blind)
#082822
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #0b2a02;
/* rgb */ color: rgb(11, 42, 2);
/* oklch */ color: oklch(25.2% 0.075 139.0);
Tailwind
colors: {
  custom: {
    50: '#4e6447',
    500: '#0b2a02',
    950: '#000000',
  },
}
SCSS
$custom: #0b2a02;
$custom-light: #4e6447;
$custom-dark: #000000;
JSON
{
  "hex": "#0b2a02",
  "rgb": {
    "r": 11,
    "g": 42,
    "b": 2
  },
  "hsl": {
    "h": 106.5,
    "s": 90.909,
    "l": 8.627
  },
  "oklch": {
    "l": 0.25191,
    "c": 0.07543,
    "h": 139
  },
  "luminance": 0.01731
}

Semantic roles & 50–950 ramp

primary
#0B2A02
secondary
#5C196F
accent
#29FFCF
background
#F4F6F4
surface
#E7EBE6
border
#C3C6C2
text
#020500
muted
#787A77

Preview Lab

Preview with #0B2A02

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

Preview Lab → · Contrast checker → · Palette generator →

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