#0F5026#0F5026

#0F5026 is a dark, moderate green. Relative luminance 0.060; OKLCH L 38.1% C 0.094 H 150.4°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#0F5026
RGBrgb(15, 80, 38)
HSLhsl(141, 68%, 19%)
HSVhsv(141, 81%, 31%)
CMYKcmyk(81.3%, 0%, 52.5%, 68.6%)
CIE-LABlab(29.36, -30.52, 19.12)
CIE-LCHlch(29.36, 36.01, 147.93°)
OKLaboklab(38.07% -0.0821 0.0466)
OKLCHoklch(38.07% 0.094 150.4)
XYZxyz(3.4152, 5.9784, 2.8073)
Luminance0.0598 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5026 #500F39
analogous
#18500F #0F5026 #0F5046
triadic
#0F5026 #260F50 #50260F
tetradic
#0F5026 #0F1850 #500F39 #50460F
square
#0F5026 #0F1850 #500F39 #50460F
split-complementary
#0F5026 #460F50 #500F18
monochromatic
#051A0C #051C0E #0F5026 #19843E #22B757

Accessibility & contrast

On white

9.56
#0F5026 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#0F5026 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5026
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5026#FFFFFF#000000##FFFFFF
##0F50261.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f5026;
/* rgb */ color: rgb(15, 80, 38);
/* oklch */ color: oklch(38.1% 0.094 150.4);
Tailwind
colors: {
  custom: {
    50: '#598261',
    500: '#0f5026',
    950: '#000000',
  },
}
SCSS
$custom: #0f5026;
$custom-light: #598261;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5026",
  "rgb": {
    "r": 15,
    "g": 80,
    "b": 38
  },
  "hsl": {
    "h": 141.231,
    "s": 68.421,
    "l": 18.627
  },
  "oklch": {
    "l": 0.38073,
    "c": 0.09439,
    "h": 150.4
  },
  "luminance": 0.05979
}

Semantic roles & 50–950 ramp

primary
#0F5026
secondary
#8A316A
accent
#3DADEB
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040A05
muted
#797C79

Preview Lab

Preview with #0F5026

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

Preview Lab → · Contrast checker → · Palette generator →

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