#0F2602#0F2602

#0F2602 is a very dark, moderate yellow-green. Relative luminance 0.015; OKLCH L 24.0% C 0.067 H 135.9°. Best body text is #FFFFFF at 16.17:1 contrast (WCAG AA passes).

Color values

HEX#0F2602
RGBrgb(15, 38, 2)
HSLhsl(98, 90%, 8%)
HSVhsv(98, 95%, 15%)
CMYKcmyk(60.5%, 0%, 94.7%, 85.1%)
CIE-LABlab(12.56, -17.27, 17.39)
CIE-LCHlch(12.56, 24.51, 134.81°)
OKLaboklab(24.05% -0.0482 0.0468)
OKLCHoklch(24.05% 0.067 135.9)
XYZxyz(0.9010, 1.4921, 0.2979)
Luminance0.0149 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2602 #190226
analogous
#212602 #0F2602 #022607
triadic
#0F2602 #020F26 #26020F
tetradic
#0F2602 #022126 #190226 #260702
square
#0F2602 #022126 #190226 #260702
split-complementary
#0F2602 #070226 #260221
monochromatic
#0B1D02 #0B1D02 #0F2602 #266005 #3D9A08

Accessibility & contrast

On white

16.17
#0F2602 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#0F2602 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2602
16.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2602#FFFFFF#000000##FFFFFF
##0F26021.0016.171.3016.17
#FFFFFF16.171.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282200
Deuteranopia (green-blind)
#252004
Tritanopia (blue-blind)
#0E241F
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #0f2602;
/* rgb */ color: rgb(15, 38, 2);
/* oklch */ color: oklch(24.0% 0.067 135.9);
Tailwind
colors: {
  custom: {
    50: '#4f6047',
    500: '#0f2602',
    950: '#000000',
  },
}
SCSS
$custom: #0f2602;
$custom-light: #4f6047;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2602",
  "rgb": {
    "r": 15,
    "g": 38,
    "b": 2
  },
  "hsl": {
    "h": 98.333,
    "s": 90,
    "l": 7.843
  },
  "oklch": {
    "l": 0.24045,
    "c": 0.0672,
    "h": 135.9
  },
  "luminance": 0.01492
}

Semantic roles & 50–950 ramp

primary
#0F2602
secondary
#4D186B
accent
#29FFB2
background
#F4F5F4
surface
#E7E9E6
border
#C3C5C2
text
#020500
muted
#787977

Preview Lab

Preview with #0F2602

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

Preview Lab → · Contrast checker → · Palette generator →

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