#0F2A05#0F2A05

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

Color values

HEX#0F2A05
RGBrgb(15, 42, 5)
HSLhsl(104, 79%, 9%)
HSVhsv(104, 88%, 16%)
CMYKcmyk(64.3%, 0%, 88.1%, 83.5%)
CIE-LABlab(14.22, -18.83, 18.38)
CIE-LCHlch(14.22, 26.31, 135.69°)
OKLaboklab(25.43% -0.052 0.0463)
OKLCHoklch(25.43% 0.07 138.3)
XYZxyz(1.0523, 1.7684, 0.4294)
Luminance0.0177 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2A05 #20052A
analogous
#222A05 #0F2A05 #052A0E
triadic
#0F2A05 #050F2A #2A050F
tetradic
#0F2A05 #05222A #20052A #2A0E05
square
#0F2A05 #05222A #20052A #2A0E05
split-complementary
#0F2A05 #0E052A #2A0522
monochromatic
#0A1B03 #0A1B03 #0F2A05 #23610C #369712

Accessibility & contrast

On white

15.51
#0F2A05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F2A05
15.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2A05#FFFFFF#000000##FFFFFF
##0F2A051.0015.511.3515.51
#FFFFFF15.511.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2502
Deuteranopia (green-blind)
#282308
Tritanopia (blue-blind)
#0D2823
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #0f2a05;
/* rgb */ color: rgb(15, 42, 5);
/* oklch */ color: oklch(25.4% 0.070 138.3);
Tailwind
colors: {
  custom: {
    50: '#506449',
    500: '#0f2a05',
    950: '#000000',
  },
}
SCSS
$custom: #0f2a05;
$custom-light: #506449;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2a05",
  "rgb": {
    "r": 15,
    "g": 42,
    "b": 5
  },
  "hsl": {
    "h": 103.784,
    "s": 78.723,
    "l": 9.216
  },
  "oklch": {
    "l": 0.25427,
    "c": 0.06959,
    "h": 138.3
  },
  "luminance": 0.01768
}

Semantic roles & 50–950 ramp

primary
#0F2A05
secondary
#571F6C
accent
#33F5C1
background
#F4F5F4
surface
#E7EAE6
border
#C3C6C2
text
#020501
muted
#787977

Preview Lab

Preview with #0F2A05

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

Preview Lab → · Contrast checker → · Palette generator →

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