#0F2E02#0F2E02

#0F2E02 is a dark, moderate green. Relative luminance 0.021; OKLCH L 26.7% C 0.079 H 137.9°. Best body text is #FFFFFF at 14.87:1 contrast (WCAG AA passes).

Color values

HEX#0F2E02
RGBrgb(15, 46, 2)
HSLhsl(102, 92%, 9%)
HSVhsv(102, 96%, 18%)
CMYKcmyk(67.4%, 0%, 95.7%, 82%)
CIE-LABlab(15.80, -21.12, 21.62)
CIE-LCHlch(15.80, 30.23, 134.33°)
OKLaboklab(26.72% -0.0585 0.0529)
OKLCHoklch(26.72% 0.079 137.9)
XYZxyz(1.1849, 2.0598, 0.3926)
Luminance0.0206 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2E02 #21022E
analogous
#252E02 #0F2E02 #022E0B
triadic
#0F2E02 #020F2E #2E020F
tetradic
#0F2E02 #02252E #21022E #2E0B02
square
#0F2E02 #02252E #21022E #2E0B02
split-complementary
#0F2E02 #0B022E #2E0225
monochromatic
#0A1D01 #0A1D01 #0F2E02 #226905 #35A307

Accessibility & contrast

On white

14.87
#0F2E02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#0F2E02 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2E02
14.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2E02#FFFFFF#000000##FFFFFF
##0F2E021.0014.871.4114.87
#FFFFFF14.871.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302900
Deuteranopia (green-blind)
#2C2606
Tritanopia (blue-blind)
#0C2C26
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #0f2e02;
/* rgb */ color: rgb(15, 46, 2);
/* oklch */ color: oklch(26.7% 0.079 137.9);
Tailwind
colors: {
  custom: {
    50: '#516748',
    500: '#0f2e02',
    950: '#000000',
  },
}
SCSS
$custom: #0f2e02;
$custom-light: #516748;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2e02",
  "rgb": {
    "r": 15,
    "g": 46,
    "b": 2
  },
  "hsl": {
    "h": 102.273,
    "s": 91.667,
    "l": 9.412
  },
  "oklch": {
    "l": 0.26716,
    "c": 0.0789,
    "h": 137.9
  },
  "luminance": 0.0206
}

Semantic roles & 50–950 ramp

primary
#0F2E02
secondary
#581973
accent
#29FFC0
background
#F4F6F4
surface
#E7EBE6
border
#C3C6C2
text
#020600
muted
#787A77

Preview Lab

Preview with #0F2E02

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

Preview Lab → · Contrast checker → · Palette generator →

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