#0F2800#0F2800

#0F2800 is a very dark, moderate yellow-green. Relative luminance 0.016; OKLCH L 24.7% C 0.073 H 135.6°. Best body text is #FFFFFF at 15.86:1 contrast (WCAG AA passes).

Color values

HEX#0F2800
RGBrgb(15, 40, 0)
HSLhsl(98, 100%, 8%)
HSVhsv(98, 100%, 16%)
CMYKcmyk(62.5%, 0%, 100%, 84.3%)
CIE-LABlab(13.35, -18.57, 19.26)
CIE-LCHlch(13.35, 26.75, 133.95°)
OKLaboklab(24.69% -0.0521 0.051)
OKLCHoklch(24.69% 0.073 135.6)
XYZxyz(0.9558, 1.6191, 0.2621)
Luminance0.0162 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2800 #190028
analogous
#232800 #0F2800 #002805
triadic
#0F2800 #000F28 #28000F
tetradic
#0F2800 #002328 #190028 #280500
square
#0F2800 #002328 #190028 #280500
split-complementary
#0F2800 #050028 #280023
monochromatic
#0B1F00 #0B1F00 #0F2800 #266500 #3DA200

Accessibility & contrast

On white

15.86
#0F2800 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#0F2800 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2800
15.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2800#FFFFFF#000000##FFFFFF
##0F28001.0015.861.3215.86
#FFFFFF15.861.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2400
Deuteranopia (green-blind)
#272203
Tritanopia (blue-blind)
#0E2620
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #0f2800;
/* rgb */ color: rgb(15, 40, 0);
/* oklch */ color: oklch(24.7% 0.073 135.6);
Tailwind
colors: {
  custom: {
    50: '#4f6246',
    500: '#0f2800',
    950: '#000000',
  },
}
SCSS
$custom: #0f2800;
$custom-light: #4f6246;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2800",
  "rgb": {
    "r": 15,
    "g": 40,
    "b": 0
  },
  "hsl": {
    "h": 97.5,
    "s": 100,
    "l": 7.843
  },
  "oklch": {
    "l": 0.24686,
    "c": 0.07288,
    "h": 135.6
  },
  "luminance": 0.01619
}

Semantic roles & 50–950 ramp

primary
#0F2800
secondary
#4D1470
accent
#29FFAF
background
#F4F5F3
surface
#E7EAE5
border
#C3C6C1
text
#020500
muted
#787977

Preview Lab

Preview with #0F2800

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

Preview Lab → · Contrast checker → · Palette generator →

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