#0F4520#0F4520

#0F4520 is a dark, moderate green. Relative luminance 0.045; OKLCH L 34.6% C 0.084 H 149.7°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#0F4520
RGBrgb(15, 69, 32)
HSLhsl(139, 64%, 16%)
HSVhsv(139, 78%, 27%)
CMYKcmyk(78.3%, 0%, 53.6%, 72.9%)
CIE-LABlab(25.14, -26.96, 17.38)
CIE-LCHlch(25.14, 32.08, 147.20°)
OKLaboklab(34.56% -0.0726 0.0424)
OKLCHoklch(34.56% 0.084 149.7)
XYZxyz(2.5856, 4.4618, 2.0912)
Luminance0.0446 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4520 #450F34
analogous
#19450F #0F4520 #0F453B
triadic
#0F4520 #200F45 #45200F
tetradic
#0F4520 #0F1945 #450F34 #453B0F
square
#0F4520 #0F1945 #450F34 #453B0F
split-complementary
#0F4520 #3B0F45 #450F19
monochromatic
#05190C #05190C #0F4520 #1A7737 #25AA4F

Accessibility & contrast

On white

11.10
#0F4520 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#0F4520 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4520
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4520#FFFFFF#000000##FFFFFF
##0F45201.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463E1D
Deuteranopia (green-blind)
#3F3A23
Tritanopia (blue-blind)
#00443C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #0f4520;
/* rgb */ color: rgb(15, 69, 32);
/* oklch */ color: oklch(34.6% 0.084 149.7);
Tailwind
colors: {
  custom: {
    50: '#56795c',
    500: '#0f4520',
    950: '#000000',
  },
}
SCSS
$custom: #0f4520;
$custom-light: #56795c;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4520",
  "rgb": {
    "r": 15,
    "g": 69,
    "b": 32
  },
  "hsl": {
    "h": 138.889,
    "s": 64.286,
    "l": 16.471
  },
  "oklch": {
    "l": 0.34558,
    "c": 0.08408,
    "h": 149.7
  },
  "luminance": 0.04462
}

Semantic roles & 50–950 ramp

primary
#0F4520
secondary
#7F3067
accent
#41B3E7
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030904
muted
#787B79

Preview Lab

Preview with #0F4520

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

Preview Lab → · Contrast checker → · Palette generator →

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