#0F4B15#0F4B15

#0F4B15 is a dark, moderate green. Relative luminance 0.052; OKLCH L 36.3% C 0.104 H 144.4°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#0F4B15
RGBrgb(15, 75, 21)
HSLhsl(126, 67%, 18%)
HSVhsv(126, 80%, 29%)
CMYKcmyk(80%, 0%, 72%, 70.6%)
CIE-LABlab(27.26, -31.17, 26.01)
CIE-LCHlch(27.26, 40.60, 140.16°)
OKLaboklab(36.27% -0.0843 0.0603)
OKLCHoklch(36.27% 0.104 144.4)
XYZxyz(2.8482, 5.1875, 1.5605)
Luminance0.0519 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4B15 #4B0F45
analogous
#274B0F #0F4B15 #0F4B33
triadic
#0F4B15 #150F4B #4B150F
tetradic
#0F4B15 #0F274B #4B0F45 #4B330F
square
#0F4B15 #0F274B #4B0F45 #4B330F
split-complementary
#0F4B15 #330F4B #4B0F27
monochromatic
#051A07 #051A07 #0F4B15 #197E23 #23B132

Accessibility & contrast

On white

10.31
#0F4B15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#0F4B15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4B15
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4B15#FFFFFF#000000##FFFFFF
##0F4B151.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D430E
Deuteranopia (green-blind)
#463F1A
Tritanopia (blue-blind)
#004940
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #0f4b15;
/* rgb */ color: rgb(15, 75, 21);
/* oklch */ color: oklch(36.3% 0.104 144.4);
Tailwind
colors: {
  custom: {
    50: '#597e55',
    500: '#0f4b15',
    950: '#000000',
  },
}
SCSS
$custom: #0f4b15;
$custom-light: #597e55;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4b15",
  "rgb": {
    "r": 15,
    "g": 75,
    "b": 21
  },
  "hsl": {
    "h": 126,
    "s": 66.667,
    "l": 17.647
  },
  "oklch": {
    "l": 0.36265,
    "c": 0.10366,
    "h": 144.4
  },
  "luminance": 0.05188
}

Semantic roles & 50–950 ramp

primary
#0F4B15
secondary
#85307D
accent
#3ED8EA
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A03
muted
#797C78

Preview Lab

Preview with #0F4B15

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

Preview Lab → · Contrast checker → · Palette generator →

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