#0F300C#0F300C

#0F300C is a dark, moderate green. Relative luminance 0.022; OKLCH L 27.5% C 0.072 H 142.0°. Best body text is #FFFFFF at 14.50:1 contrast (WCAG AA passes).

Color values

HEX#0F300C
RGBrgb(15, 48, 12)
HSLhsl(115, 60%, 12%)
HSVhsv(115, 75%, 19%)
CMYKcmyk(68.7%, 0%, 75%, 81.2%)
CIE-LABlab(16.71, -20.80, 18.64)
CIE-LCHlch(16.71, 27.93, 138.13°)
OKLaboklab(27.5% -0.0567 0.0443)
OKLCHoklch(27.5% 0.072 142)
XYZxyz(1.3202, 2.2419, 0.7109)
Luminance0.0224 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F300C #2D0C30
analogous
#21300C #0F300C #0C301B
triadic
#0F300C #0C0F30 #300C0F
tetradic
#0F300C #0C2130 #2D0C30 #301B0C
square
#0F300C #0C2130 #2D0C30 #301B0C
split-complementary
#0F300C #1B0C30 #300C21
monochromatic
#081806 #081806 #0F300C #1E6118 #2E9224

Accessibility & contrast

On white

14.50
#0F300C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#0F300C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F300C
14.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F300C#FFFFFF#000000##FFFFFF
##0F300C1.0014.501.4514.50
#FFFFFF14.501.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312B08
Deuteranopia (green-blind)
#2D280F
Tritanopia (blue-blind)
#0A2E28
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #0f300c;
/* rgb */ color: rgb(15, 48, 12);
/* oklch */ color: oklch(27.5% 0.072 142.0);
Tailwind
colors: {
  custom: {
    50: '#51694c',
    500: '#0f300c',
    950: '#000000',
  },
}
SCSS
$custom: #0f300c;
$custom-light: #51694c;
$custom-dark: #000000;
JSON
{
  "hex": "#0f300c",
  "rgb": {
    "r": 15,
    "g": 48,
    "b": 12
  },
  "hsl": {
    "h": 115,
    "s": 60,
    "l": 11.765
  },
  "oklch": {
    "l": 0.27503,
    "c": 0.07197,
    "h": 142
  },
  "luminance": 0.02242
}

Semantic roles & 50–950 ramp

primary
#0F300C
secondary
#662C6C
accent
#45E3D6
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020601
muted
#787A77

Preview Lab

Preview with #0F300C

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

Preview Lab → · Contrast checker → · Palette generator →

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