#0F2A02#0F2A02

#0F2A02 is a dark, moderate green. Relative luminance 0.018; OKLCH L 25.4% C 0.073 H 137.0°. Best body text is #FFFFFF at 15.53:1 contrast (WCAG AA passes).

Color values

HEX#0F2A02
RGBrgb(15, 42, 2)
HSLhsl(101, 91%, 9%)
HSVhsv(101, 95%, 16%)
CMYKcmyk(64.3%, 0%, 95.2%, 83.5%)
CIE-LABlab(14.18, -19.25, 19.55)
CIE-LCHlch(14.18, 27.43, 134.55°)
OKLaboklab(25.38% -0.0535 0.0499)
OKLCHoklch(25.38% 0.073 137)
XYZxyz(1.0359, 1.7618, 0.3429)
Luminance0.0176 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2A02 #1D022A
analogous
#232A02 #0F2A02 #022A09
triadic
#0F2A02 #020F2A #2A020F
tetradic
#0F2A02 #02232A #1D022A #2A0902
square
#0F2A02 #02232A #1D022A #2A0902
split-complementary
#0F2A02 #09022A #2A0223
monochromatic
#0A1D01 #0A1D01 #0F2A02 #246405 #399F08

Accessibility & contrast

On white

15.53
#0F2A02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F2A02
15.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2A02#FFFFFF#000000##FFFFFF
##0F2A021.0015.531.3515.53
#FFFFFF15.531.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f2a02;
/* rgb */ color: rgb(15, 42, 2);
/* oklch */ color: oklch(25.4% 0.073 137.0);
Tailwind
colors: {
  custom: {
    50: '#506447',
    500: '#0f2a02',
    950: '#000000',
  },
}
SCSS
$custom: #0f2a02;
$custom-light: #506447;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2a02",
  "rgb": {
    "r": 15,
    "g": 42,
    "b": 2
  },
  "hsl": {
    "h": 100.5,
    "s": 90.909,
    "l": 8.627
  },
  "oklch": {
    "l": 0.25384,
    "c": 0.07315,
    "h": 137
  },
  "luminance": 0.01762
}

Semantic roles & 50–950 ramp

primary
#0F2A02
secondary
#53196F
accent
#29FFB9
background
#F4F5F4
surface
#E7EAE6
border
#C3C6C2
text
#020500
muted
#787977

Preview Lab

Preview with #0F2A02

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

Preview Lab → · Contrast checker → · Palette generator →

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