#0F2702#0F2702

#0F2702 is a very dark, moderate yellow-green. Relative luminance 0.016; OKLCH L 24.4% C 0.069 H 136.2°. Best body text is #FFFFFF at 16.01:1 contrast (WCAG AA passes).

Color values

HEX#0F2702
RGBrgb(15, 39, 2)
HSLhsl(99, 90%, 8%)
HSVhsv(99, 95%, 15%)
CMYKcmyk(61.5%, 0%, 94.9%, 84.7%)
CIE-LABlab(12.97, -17.77, 17.94)
CIE-LCHlch(12.97, 25.25, 134.74°)
OKLaboklab(24.38% -0.0496 0.0476)
OKLCHoklch(24.38% 0.069 136.2)
XYZxyz(0.9335, 1.5569, 0.3087)
Luminance0.0156 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2702 #1A0227
analogous
#212702 #0F2702 #022707
triadic
#0F2702 #020F27 #27020F
tetradic
#0F2702 #022127 #1A0227 #270702
square
#0F2702 #022127 #1A0227 #270702
split-complementary
#0F2702 #070227 #270221
monochromatic
#0B1D01 #0B1D01 #0F2702 #256105 #3C9B08

Accessibility & contrast

On white

16.01
#0F2702 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#0F2702 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2702
16.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2702#FFFFFF#000000##FFFFFF
##0F27021.0016.011.3116.01
#FFFFFF16.011.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292300
Deuteranopia (green-blind)
#262105
Tritanopia (blue-blind)
#0E2520
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #0f2702;
/* rgb */ color: rgb(15, 39, 2);
/* oklch */ color: oklch(24.4% 0.069 136.2);
Tailwind
colors: {
  custom: {
    50: '#4f6147',
    500: '#0f2702',
    950: '#000000',
  },
}
SCSS
$custom: #0f2702;
$custom-light: #4f6147;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2702",
  "rgb": {
    "r": 15,
    "g": 39,
    "b": 2
  },
  "hsl": {
    "h": 98.919,
    "s": 90.244,
    "l": 8.039
  },
  "oklch": {
    "l": 0.24381,
    "c": 0.06871,
    "h": 136.2
  },
  "luminance": 0.01557
}

Semantic roles & 50–950 ramp

primary
#0F2702
secondary
#4F186C
accent
#29FFB4
background
#F4F5F4
surface
#E7EAE6
border
#C3C6C2
text
#020500
muted
#787977

Preview Lab

Preview with #0F2702

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

Preview Lab → · Contrast checker → · Palette generator →

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