#0F4A23#0F4A23

#0F4A23 is a dark, moderate green. Relative luminance 0.051; OKLCH L 36.2% C 0.089 H 150.2°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#0F4A23
RGBrgb(15, 74, 35)
HSLhsl(140, 66%, 17%)
HSVhsv(140, 80%, 29%)
CMYKcmyk(79.7%, 0%, 52.7%, 71%)
CIE-LABlab(27.07, -28.55, 18.01)
CIE-LCHlch(27.07, 33.76, 147.75°)
OKLaboklab(36.17% -0.0768 0.044)
OKLCHoklch(36.17% 0.089 150.2)
XYZxyz(2.9489, 5.1201, 2.4227)
Luminance0.0512 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4A23 #4A0F36
analogous
#194A0F #0F4A23 #0F4A41
triadic
#0F4A23 #230F4A #4A230F
tetradic
#0F4A23 #0F194A #4A0F36 #4A410F
square
#0F4A23 #0F194A #4A0F36 #4A410F
split-complementary
#0F4A23 #410F4A #4A0F19
monochromatic
#05190C #05190C #0F4A23 #197D3B #24B053

Accessibility & contrast

On white

10.38
#0F4A23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#0F4A23 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4A23
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4A23#FFFFFF#000000##FFFFFF
##0F4A231.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4320
Deuteranopia (green-blind)
#433E26
Tritanopia (blue-blind)
#004941
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #0f4a23;
/* rgb */ color: rgb(15, 74, 35);
/* oklch */ color: oklch(36.2% 0.089 150.2);
Tailwind
colors: {
  custom: {
    50: '#587d5e',
    500: '#0f4a23',
    950: '#000000',
  },
}
SCSS
$custom: #0f4a23;
$custom-light: #587d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4a23",
  "rgb": {
    "r": 15,
    "g": 74,
    "b": 35
  },
  "hsl": {
    "h": 140.339,
    "s": 66.292,
    "l": 17.451
  },
  "oklch": {
    "l": 0.3617,
    "c": 0.08853,
    "h": 150.2
  },
  "luminance": 0.0512
}

Semantic roles & 50–950 ramp

primary
#0F4A23
secondary
#843068
accent
#3FAFE9
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #0F4A23

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

Preview Lab → · Contrast checker → · Palette generator →

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