#0F6023#0F6023

#0F6023 is a dark, moderate green. Relative luminance 0.086; OKLCH L 42.9% C 0.120 H 146.8°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#0F6023
RGBrgb(15, 96, 35)
HSLhsl(135, 73%, 22%)
HSVhsv(135, 84%, 38%)
CMYKcmyk(84.4%, 0%, 63.5%, 62.4%)
CIE-LABlab(35.18, -37.30, 27.83)
CIE-LCHlch(35.18, 46.54, 143.27°)
OKLaboklab(42.88% -0.1003 0.0657)
OKLCHoklch(42.88% 0.12 146.8)
XYZxyz(4.6829, 8.5881, 3.0006)
Luminance0.0859 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F6023 #600F4C
analogous
#24600F #0F6023 #0F604C
triadic
#0F6023 #230F60 #60230F
tetradic
#0F6023 #0F2460 #600F4C #604C0F
square
#0F6023 #0F2460 #600F4C #604C0F
split-complementary
#0F6023 #4C0F60 #600F24
monochromatic
#041A0A #072B10 #0F6023 #179536 #20CA4A

Accessibility & contrast

On white

7.73
#0F6023 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#0F6023 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F6023
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F6023#FFFFFF#000000##FFFFFF
##0F60231.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61571D
Deuteranopia (green-blind)
#585028
Tritanopia (blue-blind)
#005E53
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #0f6023;
/* rgb */ color: rgb(15, 96, 35);
/* oklch */ color: oklch(42.9% 0.120 146.8);
Tailwind
colors: {
  custom: {
    50: '#5e8e60',
    500: '#0f6023',
    950: '#000000',
  },
}
SCSS
$custom: #0f6023;
$custom-light: #5e8e60;
$custom-dark: #000000;
JSON
{
  "hex": "#0f6023",
  "rgb": {
    "r": 15,
    "g": 96,
    "b": 35
  },
  "hsl": {
    "h": 134.815,
    "s": 72.973,
    "l": 21.765
  },
  "oklch": {
    "l": 0.42883,
    "c": 0.11993,
    "h": 146.8
  },
  "luminance": 0.08589
}

Semantic roles & 50–950 ramp

primary
#0F6023
secondary
#993280
accent
#38C2F0
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C05
muted
#797D79

Preview Lab

Preview with #0F6023

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

Preview Lab → · Contrast checker → · Palette generator →

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