#0F5424#0F5424

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

Color values

HEX#0F5424
RGBrgb(15, 84, 36)
HSLhsl(138, 70%, 19%)
HSVhsv(138, 82%, 33%)
CMYKcmyk(82.1%, 0%, 57.1%, 67.1%)
CIE-LABlab(30.81, -32.51, 22.07)
CIE-LCHlch(30.81, 39.30, 145.83°)
OKLaboklab(39.26% -0.0874 0.0532)
OKLCHoklch(39.26% 0.102 148.7)
XYZxyz(3.6855, 6.5691, 2.7425)
Luminance0.0657 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5424 #540F3F
analogous
#1D540F #0F5424 #0F5447
triadic
#0F5424 #240F54 #54240F
tetradic
#0F5424 #0F1D54 #540F3F #54470F
square
#0F5424 #0F1D54 #540F3F #54470F
split-complementary
#0F5424 #470F54 #540F1D
monochromatic
#051A0B #06200E #0F5424 #18883A #22BC51

Accessibility & contrast

On white

9.08
#0F5424 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#0F5424 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5424
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5424#FFFFFF#000000##FFFFFF
##0F54241.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554C20
Deuteranopia (green-blind)
#4D4628
Tritanopia (blue-blind)
#005249
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #0f5424;
/* rgb */ color: rgb(15, 84, 36);
/* oklch */ color: oklch(39.3% 0.102 148.7);
Tailwind
colors: {
  custom: {
    50: '#5a8560',
    500: '#0f5424',
    950: '#000000',
  },
}
SCSS
$custom: #0f5424;
$custom-light: #5a8560;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5424",
  "rgb": {
    "r": 15,
    "g": 84,
    "b": 36
  },
  "hsl": {
    "h": 138.261,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.39261,
    "c": 0.10231,
    "h": 148.7
  },
  "luminance": 0.0657
}

Semantic roles & 50–950 ramp

primary
#0F5424
secondary
#8E3172
accent
#3BB7ED
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B05
muted
#797C79

Preview Lab

Preview with #0F5424

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

Preview Lab → · Contrast checker → · Palette generator →

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