#0B300F#0B300F

#0B300F is a dark, moderate green. Relative luminance 0.022; OKLCH L 27.4% C 0.071 H 145.1°. Best body text is #FFFFFF at 14.54:1 contrast (WCAG AA passes).

Color values

HEX#0B300F
RGBrgb(11, 48, 15)
HSLhsl(126, 63%, 12%)
HSVhsv(126, 77%, 19%)
CMYKcmyk(77.1%, 0%, 68.7%, 81.2%)
CIE-LABlab(16.60, -21.52, 16.99)
CIE-LCHlch(16.60, 27.42, 141.70°)
OKLaboklab(27.38% -0.0582 0.0406)
OKLCHoklch(27.38% 0.071 145.1)
XYZxyz(1.2811, 2.2194, 0.8127)
Luminance0.0222 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B300F #300B2C
analogous
#1A300B #0B300F #0B3022
triadic
#0B300F #0F0B30 #300F0B
tetradic
#0B300F #0B1A30 #300B2C #30220B
square
#0B300F #0B1A30 #300B2C #30220B
split-complementary
#0B300F #220B30 #300B1A
monochromatic
#061908 #061908 #0B300F #16621F #22942E

Accessibility & contrast

On white

14.54
#0B300F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#0B300F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B300F
14.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B300F#FFFFFF#000000##FFFFFF
##0B300F1.0014.541.4414.54
#FFFFFF14.541.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312B0C
Deuteranopia (green-blind)
#2C2812
Tritanopia (blue-blind)
#042F29
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #0b300f;
/* rgb */ color: rgb(11, 48, 15);
/* oklch */ color: oklch(27.4% 0.071 145.1);
Tailwind
colors: {
  custom: {
    50: '#4f694e',
    500: '#0b300f',
    950: '#000000',
  },
}
SCSS
$custom: #0b300f;
$custom-light: #4f694e;
$custom-dark: #000000;
JSON
{
  "hex": "#0b300f",
  "rgb": {
    "r": 11,
    "g": 48,
    "b": 15
  },
  "hsl": {
    "h": 126.486,
    "s": 62.712,
    "l": 11.569
  },
  "oklch": {
    "l": 0.27383,
    "c": 0.071,
    "h": 145.1
  },
  "luminance": 0.0222
}

Semantic roles & 50–950 ramp

primary
#0B300F
secondary
#6D2A65
accent
#42D4E6
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020601
muted
#787A77

Preview Lab

Preview with #0B300F

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

Preview Lab → · Contrast checker → · Palette generator →

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