#0F2C02#0F2C02

#0F2C02 is a dark, moderate green. Relative luminance 0.019; OKLCH L 26.1% C 0.076 H 137.5°. Best body text is #FFFFFF at 15.20:1 contrast (WCAG AA passes).

Color values

HEX#0F2C02
RGBrgb(15, 44, 2)
HSLhsl(101, 91%, 9%)
HSVhsv(101, 95%, 17%)
CMYKcmyk(65.9%, 0%, 95.5%, 82.7%)
CIE-LABlab(14.99, -20.20, 20.60)
CIE-LCHlch(14.99, 28.85, 134.44°)
OKLaboklab(26.05% -0.0561 0.0514)
OKLCHoklch(26.05% 0.076 137.5)
XYZxyz(1.1086, 1.9072, 0.3671)
Luminance0.0191 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2C02 #1F022C
analogous
#242C02 #0F2C02 #022C0A
triadic
#0F2C02 #020F2C #2C020F
tetradic
#0F2C02 #02242C #1F022C #2C0A02
square
#0F2C02 #02242C #1F022C #2C0A02
split-complementary
#0F2C02 #0A022C #2C0224
monochromatic
#0A1D01 #0A1D01 #0F2C02 #236705 #37A107

Accessibility & contrast

On white

15.20
#0F2C02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#0F2C02 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2C02
15.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2C02#FFFFFF#000000##FFFFFF
##0F2C021.0015.201.3815.20
#FFFFFF15.201.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2700
Deuteranopia (green-blind)
#2A2505
Tritanopia (blue-blind)
#0D2A24
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #0f2c02;
/* rgb */ color: rgb(15, 44, 2);
/* oklch */ color: oklch(26.1% 0.076 137.5);
Tailwind
colors: {
  custom: {
    50: '#506547',
    500: '#0f2c02',
    950: '#000000',
  },
}
SCSS
$custom: #0f2c02;
$custom-light: #506547;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2c02",
  "rgb": {
    "r": 15,
    "g": 44,
    "b": 2
  },
  "hsl": {
    "h": 101.429,
    "s": 91.304,
    "l": 9.02
  },
  "oklch": {
    "l": 0.26051,
    "c": 0.07606,
    "h": 137.5
  },
  "luminance": 0.01907
}

Semantic roles & 50–950 ramp

primary
#0F2C02
secondary
#561971
accent
#29FFBD
background
#F4F6F4
surface
#E7EBE6
border
#C3C6C2
text
#020500
muted
#787A77

Preview Lab

Preview with #0F2C02

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

Preview Lab → · Contrast checker → · Palette generator →

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