#0A2F0B#0A2F0B

#0A2F0B is a dark, moderate green. Relative luminance 0.021; OKLCH L 27.0% C 0.074 H 143.6°. Best body text is #FFFFFF at 14.74:1 contrast (WCAG AA passes).

Color values

HEX#0A2F0B
RGBrgb(10, 47, 11)
HSLhsl(122, 65%, 11%)
HSVhsv(122, 79%, 18%)
CMYKcmyk(78.7%, 0%, 76.6%, 81.6%)
CIE-LABlab(16.11, -21.93, 18.30)
CIE-LCHlch(16.11, 28.56, 140.15°)
OKLaboklab(26.96% -0.0595 0.0439)
OKLCHoklch(26.96% 0.074 143.6)
XYZxyz(1.2020, 2.1216, 0.6627)
Luminance0.0212 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A2F0B #2F0A2E
analogous
#1B2F0A #0A2F0B #0A2F1D
triadic
#0A2F0B #0B0A2F #2F0B0A
tetradic
#0A2F0B #0A1B2F #2F0A2E #2F1D0A
square
#0A2F0B #0A1B2F #2F0A2E #2F1D0A
split-complementary
#0A2F0B #1D0A2F #2F0A1B
monochromatic
#051906 #051906 #0A2F0B #156117 #1F9423

Accessibility & contrast

On white

14.74
#0A2F0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#0A2F0B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A2F0B
14.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A2F0B#FFFFFF#000000##FFFFFF
##0A2F0B1.0014.741.4214.74
#FFFFFF14.741.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302A07
Deuteranopia (green-blind)
#2C270E
Tritanopia (blue-blind)
#032D27
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #0a2f0b;
/* rgb */ color: rgb(10, 47, 11);
/* oklch */ color: oklch(27.0% 0.074 143.6);
Tailwind
colors: {
  custom: {
    50: '#4f684c',
    500: '#0a2f0b',
    950: '#000000',
  },
}
SCSS
$custom: #0a2f0b;
$custom-light: #4f684c;
$custom-dark: #000000;
JSON
{
  "hex": "#0a2f0b",
  "rgb": {
    "r": 10,
    "g": 47,
    "b": 11
  },
  "hsl": {
    "h": 121.622,
    "s": 64.912,
    "l": 11.176
  },
  "oklch": {
    "l": 0.26955,
    "c": 0.07393,
    "h": 143.6
  },
  "luminance": 0.02122
}

Semantic roles & 50–950 ramp

primary
#0A2F0B
secondary
#6C296A
accent
#40E3E8
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020601
muted
#787A77

Preview Lab

Preview with #0A2F0B

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

Preview Lab → · Contrast checker → · Palette generator →

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