#0F2700#0F2700

#0F2700 is a very dark, moderate yellow-green. Relative luminance 0.016; OKLCH L 24.3% C 0.071 H 135.3°. Best body text is #FFFFFF at 16.02:1 contrast (WCAG AA passes).

Color values

HEX#0F2700
RGBrgb(15, 39, 0)
HSLhsl(97, 100%, 8%)
HSVhsv(97, 100%, 15%)
CMYKcmyk(61.5%, 0%, 100%, 84.7%)
CIE-LABlab(12.94, -18.08, 18.72)
CIE-LCHlch(12.94, 26.02, 134.01°)
OKLaboklab(24.35% -0.0508 0.0503)
OKLCHoklch(24.35% 0.071 135.3)
XYZxyz(0.9225, 1.5525, 0.2511)
Luminance0.0155 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2700 #180027
analogous
#222700 #0F2700 #002704
triadic
#0F2700 #000F27 #27000F
tetradic
#0F2700 #002227 #180027 #270400
square
#0F2700 #002227 #180027 #270400
split-complementary
#0F2700 #040027 #270022
monochromatic
#0C1F00 #0C1F00 #0F2700 #276400 #3EA100

Accessibility & contrast

On white

16.02
#0F2700 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F2700
16.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2700#FFFFFF#000000##FFFFFF
##0F27001.0016.021.3116.02
#FFFFFF16.021.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f2700;
/* rgb */ color: rgb(15, 39, 0);
/* oklch */ color: oklch(24.3% 0.071 135.3);
Tailwind
colors: {
  custom: {
    50: '#4f6146',
    500: '#0f2700',
    950: '#000000',
  },
}
SCSS
$custom: #0f2700;
$custom-light: #4f6146;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2700",
  "rgb": {
    "r": 15,
    "g": 39,
    "b": 0
  },
  "hsl": {
    "h": 96.923,
    "s": 100,
    "l": 7.647
  },
  "oklch": {
    "l": 0.2435,
    "c": 0.07146,
    "h": 135.3
  },
  "luminance": 0.01553
}

Semantic roles & 50–950 ramp

primary
#0F2700
secondary
#4C146F
accent
#29FFAD
background
#F4F5F3
surface
#E7EAE5
border
#C3C6C1
text
#020500
muted
#787977

Preview Lab

Preview with #0F2700

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

Preview Lab → · Contrast checker → · Palette generator →

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