#0F2201#0F2201

#0F2201 is a very dark, moderate yellow-green. Relative luminance 0.012; OKLCH L 22.7% C 0.063 H 133.8°. Best body text is #FFFFFF at 16.81:1 contrast (WCAG AA passes).

Color values

HEX#0F2201
RGBrgb(15, 34, 1)
HSLhsl(95, 94%, 7%)
HSVhsv(95, 97%, 13%)
CMYKcmyk(55.9%, 0%, 97.1%, 86.7%)
CIE-LABlab(10.91, -15.28, 15.53)
CIE-LCHlch(10.91, 21.79, 134.53°)
OKLaboklab(22.68% -0.0433 0.0452)
OKLCHoklch(22.68% 0.063 133.8)
XYZxyz(0.7745, 1.2478, 0.2287)
Luminance0.0125 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2201 #140122
analogous
#202201 #0F2201 #012203
triadic
#0F2201 #010F22 #22010F
tetradic
#0F2201 #012022 #140122 #220301
square
#0F2201 #012022 #140122 #220301
split-complementary
#0F2201 #030122 #220120
monochromatic
#0D1E01 #0D1E01 #0F2201 #295D03 #439904

Accessibility & contrast

On white

16.81
#0F2201 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#0F2201 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2201
16.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2201#FFFFFF#000000##FFFFFF
##0F22011.0016.811.2516.81
#FFFFFF16.811.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#241E00
Deuteranopia (green-blind)
#211D03
Tritanopia (blue-blind)
#0F201B
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #0f2201;
/* rgb */ color: rgb(15, 34, 1);
/* oklch */ color: oklch(22.7% 0.063 133.8);
Tailwind
colors: {
  custom: {
    50: '#4e5d47',
    500: '#0f2201',
    950: '#000000',
  },
}
SCSS
$custom: #0f2201;
$custom-light: #4e5d47;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2201",
  "rgb": {
    "r": 15,
    "g": 34,
    "b": 1
  },
  "hsl": {
    "h": 94.545,
    "s": 94.286,
    "l": 6.863
  },
  "oklch": {
    "l": 0.22683,
    "c": 0.06259,
    "h": 133.8
  },
  "luminance": 0.01248
}

Semantic roles & 50–950 ramp

primary
#0F2201
secondary
#461669
accent
#29FFA4
background
#F4F5F3
surface
#E7E9E5
border
#C3C5C1
text
#010400
muted
#777977

Preview Lab

Preview with #0F2201

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

Preview Lab → · Contrast checker → · Palette generator →

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