#0F3104#0F3104

#0F3104 is a dark, moderate green. Relative luminance 0.023; OKLCH L 27.7% C 0.081 H 139.1°. Best body text is #FFFFFF at 14.37:1 contrast (WCAG AA passes).

Color values

HEX#0F3104
RGBrgb(15, 49, 4)
HSLhsl(105, 85%, 10%)
HSVhsv(105, 92%, 19%)
CMYKcmyk(69.4%, 0%, 91.8%, 80.8%)
CIE-LABlab(17.02, -22.23, 22.33)
CIE-LCHlch(17.02, 31.51, 134.88°)
OKLaboklab(27.73% -0.0613 0.0531)
OKLCHoklch(27.73% 0.081 139.1)
XYZxyz(1.3172, 2.3068, 0.4907)
Luminance0.0231 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3104 #260431
analogous
#253104 #0F3104 #04310F
triadic
#0F3104 #040F31 #31040F
tetradic
#0F3104 #042531 #260431 #310F04
square
#0F3104 #042531 #260431 #310F04
split-complementary
#0F3104 #0F0431 #310425
monochromatic
#091C02 #091C02 #0F3104 #206A09 #32A20D

Accessibility & contrast

On white

14.37
#0F3104 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#0F3104 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F3104
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3104#FFFFFF#000000##FFFFFF
##0F31041.0014.371.4614.37
#FFFFFF14.371.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332C00
Deuteranopia (green-blind)
#2F2908
Tritanopia (blue-blind)
#0B2F28
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0f3104;
/* rgb */ color: rgb(15, 49, 4);
/* oklch */ color: oklch(27.7% 0.081 139.1);
Tailwind
colors: {
  custom: {
    50: '#526949',
    500: '#0f3104',
    950: '#000000',
  },
}
SCSS
$custom: #0f3104;
$custom-light: #526949;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3104",
  "rgb": {
    "r": 15,
    "g": 49,
    "b": 4
  },
  "hsl": {
    "h": 105.333,
    "s": 84.906,
    "l": 10.392
  },
  "oklch": {
    "l": 0.27733,
    "c": 0.08107,
    "h": 139.1
  },
  "luminance": 0.02307
}

Semantic roles & 50–950 ramp

primary
#0F3104
secondary
#5E1D73
accent
#2DFBC9
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020601
muted
#787A77

Preview Lab

Preview with #0F3104

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

Preview Lab → · Contrast checker → · Palette generator →

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