#0F4823#0F4823

#0F4823 is a dark, moderate green. Relative luminance 0.049; OKLCH L 35.5% C 0.085 H 150.7°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#0F4823
RGBrgb(15, 72, 35)
HSLhsl(141, 66%, 17%)
HSVhsv(141, 79%, 28%)
CMYKcmyk(79.2%, 0%, 51.4%, 71.8%)
CIE-LABlab(26.32, -27.69, 17.06)
CIE-LCHlch(26.32, 32.52, 148.36°)
OKLaboklab(35.55% -0.0745 0.0418)
OKLCHoklch(35.55% 0.085 150.7)
XYZxyz(2.8175, 4.8573, 2.3789)
Luminance0.0486 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4823 #480F34
analogous
#17480F #0F4823 #0F4840
triadic
#0F4823 #230F48 #48230F
tetradic
#0F4823 #0F1748 #480F34 #48400F
square
#0F4823 #0F1748 #480F34 #48400F
split-complementary
#0F4823 #400F48 #480F17
monochromatic
#05190C #05190C #0F4823 #1A7B3C #24AD54

Accessibility & contrast

On white

10.65
#0F4823 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#0F4823 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4823
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4823#FFFFFF#000000##FFFFFF
##0F48231.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484120
Deuteranopia (green-blind)
#423C26
Tritanopia (blue-blind)
#00473F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #0f4823;
/* rgb */ color: rgb(15, 72, 35);
/* oklch */ color: oklch(35.5% 0.085 150.7);
Tailwind
colors: {
  custom: {
    50: '#577c5e',
    500: '#0f4823',
    950: '#000000',
  },
}
SCSS
$custom: #0f4823;
$custom-light: #577c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4823",
  "rgb": {
    "r": 15,
    "g": 72,
    "b": 35
  },
  "hsl": {
    "h": 141.053,
    "s": 65.517,
    "l": 17.059
  },
  "oklch": {
    "l": 0.3555,
    "c": 0.08547,
    "h": 150.7
  },
  "luminance": 0.04858
}

Semantic roles & 50–950 ramp

primary
#0F4823
secondary
#823066
accent
#3FADE8
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#030904
muted
#787B79

Preview Lab

Preview with #0F4823

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

Preview Lab → · Contrast checker → · Palette generator →

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