#0F2801#0F2801

#0F2801 is a very dark, moderate yellow-green. Relative luminance 0.016; OKLCH L 24.7% C 0.072 H 136.0°. Best body text is #FFFFFF at 15.86:1 contrast (WCAG AA passes).

Color values

HEX#0F2801
RGBrgb(15, 40, 1)
HSLhsl(98, 95%, 8%)
HSVhsv(98, 98%, 16%)
CMYKcmyk(62.5%, 0%, 97.5%, 84.3%)
CIE-LABlab(13.36, -18.42, 18.87)
CIE-LCHlch(13.36, 26.37, 134.31°)
OKLaboklab(24.7% -0.0515 0.0497)
OKLCHoklch(24.7% 0.072 136)
XYZxyz(0.9612, 1.6213, 0.2910)
Luminance0.0162 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2801 #1A0128
analogous
#222801 #0F2801 #012807
triadic
#0F2801 #010F28 #28010F
tetradic
#0F2801 #012228 #1A0128 #280701
square
#0F2801 #012228 #1A0128 #280701
split-complementary
#0F2801 #070128 #280122
monochromatic
#0B1E01 #0B1E01 #0F2801 #256402 #3C9F04

Accessibility & contrast

On white

15.86
#0F2801 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#0F2801 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2801
15.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2801#FFFFFF#000000##FFFFFF
##0F28011.0015.861.3215.86
#FFFFFF15.861.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2400
Deuteranopia (green-blind)
#272204
Tritanopia (blue-blind)
#0E2620
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #0f2801;
/* rgb */ color: rgb(15, 40, 1);
/* oklch */ color: oklch(24.7% 0.072 136.0);
Tailwind
colors: {
  custom: {
    50: '#4f6247',
    500: '#0f2801',
    950: '#000000',
  },
}
SCSS
$custom: #0f2801;
$custom-light: #4f6247;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2801",
  "rgb": {
    "r": 15,
    "g": 40,
    "b": 1
  },
  "hsl": {
    "h": 98.462,
    "s": 95.122,
    "l": 8.039
  },
  "oklch": {
    "l": 0.24701,
    "c": 0.07153,
    "h": 136
  },
  "luminance": 0.01621
}

Semantic roles & 50–950 ramp

primary
#0F2801
secondary
#4F166F
accent
#29FFB2
background
#F4F5F4
surface
#E7EAE6
border
#C3C6C2
text
#020500
muted
#787977

Preview Lab

Preview with #0F2801

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

Preview Lab → · Contrast checker → · Palette generator →

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