#0F2102#0F2102

#0F2102 is a very dark, muted yellow-green. Relative luminance 0.012; OKLCH L 22.4% C 0.059 H 133.9°. Best body text is #FFFFFF at 16.95:1 contrast (WCAG AA passes).

Color values

HEX#0F2102
RGBrgb(15, 33, 2)
HSLhsl(95, 89%, 7%)
HSVhsv(95, 94%, 13%)
CMYKcmyk(54.5%, 0%, 93.9%, 87.1%)
CIE-LABlab(10.51, -14.51, 14.57)
CIE-LCHlch(10.51, 20.56, 134.87°)
OKLaboklab(22.37% -0.0412 0.0428)
OKLCHoklch(22.37% 0.059 133.9)
XYZxyz(0.7518, 1.1936, 0.2482)
Luminance0.0119 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2102 #140221
analogous
#1F2102 #0F2102 #022105
triadic
#0F2102 #020F21 #21020F
tetradic
#0F2102 #021F21 #140221 #210502
square
#0F2102 #021F21 #140221 #210502
split-complementary
#0F2102 #050221 #21021F
monochromatic
#0D1D02 #0D1D02 #0F2102 #295B05 #439409

Accessibility & contrast

On white

16.95
#0F2102 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#0F2102 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2102
16.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2102#FFFFFF#000000##FFFFFF
##0F21021.0016.951.2416.95
#FFFFFF16.951.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#231D00
Deuteranopia (green-blind)
#201C04
Tritanopia (blue-blind)
#0F1F1B
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #0f2102;
/* rgb */ color: rgb(15, 33, 2);
/* oklch */ color: oklch(22.4% 0.059 133.9);
Tailwind
colors: {
  custom: {
    50: '#4d5c47',
    500: '#0f2102',
    950: '#000000',
  },
}
SCSS
$custom: #0f2102;
$custom-light: #4d5c47;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2102",
  "rgb": {
    "r": 15,
    "g": 33,
    "b": 2
  },
  "hsl": {
    "h": 94.839,
    "s": 88.571,
    "l": 6.863
  },
  "oklch": {
    "l": 0.22365,
    "c": 0.05943,
    "h": 133.9
  },
  "luminance": 0.01194
}

Semantic roles & 50–950 ramp

primary
#0F2102
secondary
#461867
accent
#29FFA5
background
#F4F5F4
surface
#E7E9E6
border
#C3C5C2
text
#010400
muted
#777977

Preview Lab

Preview with #0F2102

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

Preview Lab → · Contrast checker → · Palette generator →

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