#0F4C23#0F4C23

#0F4C23 is a dark, moderate green. Relative luminance 0.054; OKLCH L 36.8% C 0.092 H 149.7°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#0F4C23
RGBrgb(15, 76, 35)
HSLhsl(140, 67%, 18%)
HSVhsv(140, 80%, 30%)
CMYKcmyk(80.3%, 0%, 53.9%, 70.2%)
CIE-LABlab(27.82, -29.40, 18.95)
CIE-LCHlch(27.82, 34.98, 147.19°)
OKLaboklab(36.79% -0.0791 0.0461)
OKLCHoklch(36.79% 0.092 149.7)
XYZxyz(3.0846, 5.3914, 2.4679)
Luminance0.0539 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4C23 #4C0F38
analogous
#194C0F #0F4C23 #0F4C41
triadic
#0F4C23 #230F4C #4C230F
tetradic
#0F4C23 #0F194C #4C0F38 #4C410F
square
#0F4C23 #0F194C #4C0F38 #4C410F
split-complementary
#0F4C23 #410F4C #4C0F19
monochromatic
#051A0C #051A0C #0F4C23 #197F3B #23B252

Accessibility & contrast

On white

10.10
#0F4C23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#0F4C23 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4C23
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4C23#FFFFFF#000000##FFFFFF
##0F4C231.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4520
Deuteranopia (green-blind)
#454026
Tritanopia (blue-blind)
#004A42
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #0f4c23;
/* rgb */ color: rgb(15, 76, 35);
/* oklch */ color: oklch(36.8% 0.092 149.7);
Tailwind
colors: {
  custom: {
    50: '#587f5e',
    500: '#0f4c23',
    950: '#000000',
  },
}
SCSS
$custom: #0f4c23;
$custom-light: #587f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4c23",
  "rgb": {
    "r": 15,
    "g": 76,
    "b": 35
  },
  "hsl": {
    "h": 139.672,
    "s": 67.033,
    "l": 17.843
  },
  "oklch": {
    "l": 0.36788,
    "c": 0.09156,
    "h": 149.7
  },
  "luminance": 0.05392
}

Semantic roles & 50–950 ramp

primary
#0F4C23
secondary
#86316A
accent
#3EB2EA
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #0F4C23

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

Preview Lab → · Contrast checker → · Palette generator →

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