#0F2F04#0F2F04

#0F2F04 is a dark, moderate green. Relative luminance 0.021; OKLCH L 27.1% C 0.078 H 138.8°. Best body text is #FFFFFF at 14.70:1 contrast (WCAG AA passes).

Color values

HEX#0F2F04
RGBrgb(15, 47, 4)
HSLhsl(105, 84%, 10%)
HSVhsv(105, 91%, 18%)
CMYKcmyk(68.1%, 0%, 91.5%, 81.6%)
CIE-LABlab(16.22, -21.33, 21.34)
CIE-LCHlch(16.22, 30.17, 134.98°)
OKLaboklab(27.07% -0.0588 0.0515)
OKLCHoklch(27.07% 0.078 138.8)
XYZxyz(1.2354, 2.1433, 0.4634)
Luminance0.0214 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2F04 #24042F
analogous
#252F04 #0F2F04 #042F0E
triadic
#0F2F04 #040F2F #2F040F
tetradic
#0F2F04 #04252F #24042F #2F0E04
square
#0F2F04 #04252F #24042F #2F0E04
split-complementary
#0F2F04 #0E042F #2F0425
monochromatic
#091C02 #091C02 #0F2F04 #216709 #33A00E

Accessibility & contrast

On white

14.70
#0F2F04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#0F2F04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2F04
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2F04#FFFFFF#000000##FFFFFF
##0F2F041.0014.701.4314.70
#FFFFFF14.701.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312A00
Deuteranopia (green-blind)
#2D2708
Tritanopia (blue-blind)
#0C2D27
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #0f2f04;
/* rgb */ color: rgb(15, 47, 4);
/* oklch */ color: oklch(27.1% 0.078 138.8);
Tailwind
colors: {
  custom: {
    50: '#516849',
    500: '#0f2f04',
    950: '#000000',
  },
}
SCSS
$custom: #0f2f04;
$custom-light: #516849;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2f04",
  "rgb": {
    "r": 15,
    "g": 47,
    "b": 4
  },
  "hsl": {
    "h": 104.651,
    "s": 84.314,
    "l": 10
  },
  "oklch": {
    "l": 0.27073,
    "c": 0.07819,
    "h": 138.8
  },
  "luminance": 0.02143
}

Semantic roles & 50–950 ramp

primary
#0F2F04
secondary
#5C1D72
accent
#2DFBC6
background
#F4F6F4
surface
#E7EBE6
border
#C3C6C2
text
#020601
muted
#787A77

Preview Lab

Preview with #0F2F04

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

Preview Lab → · Contrast checker → · Palette generator →

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