#0F5422#0F5422

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

Color values

HEX#0F5422
RGBrgb(15, 84, 34)
HSLhsl(137, 70%, 19%)
HSVhsv(137, 82%, 33%)
CMYKcmyk(82.1%, 0%, 59.5%, 67.1%)
CIE-LABlab(30.78, -32.85, 23.16)
CIE-LCHlch(30.78, 40.19, 144.81°)
OKLaboklab(39.23% -0.0883 0.0555)
OKLCHoklch(39.23% 0.104 147.9)
XYZxyz(3.6558, 6.5573, 2.5861)
Luminance0.0656 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5422 #540F41
analogous
#1F540F #0F5422 #0F5445
triadic
#0F5422 #220F54 #54220F
tetradic
#0F5422 #0F1F54 #540F41 #54450F
square
#0F5422 #0F1F54 #540F41 #54450F
split-complementary
#0F5422 #450F54 #540F1F
monochromatic
#051A0B #06200D #0F5422 #188837 #22BC4C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0F5422#FFFFFF#000000##FFFFFF
##0F54221.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)
#554C1D
Deuteranopia (green-blind)
#4D4626
Tritanopia (blue-blind)
#005249
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #0f5422;
/* rgb */ color: rgb(15, 84, 34);
/* oklch */ color: oklch(39.2% 0.104 147.9);
Tailwind
colors: {
  custom: {
    50: '#5a855e',
    500: '#0f5422',
    950: '#000000',
  },
}
SCSS
$custom: #0f5422;
$custom-light: #5a855e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5422",
  "rgb": {
    "r": 15,
    "g": 84,
    "b": 34
  },
  "hsl": {
    "h": 136.522,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.39229,
    "c": 0.1043,
    "h": 147.9
  },
  "luminance": 0.06558
}

Semantic roles & 50–950 ramp

primary
#0F5422
secondary
#8E3174
accent
#3BBCED
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B04
muted
#797C79

Preview Lab

Preview with #0F5422

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

Preview Lab → · Contrast checker → · Palette generator →

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