#0F5028#0F5028

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

Color values

HEX#0F5028
RGBrgb(15, 80, 40)
HSLhsl(143, 68%, 19%)
HSVhsv(143, 81%, 31%)
CMYKcmyk(81.3%, 0%, 50%, 68.6%)
CIE-LABlab(29.39, -30.13, 17.98)
CIE-LCHlch(29.39, 35.08, 149.18°)
OKLaboklab(38.11% -0.081 0.0441)
OKLCHoklch(38.11% 0.092 151.4)
XYZxyz(3.4484, 5.9917, 2.9818)
Luminance0.0599 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5028 #500F37
analogous
#16500F #0F5028 #0F5048
triadic
#0F5028 #280F50 #50280F
tetradic
#0F5028 #0F1650 #500F37 #50480F
square
#0F5028 #0F1650 #500F37 #50480F
split-complementary
#0F5028 #480F50 #500F16
monochromatic
#051A0D #051C0E #0F5028 #198442 #22B75C

Accessibility & contrast

On white

9.55
#0F5028 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F5028
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5028#FFFFFF#000000##FFFFFF
##0F50281.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504925
Deuteranopia (green-blind)
#49432B
Tritanopia (blue-blind)
#004F46
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #0f5028;
/* rgb */ color: rgb(15, 80, 40);
/* oklch */ color: oklch(38.1% 0.092 151.4);
Tailwind
colors: {
  custom: {
    50: '#598262',
    500: '#0f5028',
    950: '#000000',
  },
}
SCSS
$custom: #0f5028;
$custom-light: #598262;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5028",
  "rgb": {
    "r": 15,
    "g": 80,
    "b": 40
  },
  "hsl": {
    "h": 143.077,
    "s": 68.421,
    "l": 18.627
  },
  "oklch": {
    "l": 0.38112,
    "c": 0.09228,
    "h": 151.4
  },
  "luminance": 0.05992
}

Semantic roles & 50–950 ramp

primary
#0F5028
secondary
#8A3168
accent
#3DA8EB
background
#F5F8F5
surface
#E9EFEA
border
#C5CAC6
text
#040A05
muted
#797C79

Preview Lab

Preview with #0F5028

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

Preview Lab → · Contrast checker → · Palette generator →

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