#0F2202#0F2202

#0F2202 is a very dark, moderate yellow-green. Relative luminance 0.013; OKLCH L 22.7% C 0.061 H 134.3°. Best body text is #FFFFFF at 16.80:1 contrast (WCAG AA passes).

Color values

HEX#0F2202
RGBrgb(15, 34, 2)
HSLhsl(96, 89%, 7%)
HSVhsv(96, 94%, 13%)
CMYKcmyk(55.9%, 0%, 94.1%, 86.7%)
CIE-LABlab(10.92, -15.12, 15.15)
CIE-LCHlch(10.92, 21.40, 134.96°)
OKLaboklab(22.7% -0.0426 0.0436)
OKLCHoklch(22.7% 0.061 134.3)
XYZxyz(0.7800, 1.2500, 0.2576)
Luminance0.0125 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2202 #150222
analogous
#1F2202 #0F2202 #022205
triadic
#0F2202 #020F22 #22020F
tetradic
#0F2202 #021F22 #150222 #220502
square
#0F2202 #021F22 #150222 #220502
split-complementary
#0F2202 #050222 #22021F
monochromatic
#0D1D02 #0D1D02 #0F2202 #295C05 #429609

Accessibility & contrast

On white

16.80
#0F2202 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F2202
16.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2202#FFFFFF#000000##FFFFFF
##0F22021.0016.801.2516.80
#FFFFFF16.801.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f2202;
/* rgb */ color: rgb(15, 34, 2);
/* oklch */ color: oklch(22.7% 0.061 134.3);
Tailwind
colors: {
  custom: {
    50: '#4e5d47',
    500: '#0f2202',
    950: '#000000',
  },
}
SCSS
$custom: #0f2202;
$custom-light: #4e5d47;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2202",
  "rgb": {
    "r": 15,
    "g": 34,
    "b": 2
  },
  "hsl": {
    "h": 95.625,
    "s": 88.889,
    "l": 7.059
  },
  "oklch": {
    "l": 0.22701,
    "c": 0.06101,
    "h": 134.3
  },
  "luminance": 0.0125
}

Semantic roles & 50–950 ramp

primary
#0F2202
secondary
#471868
accent
#29FFA8
background
#F4F5F4
surface
#E7E9E6
border
#C3C5C2
text
#010400
muted
#777977

Preview Lab

Preview with #0F2202

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

Preview Lab → · Contrast checker → · Palette generator →

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