#0F5423#0F5423

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

Color values

HEX#0F5423
RGBrgb(15, 84, 35)
HSLhsl(137, 70%, 19%)
HSVhsv(137, 82%, 33%)
CMYKcmyk(82.1%, 0%, 58.3%, 67.1%)
CIE-LABlab(30.79, -32.68, 22.62)
CIE-LCHlch(30.79, 39.74, 145.31°)
OKLaboklab(39.25% -0.0879 0.0543)
OKLCHoklch(39.25% 0.103 148.3)
XYZxyz(3.6704, 6.5631, 2.6632)
Luminance0.0656 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5423 #540F40
analogous
#1E540F #0F5423 #0F5446
triadic
#0F5423 #230F54 #54230F
tetradic
#0F5423 #0F1E54 #540F40 #54460F
square
#0F5423 #0F1E54 #540F40 #54460F
split-complementary
#0F5423 #460F54 #540F1E
monochromatic
#051A0B #06200D #0F5423 #188839 #22BC4E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0F5423#FFFFFF#000000##FFFFFF
##0F54231.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)
#554C1F
Deuteranopia (green-blind)
#4D4627
Tritanopia (blue-blind)
#005249
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #0f5423;
/* rgb */ color: rgb(15, 84, 35);
/* oklch */ color: oklch(39.2% 0.103 148.3);
Tailwind
colors: {
  custom: {
    50: '#5a855f',
    500: '#0f5423',
    950: '#000000',
  },
}
SCSS
$custom: #0f5423;
$custom-light: #5a855f;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5423",
  "rgb": {
    "r": 15,
    "g": 84,
    "b": 35
  },
  "hsl": {
    "h": 137.391,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.39245,
    "c": 0.10331,
    "h": 148.3
  },
  "luminance": 0.06564
}

Semantic roles & 50–950 ramp

primary
#0F5423
secondary
#8E3173
accent
#3BB9ED
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B04
muted
#797C79

Preview Lab

Preview with #0F5423

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

Preview Lab → · Contrast checker → · Palette generator →

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