#0F5420#0F5420

#0F5420 is a dark, moderate green. Relative luminance 0.065; OKLCH L 39.2% C 0.106 H 147.1°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#0F5420
RGBrgb(15, 84, 32)
HSLhsl(135, 70%, 19%)
HSVhsv(135, 82%, 33%)
CMYKcmyk(82.1%, 0%, 61.9%, 67.1%)
CIE-LABlab(30.75, -33.16, 24.23)
CIE-LCHlch(30.75, 41.07, 143.85°)
OKLaboklab(39.2% -0.0892 0.0576)
OKLCHoklch(39.2% 0.106 147.1)
XYZxyz(3.6278, 6.5461, 2.4385)
Luminance0.0655 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5420 #540F43
analogous
#20540F #0F5420 #0F5443
triadic
#0F5420 #200F54 #54200F
tetradic
#0F5420 #0F2054 #540F43 #54430F
square
#0F5420 #0F2054 #540F43 #54430F
split-complementary
#0F5420 #430F54 #540F20
monochromatic
#051A0A #06200C #0F5420 #188834 #22BC48

Accessibility & contrast

On white

9.09
#0F5420 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F5420
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5420#FFFFFF#000000##FFFFFF
##0F54201.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554C1B
Deuteranopia (green-blind)
#4D4624
Tritanopia (blue-blind)
#005248
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #0f5420;
/* rgb */ color: rgb(15, 84, 32);
/* oklch */ color: oklch(39.2% 0.106 147.1);
Tailwind
colors: {
  custom: {
    50: '#5b855d',
    500: '#0f5420',
    950: '#000000',
  },
}
SCSS
$custom: #0f5420;
$custom-light: #5b855d;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5420",
  "rgb": {
    "r": 15,
    "g": 84,
    "b": 32
  },
  "hsl": {
    "h": 134.783,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.39198,
    "c": 0.10624,
    "h": 147.1
  },
  "luminance": 0.06546
}

Semantic roles & 50–950 ramp

primary
#0F5420
secondary
#8E3177
accent
#3BC1ED
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B04
muted
#797C79

Preview Lab

Preview with #0F5420

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

Preview Lab → · Contrast checker → · Palette generator →

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