#0F2501#0F2501

#0F2501 is a very dark, moderate yellow-green. Relative luminance 0.014; OKLCH L 23.7% C 0.067 H 135.0°. Best body text is #FFFFFF at 16.34:1 contrast (WCAG AA passes).

Color values

HEX#0F2501
RGBrgb(15, 37, 1)
HSLhsl(97, 95%, 7%)
HSVhsv(97, 97%, 15%)
CMYKcmyk(59.5%, 0%, 97.3%, 85.5%)
CIE-LABlab(12.13, -16.92, 17.22)
CIE-LCHlch(12.13, 24.14, 134.49°)
OKLaboklab(23.69% -0.0475 0.0474)
OKLCHoklch(23.69% 0.067 135)
XYZxyz(0.8640, 1.4268, 0.2586)
Luminance0.0143 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2501 #170125
analogous
#212501 #0F2501 #012505
triadic
#0F2501 #010F25 #25010F
tetradic
#0F2501 #012125 #170125 #250501
square
#0F2501 #012125 #170125 #250501
split-complementary
#0F2501 #050125 #250121
monochromatic
#0C1E01 #0C1E01 #0F2501 #276103 #3F9C04

Accessibility & contrast

On white

16.34
#0F2501 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#0F2501 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2501
16.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2501#FFFFFF#000000##FFFFFF
##0F25011.0016.341.2916.34
#FFFFFF16.341.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272100
Deuteranopia (green-blind)
#241F03
Tritanopia (blue-blind)
#0E231E
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #0f2501;
/* rgb */ color: rgb(15, 37, 1);
/* oklch */ color: oklch(23.7% 0.067 135.0);
Tailwind
colors: {
  custom: {
    50: '#4e6047',
    500: '#0f2501',
    950: '#000000',
  },
}
SCSS
$custom: #0f2501;
$custom-light: #4e6047;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2501",
  "rgb": {
    "r": 15,
    "g": 37,
    "b": 1
  },
  "hsl": {
    "h": 96.667,
    "s": 94.737,
    "l": 7.451
  },
  "oklch": {
    "l": 0.23693,
    "c": 0.06712,
    "h": 135
  },
  "luminance": 0.01427
}

Semantic roles & 50–950 ramp

primary
#0F2501
secondary
#4A166C
accent
#29FFAC
background
#F4F5F4
surface
#E7E9E6
border
#C3C5C2
text
#020400
muted
#787977

Preview Lab

Preview with #0F2501

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

Preview Lab → · Contrast checker → · Palette generator →

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