#0F2902#0F2902

#0F2902 is a dark, moderate green. Relative luminance 0.017; OKLCH L 25.1% C 0.072 H 136.8°. Best body text is #FFFFFF at 15.69:1 contrast (WCAG AA passes).

Color values

HEX#0F2902
RGBrgb(15, 41, 2)
HSLhsl(100, 91%, 8%)
HSVhsv(100, 95%, 16%)
CMYKcmyk(63.4%, 0%, 95.1%, 83.9%)
CIE-LABlab(13.78, -18.76, 19.02)
CIE-LCHlch(13.78, 26.71, 134.61°)
OKLaboklab(25.05% -0.0522 0.0491)
OKLCHoklch(25.05% 0.072 136.8)
XYZxyz(1.0009, 1.6917, 0.3312)
Luminance0.0169 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2902 #1C0229
analogous
#222902 #0F2902 #022908
triadic
#0F2902 #020F29 #29020F
tetradic
#0F2902 #022229 #1C0229 #290802
square
#0F2902 #022229 #1C0229 #290802
split-complementary
#0F2902 #080229 #290222
monochromatic
#0B1D01 #0B1D01 #0F2902 #246305 #3A9E08

Accessibility & contrast

On white

15.69
#0F2902 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#0F2902 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2902
15.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2902#FFFFFF#000000##FFFFFF
##0F29021.0015.691.3415.69
#FFFFFF15.691.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2400
Deuteranopia (green-blind)
#272205
Tritanopia (blue-blind)
#0D2721
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #0f2902;
/* rgb */ color: rgb(15, 41, 2);
/* oklch */ color: oklch(25.1% 0.072 136.8);
Tailwind
colors: {
  custom: {
    50: '#4f6347',
    500: '#0f2902',
    950: '#000000',
  },
}
SCSS
$custom: #0f2902;
$custom-light: #4f6347;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2902",
  "rgb": {
    "r": 15,
    "g": 41,
    "b": 2
  },
  "hsl": {
    "h": 100,
    "s": 90.698,
    "l": 8.431
  },
  "oklch": {
    "l": 0.2505,
    "c": 0.07169,
    "h": 136.8
  },
  "luminance": 0.01692
}

Semantic roles & 50–950 ramp

primary
#0F2902
secondary
#52196E
accent
#29FFB8
background
#F4F5F4
surface
#E7EAE6
border
#C3C6C2
text
#020500
muted
#787977

Preview Lab

Preview with #0F2902

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

Preview Lab → · Contrast checker → · Palette generator →

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