#0F2701#0F2701

#0F2701 is a very dark, moderate yellow-green. Relative luminance 0.016; OKLCH L 24.4% C 0.070 H 135.7°. Best body text is #FFFFFF at 16.02:1 contrast (WCAG AA passes).

Color values

HEX#0F2701
RGBrgb(15, 39, 1)
HSLhsl(98, 95%, 8%)
HSVhsv(98, 97%, 15%)
CMYKcmyk(61.5%, 0%, 97.4%, 84.7%)
CIE-LABlab(12.95, -17.93, 18.33)
CIE-LCHlch(12.95, 25.64, 134.37°)
OKLaboklab(24.37% -0.0502 0.0489)
OKLCHoklch(24.37% 0.07 135.7)
XYZxyz(0.9280, 1.5547, 0.2799)
Luminance0.0155 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2701 #190127
analogous
#222701 #0F2701 #012706
triadic
#0F2701 #010F27 #27010F
tetradic
#0F2701 #012227 #190127 #270601
square
#0F2701 #012227 #190127 #270601
split-complementary
#0F2701 #060127 #270122
monochromatic
#0B1E01 #0B1E01 #0F2701 #266303 #3D9E04

Accessibility & contrast

On white

16.02
#0F2701 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#0F2701 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2701
16.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2701#FFFFFF#000000##FFFFFF
##0F27011.0016.021.3116.02
#FFFFFF16.021.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292300
Deuteranopia (green-blind)
#262104
Tritanopia (blue-blind)
#0E2520
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #0f2701;
/* rgb */ color: rgb(15, 39, 1);
/* oklch */ color: oklch(24.4% 0.070 135.7);
Tailwind
colors: {
  custom: {
    50: '#4f6147',
    500: '#0f2701',
    950: '#000000',
  },
}
SCSS
$custom: #0f2701;
$custom-light: #4f6147;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2701",
  "rgb": {
    "r": 15,
    "g": 39,
    "b": 1
  },
  "hsl": {
    "h": 97.895,
    "s": 95,
    "l": 7.843
  },
  "oklch": {
    "l": 0.24365,
    "c": 0.07007,
    "h": 135.7
  },
  "luminance": 0.01555
}

Semantic roles & 50–950 ramp

primary
#0F2701
secondary
#4D166E
accent
#29FFB0
background
#F4F5F4
surface
#E7EAE6
border
#C3C6C2
text
#020500
muted
#787977

Preview Lab

Preview with #0F2701

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

Preview Lab → · Contrast checker → · Palette generator →

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