#0F5027#0F5027

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

Color values

HEX#0F5027
RGBrgb(15, 80, 39)
HSLhsl(142, 68%, 19%)
HSVhsv(142, 81%, 31%)
CMYKcmyk(81.3%, 0%, 51.2%, 68.6%)
CIE-LABlab(29.37, -30.32, 18.55)
CIE-LCHlch(29.37, 35.55, 148.55°)
OKLaboklab(38.09% -0.0815 0.0454)
OKLCHoklch(38.09% 0.093 150.9)
XYZxyz(3.4316, 5.9850, 2.8934)
Luminance0.0599 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5027 #500F38
analogous
#17500F #0F5027 #0F5047
triadic
#0F5027 #270F50 #50270F
tetradic
#0F5027 #0F1750 #500F38 #50470F
square
#0F5027 #0F1750 #500F38 #50470F
split-complementary
#0F5027 #470F50 #500F17
monochromatic
#051A0D #051C0E #0F5027 #198440 #22B759

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0F5027#FFFFFF#000000##FFFFFF
##0F50271.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)
#504824
Deuteranopia (green-blind)
#49432A
Tritanopia (blue-blind)
#004F46
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #0f5027;
/* rgb */ color: rgb(15, 80, 39);
/* oklch */ color: oklch(38.1% 0.093 150.9);
Tailwind
colors: {
  custom: {
    50: '#598262',
    500: '#0f5027',
    950: '#000000',
  },
}
SCSS
$custom: #0f5027;
$custom-light: #598262;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5027",
  "rgb": {
    "r": 15,
    "g": 80,
    "b": 39
  },
  "hsl": {
    "h": 142.154,
    "s": 68.421,
    "l": 18.627
  },
  "oklch": {
    "l": 0.38093,
    "c": 0.09334,
    "h": 150.9
  },
  "luminance": 0.05985
}

Semantic roles & 50–950 ramp

primary
#0F5027
secondary
#8A3169
accent
#3DABEB
background
#F5F8F5
surface
#E9EFEA
border
#C5CAC6
text
#040A05
muted
#797C79

Preview Lab

Preview with #0F5027

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

Preview Lab → · Contrast checker → · Palette generator →

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