#0F5E23#0F5E23

#0F5E23 is a dark, moderate green. Relative luminance 0.082; OKLCH L 42.3% C 0.117 H 147.0°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#0F5E23
RGBrgb(15, 94, 35)
HSLhsl(135, 72%, 21%)
HSVhsv(135, 84%, 37%)
CMYKcmyk(84%, 0%, 62.8%, 63.1%)
CIE-LABlab(34.45, -36.55, 26.98)
CIE-LCHlch(34.45, 45.43, 143.56°)
OKLaboklab(42.28% -0.0983 0.0639)
OKLCHoklch(42.28% 0.117 147)
XYZxyz(4.5027, 8.2278, 2.9406)
Luminance0.0823 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5E23 #5E0F4A
analogous
#235E0F #0F5E23 #0F5E4B
triadic
#0F5E23 #230F5E #5E230F
tetradic
#0F5E23 #0F235E #5E0F4A #5E4B0F
square
#0F5E23 #0F235E #5E0F4A #5E4B0F
split-complementary
#0F5E23 #4B0F5E #5E0F23
monochromatic
#041A0A #07290F #0F5E23 #179337 #20C84A

Accessibility & contrast

On white

7.94
#0F5E23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#0F5E23 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5E23
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5E23#FFFFFF#000000##FFFFFF
##0F5E231.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F551D
Deuteranopia (green-blind)
#574F28
Tritanopia (blue-blind)
#005C51
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #0f5e23;
/* rgb */ color: rgb(15, 94, 35);
/* oklch */ color: oklch(42.3% 0.117 147.0);
Tailwind
colors: {
  custom: {
    50: '#5d8c60',
    500: '#0f5e23',
    950: '#000000',
  },
}
SCSS
$custom: #0f5e23;
$custom-light: #5d8c60;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5e23",
  "rgb": {
    "r": 15,
    "g": 94,
    "b": 35
  },
  "hsl": {
    "h": 135.19,
    "s": 72.477,
    "l": 21.373
  },
  "oklch": {
    "l": 0.4228,
    "c": 0.11724,
    "h": 147
  },
  "luminance": 0.08228
}

Semantic roles & 50–950 ramp

primary
#0F5E23
secondary
#97317E
accent
#39C1EF
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C05
muted
#797D79

Preview Lab

Preview with #0F5E23

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

Preview Lab → · Contrast checker → · Palette generator →

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