#0F5428#0F5428

#0F5428 is a dark, moderate green. Relative luminance 0.066; OKLCH L 39.3% C 0.098 H 150.5°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#0F5428
RGBrgb(15, 84, 40)
HSLhsl(142, 70%, 19%)
HSVhsv(142, 82%, 33%)
CMYKcmyk(82.1%, 0%, 52.4%, 67.1%)
CIE-LABlab(30.87, -31.79, 19.85)
CIE-LCHlch(30.87, 37.48, 148.02°)
OKLaboklab(39.33% -0.0855 0.0484)
OKLCHoklch(39.33% 0.098 150.5)
XYZxyz(3.7500, 6.5950, 3.0824)
Luminance0.0659 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5428 #540F3B
analogous
#19540F #0F5428 #0F544B
triadic
#0F5428 #280F54 #54280F
tetradic
#0F5428 #0F1954 #540F3B #544B0F
square
#0F5428 #0F1954 #540F3B #544B0F
split-complementary
#0F5428 #4B0F54 #540F19
monochromatic
#051A0C #06200F #0F5428 #188841 #22BC59

Accessibility & contrast

On white

9.06
#0F5428 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#0F5428 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5428
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5428#FFFFFF#000000##FFFFFF
##0F54281.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544C24
Deuteranopia (green-blind)
#4C462B
Tritanopia (blue-blind)
#00524A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #0f5428;
/* rgb */ color: rgb(15, 84, 40);
/* oklch */ color: oklch(39.3% 0.098 150.5);
Tailwind
colors: {
  custom: {
    50: '#5a8563',
    500: '#0f5428',
    950: '#000000',
  },
}
SCSS
$custom: #0f5428;
$custom-light: #5a8563;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5428",
  "rgb": {
    "r": 15,
    "g": 84,
    "b": 40
  },
  "hsl": {
    "h": 141.739,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.39332,
    "c": 0.09822,
    "h": 150.5
  },
  "luminance": 0.06595
}

Semantic roles & 50–950 ramp

primary
#0F5428
secondary
#8E316C
accent
#3BACED
background
#F5F8F5
surface
#E9EFEA
border
#C5CAC6
text
#040B05
muted
#797C79

Preview Lab

Preview with #0F5428

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

Preview Lab → · Contrast checker → · Palette generator →

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