#0F4928#0F4928

#0F4928 is a dark, moderate green. Relative luminance 0.050; OKLCH L 36.0% C 0.082 H 153.6°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#0F4928
RGBrgb(15, 73, 40)
HSLhsl(146, 66%, 17%)
HSVhsv(146, 79%, 29%)
CMYKcmyk(79.5%, 0%, 45.2%, 71.4%)
CIE-LABlab(26.79, -27.09, 14.60)
CIE-LCHlch(26.79, 30.78, 151.67°)
OKLaboklab(35.97% -0.073 0.0363)
OKLCHoklch(35.97% 0.082 153.6)
XYZxyz(2.9623, 5.0195, 2.8198)
Luminance0.0502 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4928 #490F30
analogous
#13490F #0F4928 #0F4945
triadic
#0F4928 #280F49 #49280F
tetradic
#0F4928 #0F1349 #490F30 #49450F
square
#0F4928 #0F1349 #490F30 #49450F
split-complementary
#0F4928 #450F49 #490F13
monochromatic
#05190E #05190E #0F4928 #197C44 #24AF60

Accessibility & contrast

On white

10.48
#0F4928 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#0F4928 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4928
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4928#FFFFFF#000000##FFFFFF
##0F49281.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494226
Deuteranopia (green-blind)
#423D2A
Tritanopia (blue-blind)
#004841
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #0f4928;
/* rgb */ color: rgb(15, 73, 40);
/* oklch */ color: oklch(36.0% 0.082 153.6);
Tailwind
colors: {
  custom: {
    50: '#577c62',
    500: '#0f4928',
    950: '#000000',
  },
}
SCSS
$custom: #0f4928;
$custom-light: #577c62;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4928",
  "rgb": {
    "r": 15,
    "g": 73,
    "b": 40
  },
  "hsl": {
    "h": 145.862,
    "s": 65.909,
    "l": 17.255
  },
  "oklch": {
    "l": 0.35965,
    "c": 0.08157,
    "h": 153.6
  },
  "luminance": 0.0502
}

Semantic roles & 50–950 ramp

primary
#0F4928
secondary
#833060
accent
#3FA0E9
background
#F5F7F5
surface
#E9EEEA
border
#C5C9C6
text
#040905
muted
#797B79

Preview Lab

Preview with #0F4928

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

Preview Lab → · Contrast checker → · Palette generator →

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