#0F4820#0F4820

#0F4820 is a dark, moderate green. Relative luminance 0.048; OKLCH L 35.5% C 0.089 H 149.1°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#0F4820
RGBrgb(15, 72, 32)
HSLhsl(138, 66%, 17%)
HSVhsv(138, 79%, 28%)
CMYKcmyk(79.2%, 0%, 55.6%, 71.8%)
CIE-LABlab(26.27, -28.26, 18.80)
CIE-LCHlch(26.27, 33.94, 146.37°)
OKLaboklab(35.49% -0.0761 0.0456)
OKLCHoklch(35.49% 0.089 149.1)
XYZxyz(2.7749, 4.8403, 2.1542)
Luminance0.0484 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4820 #480F37
analogous
#1B480F #0F4820 #0F483D
triadic
#0F4820 #200F48 #48200F
tetradic
#0F4820 #0F1B48 #480F37 #483D0F
square
#0F4820 #0F1B48 #480F37 #483D0F
split-complementary
#0F4820 #3D0F48 #480F1B
monochromatic
#05190B #05190B #0F4820 #1A7B37 #24AD4D

Accessibility & contrast

On white

10.67
#0F4820 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F4820
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4820#FFFFFF#000000##FFFFFF
##0F48201.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49411D
Deuteranopia (green-blind)
#423C23
Tritanopia (blue-blind)
#00463F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #0f4820;
/* rgb */ color: rgb(15, 72, 32);
/* oklch */ color: oklch(35.5% 0.089 149.1);
Tailwind
colors: {
  custom: {
    50: '#577c5c',
    500: '#0f4820',
    950: '#000000',
  },
}
SCSS
$custom: #0f4820;
$custom-light: #577c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4820",
  "rgb": {
    "r": 15,
    "g": 72,
    "b": 32
  },
  "hsl": {
    "h": 137.895,
    "s": 65.517,
    "l": 17.059
  },
  "oklch": {
    "l": 0.35493,
    "c": 0.08869,
    "h": 149.1
  },
  "luminance": 0.04841
}

Semantic roles & 50–950 ramp

primary
#0F4820
secondary
#82306A
accent
#3FB6E8
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040904
muted
#797B79

Preview Lab

Preview with #0F4820

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

Preview Lab → · Contrast checker → · Palette generator →

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