#0F6831#0F6831

#0F6831 is a mid, moderate green. Relative luminance 0.102; OKLCH L 45.5% C 0.118 H 150.3°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#0F6831
RGBrgb(15, 104, 49)
HSLhsl(143, 75%, 23%)
HSVhsv(143, 86%, 41%)
CMYKcmyk(85.6%, 0%, 52.9%, 59.2%)
CIE-LABlab(38.24, -38.07, 23.97)
CIE-LCHlch(38.24, 44.99, 147.80°)
OKLaboklab(45.48% -0.1022 0.0582)
OKLCHoklch(45.48% 0.118 150.3)
XYZxyz(5.7012, 10.2232, 4.5779)
Luminance0.1022 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F6831 #680F46
analogous
#1A680F #0F6831 #0F685D
triadic
#0F6831 #310F68 #68310F
tetradic
#0F6831 #0F1A68 #680F46 #685D0F
square
#0F6831 #0F1A68 #680F46 #685D0F
split-complementary
#0F6831 #5D0F68 #680F1A
monochromatic
#041B0D #073318 #0F6831 #179D4A #1ED363

Accessibility & contrast

On white

6.90
#0F6831 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#0F6831 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #0F6831
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F6831#FFFFFF#000000##FFFFFF
##0F68311.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695E2C
Deuteranopia (green-blind)
#5F5735
Tritanopia (blue-blind)
#00665B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #0f6831;
/* rgb */ color: rgb(15, 104, 49);
/* oklch */ color: oklch(45.5% 0.118 150.3);
Tailwind
colors: {
  custom: {
    50: '#60946a',
    500: '#0f6831',
    950: '#000000',
  },
}
SCSS
$custom: #0f6831;
$custom-light: #60946a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f6831",
  "rgb": {
    "r": 15,
    "g": 104,
    "b": 49
  },
  "hsl": {
    "h": 142.921,
    "s": 74.79,
    "l": 23.333
  },
  "oklch": {
    "l": 0.45482,
    "c": 0.11759,
    "h": 150.3
  },
  "luminance": 0.10224
}

Semantic roles & 50–950 ramp

primary
#0F6831
secondary
#A13276
accent
#36AAF1
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#050D06
muted
#7A7E7A

Preview Lab

Preview with #0F6831

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

Preview Lab → · Contrast checker → · Palette generator →

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