#0F5628#0F5628

#0F5628 is a dark, moderate green. Relative luminance 0.069; OKLCH L 39.9% C 0.101 H 150.0°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#0F5628
RGBrgb(15, 86, 40)
HSLhsl(141, 70%, 20%)
HSVhsv(141, 83%, 34%)
CMYKcmyk(82.6%, 0%, 53.5%, 66.3%)
CIE-LABlab(31.60, -32.61, 20.77)
CIE-LCHlch(31.60, 38.66, 147.50°)
OKLaboklab(39.94% -0.0876 0.0505)
OKLCHoklch(39.94% 0.101 150)
XYZxyz(3.9075, 6.9099, 3.1349)
Luminance0.0691 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5628 #560F3D
analogous
#19560F #0F5628 #0F564C
triadic
#0F5628 #280F56 #56280F
tetradic
#0F5628 #0F1956 #560F3D #564C0F
square
#0F5628 #0F1956 #560F3D #564C0F
split-complementary
#0F5628 #4C0F56 #560F19
monochromatic
#051A0C #062210 #0F5628 #188A40 #21BE58

Accessibility & contrast

On white

8.82
#0F5628 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#0F5628 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5628
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5628#FFFFFF#000000##FFFFFF
##0F56281.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574E24
Deuteranopia (green-blind)
#4E482B
Tritanopia (blue-blind)
#00544B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #0f5628;
/* rgb */ color: rgb(15, 86, 40);
/* oklch */ color: oklch(39.9% 0.101 150.0);
Tailwind
colors: {
  custom: {
    50: '#5b8663',
    500: '#0f5628',
    950: '#000000',
  },
}
SCSS
$custom: #0f5628;
$custom-light: #5b8663;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5628",
  "rgb": {
    "r": 15,
    "g": 86,
    "b": 40
  },
  "hsl": {
    "h": 141.127,
    "s": 70.297,
    "l": 19.804
  },
  "oklch": {
    "l": 0.39939,
    "c": 0.10114,
    "h": 150
  },
  "luminance": 0.0691
}

Semantic roles & 50–950 ramp

primary
#0F5628
secondary
#90316E
accent
#3BAEED
background
#F5F8F5
surface
#E9EFEA
border
#C5CAC6
text
#040B05
muted
#797C79

Preview Lab

Preview with #0F5628

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

Preview Lab → · Contrast checker → · Palette generator →

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