#0F5523#0F5523

#0F5523 is a dark, moderate green. Relative luminance 0.067; OKLCH L 39.6% C 0.105 H 148.1°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#0F5523
RGBrgb(15, 85, 35)
HSLhsl(137, 70%, 20%)
HSVhsv(137, 82%, 33%)
CMYKcmyk(82.4%, 0%, 58.8%, 66.7%)
CIE-LABlab(31.16, -33.08, 23.07)
CIE-LCHlch(31.16, 40.33, 145.11°)
OKLaboklab(39.55% -0.0889 0.0553)
OKLCHoklch(39.55% 0.105 148.1)
XYZxyz(3.7486, 6.7195, 2.6892)
Luminance0.0672 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5523 #550F41
analogous
#1E550F #0F5523 #0F5546
triadic
#0F5523 #230F55 #55230F
tetradic
#0F5523 #0F1E55 #550F41 #55460F
square
#0F5523 #0F1E55 #550F41 #55460F
split-complementary
#0F5523 #460F55 #550F1E
monochromatic
#051A0B #06210E #0F5523 #188938 #21BD4E

Accessibility & contrast

On white

8.96
#0F5523 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#0F5523 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5523
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5523#FFFFFF#000000##FFFFFF
##0F55231.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564D1E
Deuteranopia (green-blind)
#4E4727
Tritanopia (blue-blind)
#00534A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #0f5523;
/* rgb */ color: rgb(15, 85, 35);
/* oklch */ color: oklch(39.6% 0.105 148.1);
Tailwind
colors: {
  custom: {
    50: '#5b865f',
    500: '#0f5523',
    950: '#000000',
  },
}
SCSS
$custom: #0f5523;
$custom-light: #5b865f;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5523",
  "rgb": {
    "r": 15,
    "g": 85,
    "b": 35
  },
  "hsl": {
    "h": 137.143,
    "s": 70,
    "l": 19.608
  },
  "oklch": {
    "l": 0.3955,
    "c": 0.10474,
    "h": 148.1
  },
  "luminance": 0.0672
}

Semantic roles & 50–950 ramp

primary
#0F5523
secondary
#8F3174
accent
#3BBAED
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B04
muted
#797C79

Preview Lab

Preview with #0F5523

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

Preview Lab → · Contrast checker → · Palette generator →

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