#0F2D04#0F2D04

#0F2D04 is a dark, moderate green. Relative luminance 0.020; OKLCH L 26.4% C 0.075 H 138.5°. Best body text is #FFFFFF at 15.03:1 contrast (WCAG AA passes).

Color values

HEX#0F2D04
RGBrgb(15, 45, 4)
HSLhsl(104, 84%, 10%)
HSVhsv(104, 91%, 18%)
CMYKcmyk(66.7%, 0%, 91.1%, 82.4%)
CIE-LABlab(15.42, -20.40, 20.33)
CIE-LCHlch(15.42, 28.80, 135.10°)
OKLaboklab(26.41% -0.0563 0.0499)
OKLCHoklch(26.41% 0.075 138.5)
XYZxyz(1.1573, 1.9870, 0.4374)
Luminance0.0199 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2D04 #22042D
analogous
#242D04 #0F2D04 #042D0D
triadic
#0F2D04 #040F2D #2D040F
tetradic
#0F2D04 #04242D #22042D #2D0D04
square
#0F2D04 #04242D #22042D #2D0D04
split-complementary
#0F2D04 #0D042D #2D0424
monochromatic
#091C02 #091C02 #0F2D04 #226509 #349D0E

Accessibility & contrast

On white

15.03
#0F2D04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#0F2D04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2D04
15.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2D04#FFFFFF#000000##FFFFFF
##0F2D041.0015.031.4015.03
#FFFFFF15.031.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2800
Deuteranopia (green-blind)
#2B2607
Tritanopia (blue-blind)
#0C2B25
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #0f2d04;
/* rgb */ color: rgb(15, 45, 4);
/* oklch */ color: oklch(26.4% 0.075 138.5);
Tailwind
colors: {
  custom: {
    50: '#516648',
    500: '#0f2d04',
    950: '#000000',
  },
}
SCSS
$custom: #0f2d04;
$custom-light: #516648;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2d04",
  "rgb": {
    "r": 15,
    "g": 45,
    "b": 4
  },
  "hsl": {
    "h": 103.902,
    "s": 83.673,
    "l": 9.608
  },
  "oklch": {
    "l": 0.2641,
    "c": 0.07525,
    "h": 138.5
  },
  "luminance": 0.01987
}

Semantic roles & 50–950 ramp

primary
#0F2D04
secondary
#5A1D70
accent
#2EFAC3
background
#F4F6F4
surface
#E7EBE6
border
#C3C6C2
text
#020600
muted
#787A77

Preview Lab

Preview with #0F2D04

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

Preview Lab → · Contrast checker → · Palette generator →

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