#0F5024#0F5024

#0F5024 is a dark, moderate green. Relative luminance 0.060; OKLCH L 38.0% C 0.096 H 149.4°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#0F5024
RGBrgb(15, 80, 36)
HSLhsl(139, 68%, 19%)
HSVhsv(139, 81%, 31%)
CMYKcmyk(81.3%, 0%, 55%, 68.6%)
CIE-LABlab(29.33, -30.89, 20.25)
CIE-LCHlch(29.33, 36.93, 146.75°)
OKLaboklab(38.04% -0.083 0.0491)
OKLCHoklch(38.04% 0.096 149.4)
XYZxyz(3.3838, 5.9659, 2.6419)
Luminance0.0597 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5024 #500F3B
analogous
#1A500F #0F5024 #0F5044
triadic
#0F5024 #240F50 #50240F
tetradic
#0F5024 #0F1A50 #500F3B #50440F
square
#0F5024 #0F1A50 #500F3B #50440F
split-complementary
#0F5024 #440F50 #500F1A
monochromatic
#051A0C #051C0D #0F5024 #19843B #22B752

Accessibility & contrast

On white

9.58
#0F5024 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#0F5024 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5024
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5024#FFFFFF#000000##FFFFFF
##0F50241.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514820
Deuteranopia (green-blind)
#494327
Tritanopia (blue-blind)
#004E46
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #0f5024;
/* rgb */ color: rgb(15, 80, 36);
/* oklch */ color: oklch(38.0% 0.096 149.4);
Tailwind
colors: {
  custom: {
    50: '#59825f',
    500: '#0f5024',
    950: '#000000',
  },
}
SCSS
$custom: #0f5024;
$custom-light: #59825f;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5024",
  "rgb": {
    "r": 15,
    "g": 80,
    "b": 36
  },
  "hsl": {
    "h": 139.385,
    "s": 68.421,
    "l": 18.627
  },
  "oklch": {
    "l": 0.38037,
    "c": 0.09648,
    "h": 149.4
  },
  "luminance": 0.05966
}

Semantic roles & 50–950 ramp

primary
#0F5024
secondary
#8A316D
accent
#3DB3EB
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040A05
muted
#797C79

Preview Lab

Preview with #0F5024

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

Preview Lab → · Contrast checker → · Palette generator →

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