#0F2901#0F2901

#0F2901 is a dark, moderate yellow-green. Relative luminance 0.017; OKLCH L 25.0% C 0.073 H 136.3°. Best body text is #FFFFFF at 15.70:1 contrast (WCAG AA passes).

Color values

HEX#0F2901
RGBrgb(15, 41, 1)
HSLhsl(99, 95%, 8%)
HSVhsv(99, 98%, 16%)
CMYKcmyk(63.4%, 0%, 97.6%, 83.9%)
CIE-LABlab(13.77, -18.91, 19.41)
CIE-LCHlch(13.77, 27.10, 134.25°)
OKLaboklab(25.04% -0.0528 0.0504)
OKLCHoklch(25.04% 0.073 136.3)
XYZxyz(0.9954, 1.6896, 0.3024)
Luminance0.0169 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2901 #1B0129
analogous
#232901 #0F2901 #012907
triadic
#0F2901 #010F29 #29010F
tetradic
#0F2901 #012329 #1B0129 #290701
square
#0F2901 #012329 #1B0129 #290701
split-complementary
#0F2901 #070129 #290123
monochromatic
#0B1E01 #0B1E01 #0F2901 #256502 #3BA004

Accessibility & contrast

On white

15.70
#0F2901 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#0F2901 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2901
15.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2901#FFFFFF#000000##FFFFFF
##0F29011.0015.701.3415.70
#FFFFFF15.701.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2400
Deuteranopia (green-blind)
#282204
Tritanopia (blue-blind)
#0E2721
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #0f2901;
/* rgb */ color: rgb(15, 41, 1);
/* oklch */ color: oklch(25.0% 0.073 136.3);
Tailwind
colors: {
  custom: {
    50: '#4f6347',
    500: '#0f2901',
    950: '#000000',
  },
}
SCSS
$custom: #0f2901;
$custom-light: #4f6347;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2901",
  "rgb": {
    "r": 15,
    "g": 41,
    "b": 1
  },
  "hsl": {
    "h": 99,
    "s": 95.238,
    "l": 8.235
  },
  "oklch": {
    "l": 0.25036,
    "c": 0.07296,
    "h": 136.3
  },
  "luminance": 0.0169
}

Semantic roles & 50–950 ramp

primary
#0F2901
secondary
#50166F
accent
#29FFB4
background
#F4F5F4
surface
#E7EAE6
border
#C3C6C2
text
#020500
muted
#787977

Preview Lab

Preview with #0F2901

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

Preview Lab → · Contrast checker → · Palette generator →

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