#0F4D22#0F4D22

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

Color values

HEX#0F4D22
RGBrgb(15, 77, 34)
HSLhsl(138, 67%, 18%)
HSVhsv(138, 81%, 30%)
CMYKcmyk(80.5%, 0%, 55.8%, 69.8%)
CIE-LABlab(28.18, -30.00, 19.99)
CIE-LCHlch(28.18, 36.05, 146.33°)
OKLaboklab(37.08% -0.0807 0.0484)
OKLCHoklch(37.08% 0.094 149.1)
XYZxyz(3.1394, 5.5244, 2.4139)
Luminance0.0553 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4D22 #4D0F3A
analogous
#1B4D0F #0F4D22 #0F4D41
triadic
#0F4D22 #220F4D #4D220F
tetradic
#0F4D22 #0F1B4D #4D0F3A #4D410F
square
#0F4D22 #0F1B4D #4D0F3A #4D410F
split-complementary
#0F4D22 #410F4D #4D0F1B
monochromatic
#051A0B #051A0B #0F4D22 #198039 #23B34F

Accessibility & contrast

On white

9.98
#0F4D22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F4D22
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4D22#FFFFFF#000000##FFFFFF
##0F4D221.009.982.119.98
#FFFFFF9.981.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E461E
Deuteranopia (green-blind)
#464025
Tritanopia (blue-blind)
#004B43
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #0f4d22;
/* rgb */ color: rgb(15, 77, 34);
/* oklch */ color: oklch(37.1% 0.094 149.1);
Tailwind
colors: {
  custom: {
    50: '#587f5e',
    500: '#0f4d22',
    950: '#000000',
  },
}
SCSS
$custom: #0f4d22;
$custom-light: #587f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4d22",
  "rgb": {
    "r": 15,
    "g": 77,
    "b": 34
  },
  "hsl": {
    "h": 138.387,
    "s": 67.391,
    "l": 18.039
  },
  "oklch": {
    "l": 0.37078,
    "c": 0.0941,
    "h": 149.1
  },
  "luminance": 0.05525
}

Semantic roles & 50–950 ramp

primary
#0F4D22
secondary
#87316D
accent
#3EB5EA
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #0F4D22

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

Preview Lab → · Contrast checker → · Palette generator →

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