#0F2302#0F2302

#0F2302 is a very dark, moderate yellow-green. Relative luminance 0.013; OKLCH L 23.0% C 0.063 H 134.8°. Best body text is #FFFFFF at 16.65:1 contrast (WCAG AA passes).

Color values

HEX#0F2302
RGBrgb(15, 35, 2)
HSLhsl(96, 89%, 7%)
HSVhsv(96, 94%, 14%)
CMYKcmyk(57.1%, 0%, 94.3%, 86.3%)
CIE-LABlab(11.33, -15.70, 15.71)
CIE-LCHlch(11.33, 22.21, 134.98°)
OKLaboklab(23.04% -0.0441 0.0444)
OKLCHoklch(23.04% 0.063 134.8)
XYZxyz(0.8090, 1.3080, 0.2673)
Luminance0.0131 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2302 #160223
analogous
#202302 #0F2302 #022306
triadic
#0F2302 #020F23 #23020F
tetradic
#0F2302 #022023 #160223 #230602
square
#0F2302 #022023 #160223 #230602
split-complementary
#0F2302 #060223 #230220
monochromatic
#0C1D02 #0C1D02 #0F2302 #285D05 #419709

Accessibility & contrast

On white

16.65
#0F2302 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#0F2302 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2302
16.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2302#FFFFFF#000000##FFFFFF
##0F23021.0016.651.2616.65
#FFFFFF16.651.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#251F00
Deuteranopia (green-blind)
#221E04
Tritanopia (blue-blind)
#0F211C
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #0f2302;
/* rgb */ color: rgb(15, 35, 2);
/* oklch */ color: oklch(23.0% 0.063 134.8);
Tailwind
colors: {
  custom: {
    50: '#4e5e47',
    500: '#0f2302',
    950: '#000000',
  },
}
SCSS
$custom: #0f2302;
$custom-light: #4e5e47;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2302",
  "rgb": {
    "r": 15,
    "g": 35,
    "b": 2
  },
  "hsl": {
    "h": 96.364,
    "s": 89.189,
    "l": 7.255
  },
  "oklch": {
    "l": 0.23038,
    "c": 0.06258,
    "h": 134.8
  },
  "luminance": 0.01308
}

Semantic roles & 50–950 ramp

primary
#0F2302
secondary
#491869
accent
#29FFAB
background
#F4F5F4
surface
#E7E9E6
border
#C3C5C2
text
#010400
muted
#777977

Preview Lab

Preview with #0F2302

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

Preview Lab → · Contrast checker → · Palette generator →

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