#0F5327#0F5327

#0F5327 is a dark, moderate green. Relative luminance 0.064; OKLCH L 39.0% C 0.098 H 150.2°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#0F5327
RGBrgb(15, 83, 39)
HSLhsl(141, 69%, 19%)
HSVhsv(141, 82%, 33%)
CMYKcmyk(81.9%, 0%, 53%, 67.5%)
CIE-LABlab(30.48, -31.57, 19.95)
CIE-LCHlch(30.48, 37.34, 147.71°)
OKLaboklab(39.01% -0.0849 0.0486)
OKLCHoklch(39.01% 0.098 150.2)
XYZxyz(3.6562, 6.4341, 2.9683)
Luminance0.0644 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5327 #530F3B
analogous
#19530F #0F5327 #0F5349
triadic
#0F5327 #270F53 #53270F
tetradic
#0F5327 #0F1953 #530F3B #53490F
square
#0F5327 #0F1953 #530F3B #53490F
split-complementary
#0F5327 #490F53 #530F19
monochromatic
#051A0C #061F0F #0F5327 #18873F #22BB58

Accessibility & contrast

On white

9.18
#0F5327 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#0F5327 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5327
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5327#FFFFFF#000000##FFFFFF
##0F53271.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544B23
Deuteranopia (green-blind)
#4C462A
Tritanopia (blue-blind)
#005149
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #0f5327;
/* rgb */ color: rgb(15, 83, 39);
/* oklch */ color: oklch(39.0% 0.098 150.2);
Tailwind
colors: {
  custom: {
    50: '#5a8462',
    500: '#0f5327',
    950: '#000000',
  },
}
SCSS
$custom: #0f5327;
$custom-light: #5a8462;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5327",
  "rgb": {
    "r": 15,
    "g": 83,
    "b": 39
  },
  "hsl": {
    "h": 141.176,
    "s": 69.388,
    "l": 19.216
  },
  "oklch": {
    "l": 0.39009,
    "c": 0.09779,
    "h": 150.2
  },
  "luminance": 0.06435
}

Semantic roles & 50–950 ramp

primary
#0F5327
secondary
#8D316C
accent
#3CAEEC
background
#F5F8F5
surface
#E9EFEA
border
#C5CAC6
text
#040B05
muted
#797C79

Preview Lab

Preview with #0F5327

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

Preview Lab → · Contrast checker → · Palette generator →

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