#0A2F0C#0A2F0C

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

Color values

HEX#0A2F0C
RGBrgb(10, 47, 12)
HSLhsl(123, 65%, 11%)
HSVhsv(123, 79%, 18%)
CMYKcmyk(78.7%, 0%, 74.5%, 81.6%)
CIE-LABlab(16.13, -21.79, 17.87)
CIE-LCHlch(16.13, 28.18, 140.63°)
OKLaboklab(26.97% -0.059 0.0429)
OKLCHoklch(26.97% 0.073 144)
XYZxyz(1.2080, 2.1240, 0.6941)
Luminance0.0212 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A2F0C #2F0A2D
analogous
#1A2F0A #0A2F0C #0A2F1E
triadic
#0A2F0C #0C0A2F #2F0C0A
tetradic
#0A2F0C #0A1A2F #2F0A2D #2F1E0A
square
#0A2F0C #0A1A2F #2F0A2D #2F1E0A
split-complementary
#0A2F0C #1E0A2F #2F0A1A
monochromatic
#051906 #051906 #0A2F0C #156119 #1F9426

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0A2F0C#FFFFFF#000000##FFFFFF
##0A2F0C1.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)
#302A08
Deuteranopia (green-blind)
#2C270F
Tritanopia (blue-blind)
#032D28
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #0a2f0c;
/* rgb */ color: rgb(10, 47, 12);
/* oklch */ color: oklch(27.0% 0.073 144.0);
Tailwind
colors: {
  custom: {
    50: '#4f684c',
    500: '#0a2f0c',
    950: '#000000',
  },
}
SCSS
$custom: #0a2f0c;
$custom-light: #4f684c;
$custom-dark: #000000;
JSON
{
  "hex": "#0a2f0c",
  "rgb": {
    "r": 10,
    "g": 47,
    "b": 12
  },
  "hsl": {
    "h": 123.243,
    "s": 64.912,
    "l": 11.176
  },
  "oklch": {
    "l": 0.26969,
    "c": 0.07296,
    "h": 144
  },
  "luminance": 0.02124
}

Semantic roles & 50–950 ramp

primary
#0A2F0C
secondary
#6C2969
accent
#40DFE8
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020601
muted
#787A77

Preview Lab

Preview with #0A2F0C

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

Preview Lab → · Contrast checker → · Palette generator →

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