#0F2E04#0F2E04

#0F2E04 is a dark, moderate green. Relative luminance 0.021; OKLCH L 26.7% C 0.077 H 138.7°. Best body text is #FFFFFF at 14.86:1 contrast (WCAG AA passes).

Color values

HEX#0F2E04
RGBrgb(15, 46, 4)
HSLhsl(104, 84%, 10%)
HSVhsv(104, 91%, 18%)
CMYKcmyk(67.4%, 0%, 91.3%, 82%)
CIE-LABlab(15.82, -20.86, 20.84)
CIE-LCHlch(15.82, 29.49, 135.04°)
OKLaboklab(26.74% -0.0576 0.0507)
OKLCHoklch(26.74% 0.077 138.7)
XYZxyz(1.1959, 2.0642, 0.4503)
Luminance0.0206 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2E04 #23042E
analogous
#242E04 #0F2E04 #042E0E
triadic
#0F2E04 #040F2E #2E040F
tetradic
#0F2E04 #04242E #23042E #2E0E04
square
#0F2E04 #04242E #23042E #2E0E04
split-complementary
#0F2E04 #0E042E #2E0424
monochromatic
#091C02 #091C02 #0F2E04 #216609 #349F0E

Accessibility & contrast

On white

14.86
#0F2E04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#0F2E04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2E04
14.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2E04#FFFFFF#000000##FFFFFF
##0F2E041.0014.861.4114.86
#FFFFFF14.861.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302900
Deuteranopia (green-blind)
#2C2608
Tritanopia (blue-blind)
#0C2C26
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #0f2e04;
/* rgb */ color: rgb(15, 46, 4);
/* oklch */ color: oklch(26.7% 0.077 138.7);
Tailwind
colors: {
  custom: {
    50: '#516748',
    500: '#0f2e04',
    950: '#000000',
  },
}
SCSS
$custom: #0f2e04;
$custom-light: #516748;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2e04",
  "rgb": {
    "r": 15,
    "g": 46,
    "b": 4
  },
  "hsl": {
    "h": 104.286,
    "s": 84,
    "l": 9.804
  },
  "oklch": {
    "l": 0.26742,
    "c": 0.07673,
    "h": 138.7
  },
  "luminance": 0.02064
}

Semantic roles & 50–950 ramp

primary
#0F2E04
secondary
#5B1D71
accent
#2EFAC5
background
#F4F6F4
surface
#E7EBE6
border
#C3C6C2
text
#020600
muted
#787A77

Preview Lab

Preview with #0F2E04

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

Preview Lab → · Contrast checker → · Palette generator →

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