#0F2C04#0F2C04

#0F2C04 is a dark, moderate green. Relative luminance 0.019; OKLCH L 26.1% C 0.074 H 138.3°. Best body text is #FFFFFF at 15.19:1 contrast (WCAG AA passes).

Color values

HEX#0F2C04
RGBrgb(15, 44, 4)
HSLhsl(104, 83%, 9%)
HSVhsv(104, 91%, 17%)
CMYKcmyk(65.9%, 0%, 90.9%, 82.7%)
CIE-LABlab(15.02, -19.93, 19.81)
CIE-LCHlch(15.02, 28.10, 135.16°)
OKLaboklab(26.08% -0.0551 0.0491)
OKLCHoklch(26.08% 0.074 138.3)
XYZxyz(1.1196, 1.9116, 0.4248)
Luminance0.0191 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2C04 #21042C
analogous
#232C04 #0F2C04 #042C0D
triadic
#0F2C04 #040F2C #2C040F
tetradic
#0F2C04 #04232C #21042C #2C0D04
square
#0F2C04 #04232C #21042C #2C0D04
split-complementary
#0F2C04 #0D042C #2C0423
monochromatic
#0A1C03 #0A1C03 #0F2C04 #226409 #359C0E

Accessibility & contrast

On white

15.19
#0F2C04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#0F2C04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2C04
15.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2C04#FFFFFF#000000##FFFFFF
##0F2C041.0015.191.3815.19
#FFFFFF15.191.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2700
Deuteranopia (green-blind)
#2A2507
Tritanopia (blue-blind)
#0C2A24
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #0f2c04;
/* rgb */ color: rgb(15, 44, 4);
/* oklch */ color: oklch(26.1% 0.074 138.3);
Tailwind
colors: {
  custom: {
    50: '#506548',
    500: '#0f2c04',
    950: '#000000',
  },
}
SCSS
$custom: #0f2c04;
$custom-light: #506548;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2c04",
  "rgb": {
    "r": 15,
    "g": 44,
    "b": 4
  },
  "hsl": {
    "h": 103.5,
    "s": 83.333,
    "l": 9.412
  },
  "oklch": {
    "l": 0.26078,
    "c": 0.07377,
    "h": 138.3
  },
  "luminance": 0.01912
}

Semantic roles & 50–950 ramp

primary
#0F2C04
secondary
#581D6F
accent
#2EFAC2
background
#F4F6F4
surface
#E7EBE6
border
#C3C6C2
text
#020500
muted
#787A77

Preview Lab

Preview with #0F2C04

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

Preview Lab → · Contrast checker → · Palette generator →

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