#0F481F#0F481F

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

Color values

HEX#0F481F
RGBrgb(15, 72, 31)
HSLhsl(137, 66%, 17%)
HSVhsv(137, 79%, 28%)
CMYKcmyk(79.2%, 0%, 56.9%, 71.8%)
CIE-LABlab(26.26, -28.44, 19.36)
CIE-LCHlch(26.26, 34.41, 145.75°)
OKLaboklab(35.48% -0.0766 0.0468)
OKLCHoklch(35.48% 0.09 148.6)
XYZxyz(2.7615, 4.8349, 2.0838)
Luminance0.0483 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F481F #480F38
analogous
#1C480F #0F481F #0F483C
triadic
#0F481F #1F0F48 #481F0F
tetradic
#0F481F #0F1C48 #480F38 #483C0F
square
#0F481F #0F1C48 #480F38 #483C0F
split-complementary
#0F481F #3C0F48 #480F1C
monochromatic
#05190B #05190B #0F481F #1A7B35 #24AD4B

Accessibility & contrast

On white

10.68
#0F481F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F481F
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F481F#FFFFFF#000000##FFFFFF
##0F481F1.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f481f;
/* rgb */ color: rgb(15, 72, 31);
/* oklch */ color: oklch(35.5% 0.090 148.6);
Tailwind
colors: {
  custom: {
    50: '#577c5b',
    500: '#0f481f',
    950: '#000000',
  },
}
SCSS
$custom: #0f481f;
$custom-light: #577c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#0f481f",
  "rgb": {
    "r": 15,
    "g": 72,
    "b": 31
  },
  "hsl": {
    "h": 136.842,
    "s": 65.517,
    "l": 17.059
  },
  "oklch": {
    "l": 0.35475,
    "c": 0.08974,
    "h": 148.6
  },
  "luminance": 0.04835
}

Semantic roles & 50–950 ramp

primary
#0F481F
secondary
#82306B
accent
#3FB9E8
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040904
muted
#797B79

Preview Lab

Preview with #0F481F

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

Preview Lab → · Contrast checker → · Palette generator →

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