#0F4D23#0F4D23

#0F4D23 is a dark, moderate green. Relative luminance 0.055; OKLCH L 37.1% C 0.093 H 149.5°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#0F4D23
RGBrgb(15, 77, 35)
HSLhsl(139, 67%, 18%)
HSVhsv(139, 81%, 30%)
CMYKcmyk(80.5%, 0%, 54.5%, 69.8%)
CIE-LABlab(28.20, -29.82, 19.42)
CIE-LCHlch(28.20, 35.59, 146.93°)
OKLaboklab(37.1% -0.0802 0.0472)
OKLCHoklch(37.1% 0.093 149.5)
XYZxyz(3.1540, 5.5303, 2.4910)
Luminance0.0553 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4D23 #4D0F39
analogous
#1A4D0F #0F4D23 #0F4D42
triadic
#0F4D23 #230F4D #4D230F
tetradic
#0F4D23 #0F1A4D #4D0F39 #4D420F
square
#0F4D23 #0F1A4D #4D0F39 #4D420F
split-complementary
#0F4D23 #420F4D #4D0F1A
monochromatic
#051A0C #051A0C #0F4D23 #19803A #23B352

Accessibility & contrast

On white

9.97
#0F4D23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#0F4D23 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4D23
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4D23#FFFFFF#000000##FFFFFF
##0F4D231.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4620
Deuteranopia (green-blind)
#464026
Tritanopia (blue-blind)
#004B43
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #0f4d23;
/* rgb */ color: rgb(15, 77, 35);
/* oklch */ color: oklch(37.1% 0.093 149.5);
Tailwind
colors: {
  custom: {
    50: '#587f5f',
    500: '#0f4d23',
    950: '#000000',
  },
}
SCSS
$custom: #0f4d23;
$custom-light: #587f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4d23",
  "rgb": {
    "r": 15,
    "g": 77,
    "b": 35
  },
  "hsl": {
    "h": 139.355,
    "s": 67.391,
    "l": 18.039
  },
  "oklch": {
    "l": 0.37096,
    "c": 0.09307,
    "h": 149.5
  },
  "luminance": 0.05531
}

Semantic roles & 50–950 ramp

primary
#0F4D23
secondary
#87316B
accent
#3EB3EA
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #0F4D23

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

Preview Lab → · Contrast checker → · Palette generator →

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