#0F6031#0F6031

#0F6031 is a dark, moderate green. Relative luminance 0.087; OKLCH L 43.1% C 0.106 H 152.0°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#0F6031
RGBrgb(15, 96, 49)
HSLhsl(145, 73%, 22%)
HSVhsv(145, 84%, 38%)
CMYKcmyk(84.4%, 0%, 49%, 62.4%)
CIE-LABlab(35.38, -34.94, 20.36)
CIE-LCHlch(35.38, 40.44, 149.77°)
OKLaboklab(43.11% -0.0939 0.05)
OKLCHoklch(43.11% 0.106 152)
XYZxyz(4.9338, 8.6885, 4.3221)
Luminance0.0869 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F6031 #600F3E
analogous
#16600F #0F6031 #0F605A
triadic
#0F6031 #310F60 #60310F
tetradic
#0F6031 #0F1660 #600F3E #605A0F
square
#0F6031 #0F1660 #600F3E #605A0F
split-complementary
#0F6031 #5A0F60 #600F16
monochromatic
#041A0E #072B16 #0F6031 #17954C #20CA67

Accessibility & contrast

On white

7.67
#0F6031 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#0F6031 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F6031
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F6031#FFFFFF#000000##FFFFFF
##0F60311.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60572D
Deuteranopia (green-blind)
#575134
Tritanopia (blue-blind)
#005E55
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #0f6031;
/* rgb */ color: rgb(15, 96, 49);
/* oklch */ color: oklch(43.1% 0.106 152.0);
Tailwind
colors: {
  custom: {
    50: '#5d8e6a',
    500: '#0f6031',
    950: '#000000',
  },
}
SCSS
$custom: #0f6031;
$custom-light: #5d8e6a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f6031",
  "rgb": {
    "r": 15,
    "g": 96,
    "b": 49
  },
  "hsl": {
    "h": 145.185,
    "s": 72.973,
    "l": 21.765
  },
  "oklch": {
    "l": 0.43112,
    "c": 0.10634,
    "h": 152
  },
  "luminance": 0.08689
}

Semantic roles & 50–950 ramp

primary
#0F6031
secondary
#99326E
accent
#38A3F0
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C06
muted
#797D7A

Preview Lab

Preview with #0F6031

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

Preview Lab → · Contrast checker → · Palette generator →

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