#0F2002#0F2002

#0F2002 is a very dark, muted yellow-green. Relative luminance 0.011; OKLCH L 22.0% C 0.058 H 133.4°. Best body text is #FFFFFF at 17.10:1 contrast (WCAG AA passes).

Color values

HEX#0F2002
RGBrgb(15, 32, 2)
HSLhsl(94, 88%, 7%)
HSVhsv(94, 94%, 13%)
CMYKcmyk(53.1%, 0%, 93.8%, 87.5%)
CIE-LABlab(10.10, -13.85, 13.99)
CIE-LCHlch(10.10, 19.69, 134.71°)
OKLaboklab(22.03% -0.0397 0.042)
OKLCHoklch(22.03% 0.058 133.4)
XYZxyz(0.7245, 1.1389, 0.2391)
Luminance0.0114 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2002 #130220
analogous
#1E2002 #0F2002 #022004
triadic
#0F2002 #020F20 #20020F
tetradic
#0F2002 #021E20 #130220 #200402
square
#0F2002 #021E20 #130220 #200402
split-complementary
#0F2002 #040220 #20021E
monochromatic
#0E1D02 #0E1D02 #0F2002 #2A5A06 #459309

Accessibility & contrast

On white

17.10
#0F2002 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#0F2002 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2002
17.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2002#FFFFFF#000000##FFFFFF
##0F20021.0017.101.2317.10
#FFFFFF17.101.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#221D00
Deuteranopia (green-blind)
#1F1B04
Tritanopia (blue-blind)
#0F1E1A
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #0f2002;
/* rgb */ color: rgb(15, 32, 2);
/* oklch */ color: oklch(22.0% 0.058 133.4);
Tailwind
colors: {
  custom: {
    50: '#4d5b47',
    500: '#0f2002',
    950: '#000000',
  },
}
SCSS
$custom: #0f2002;
$custom-light: #4d5b47;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2002",
  "rgb": {
    "r": 15,
    "g": 32,
    "b": 2
  },
  "hsl": {
    "h": 94,
    "s": 88.235,
    "l": 6.667
  },
  "oklch": {
    "l": 0.22028,
    "c": 0.05783,
    "h": 133.4
  },
  "luminance": 0.01139
}

Semantic roles & 50–950 ramp

primary
#0F2002
secondary
#441866
accent
#29FEA2
background
#F4F5F4
surface
#E7E9E6
border
#C3C5C2
text
#010400
muted
#777977

Preview Lab

Preview with #0F2002

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

Preview Lab → · Contrast checker → · Palette generator →

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