#0F2A15#0F2A15

#0F2A15 is a dark, muted green. Relative luminance 0.018; OKLCH L 25.7% C 0.051 H 148.9°. Best body text is #FFFFFF at 15.41:1 contrast (WCAG AA passes).

Color values

HEX#0F2A15
RGBrgb(15, 42, 21)
HSLhsl(133, 47%, 11%)
HSVhsv(133, 64%, 16%)
CMYKcmyk(64.3%, 0%, 50%, 83.5%)
CIE-LABlab(14.47, -16.19, 10.67)
CIE-LCHlch(14.47, 19.39, 146.61°)
OKLaboklab(25.71% -0.0439 0.0265)
OKLCHoklch(25.71% 0.051 148.9)
XYZxyz(1.1602, 1.8115, 0.9978)
Luminance0.0181 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2A15 #2A0F24
analogous
#162A0F #0F2A15 #0F2A22
triadic
#0F2A15 #150F2A #2A150F
tetradic
#0F2A15 #0F162A #2A0F24 #2A220F
square
#0F2A15 #0F162A #2A0F24 #2A220F
split-complementary
#0F2A15 #220F2A #2A0F16
monochromatic
#08170B #08170B #0F2A15 #1F572C #2F8442

Accessibility & contrast

On white

15.41
#0F2A15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#0F2A15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2A15
15.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2A15#FFFFFF#000000##FFFFFF
##0F2A151.0015.411.3615.41
#FFFFFF15.411.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2614
Deuteranopia (green-blind)
#272416
Tritanopia (blue-blind)
#092925
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #0f2a15;
/* rgb */ color: rgb(15, 42, 21);
/* oklch */ color: oklch(25.7% 0.051 148.9);
Tailwind
colors: {
  custom: {
    50: '#506452',
    500: '#0f2a15',
    950: '#000000',
  },
}
SCSS
$custom: #0f2a15;
$custom-light: #506452;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2a15",
  "rgb": {
    "r": 15,
    "g": 42,
    "b": 21
  },
  "hsl": {
    "h": 133.333,
    "s": 47.368,
    "l": 11.176
  },
  "oklch": {
    "l": 0.25706,
    "c": 0.05127,
    "h": 148.9
  },
  "luminance": 0.01812
}

Semantic roles & 50–950 ramp

primary
#0F2A15
secondary
#633258
accent
#51B9D7
background
#F4F5F4
surface
#E7EAE7
border
#C3C6C3
text
#020502
muted
#787978

Preview Lab

Preview with #0F2A15

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

Preview Lab → · Contrast checker → · Palette generator →

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