#0F2A06#0F2A06

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

Color values

HEX#0F2A06
RGBrgb(15, 42, 6)
HSLhsl(105, 75%, 9%)
HSVhsv(105, 86%, 16%)
CMYKcmyk(64.3%, 0%, 85.7%, 83.5%)
CIE-LABlab(14.23, -18.69, 17.99)
CIE-LCHlch(14.23, 25.94, 136.09°)
OKLaboklab(25.44% -0.0515 0.0451)
OKLCHoklch(25.44% 0.068 138.8)
XYZxyz(1.0578, 1.7706, 0.4583)
Luminance0.0177 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2A06 #21062A
analogous
#212A06 #0F2A06 #062A0F
triadic
#0F2A06 #060F2A #2A060F
tetradic
#0F2A06 #06212A #21062A #2A0F06
square
#0F2A06 #06212A #21062A #2A0F06
split-complementary
#0F2A06 #0F062A #2A0621
monochromatic
#0A1B04 #0A1B04 #0F2A06 #22600E #359515

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0F2A06#FFFFFF#000000##FFFFFF
##0F2A061.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)
#2C2503
Deuteranopia (green-blind)
#282309
Tritanopia (blue-blind)
#0D2823
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #0f2a06;
/* rgb */ color: rgb(15, 42, 6);
/* oklch */ color: oklch(25.4% 0.068 138.8);
Tailwind
colors: {
  custom: {
    50: '#506449',
    500: '#0f2a06',
    950: '#000000',
  },
}
SCSS
$custom: #0f2a06;
$custom-light: #506449;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2a06",
  "rgb": {
    "r": 15,
    "g": 42,
    "b": 6
  },
  "hsl": {
    "h": 105,
    "s": 75,
    "l": 9.412
  },
  "oklch": {
    "l": 0.25441,
    "c": 0.06846,
    "h": 138.8
  },
  "luminance": 0.01771
}

Semantic roles & 50–950 ramp

primary
#0F2A06
secondary
#58216B
accent
#36F2C3
background
#F4F5F4
surface
#E7EAE7
border
#C3C6C3
text
#020501
muted
#787977

Preview Lab

Preview with #0F2A06

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

Preview Lab → · Contrast checker → · Palette generator →

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