#0F2A01#0F2A01

#0F2A01 is a dark, moderate yellow-green. Relative luminance 0.018; OKLCH L 25.4% C 0.074 H 136.6°. Best body text is #FFFFFF at 15.53:1 contrast (WCAG AA passes).

Color values

HEX#0F2A01
RGBrgb(15, 42, 1)
HSLhsl(100, 95%, 8%)
HSVhsv(100, 98%, 16%)
CMYKcmyk(64.3%, 0%, 97.6%, 83.5%)
CIE-LABlab(14.17, -19.39, 19.94)
CIE-LCHlch(14.17, 27.81, 134.19°)
OKLaboklab(25.37% -0.0541 0.0511)
OKLCHoklch(25.37% 0.074 136.6)
XYZxyz(1.0304, 1.7596, 0.3140)
Luminance0.0176 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2A01 #1C012A
analogous
#232A01 #0F2A01 #012A07
triadic
#0F2A01 #010F2A #2A010F
tetradic
#0F2A01 #01232A #1C012A #2A0701
square
#0F2A01 #01232A #1C012A #2A0701
split-complementary
#0F2A01 #07012A #2A0123
monochromatic
#0B1E01 #0B1E01 #0F2A01 #246602 #3AA204

Accessibility & contrast

On white

15.53
#0F2A01 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#0F2A01 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2A01
15.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2A01#FFFFFF#000000##FFFFFF
##0F2A011.0015.531.3515.53
#FFFFFF15.531.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2500
Deuteranopia (green-blind)
#282304
Tritanopia (blue-blind)
#0D2822
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #0f2a01;
/* rgb */ color: rgb(15, 42, 1);
/* oklch */ color: oklch(25.4% 0.074 136.6);
Tailwind
colors: {
  custom: {
    50: '#506447',
    500: '#0f2a01',
    950: '#000000',
  },
}
SCSS
$custom: #0f2a01;
$custom-light: #506447;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2a01",
  "rgb": {
    "r": 15,
    "g": 42,
    "b": 1
  },
  "hsl": {
    "h": 99.512,
    "s": 95.349,
    "l": 8.431
  },
  "oklch": {
    "l": 0.2537,
    "c": 0.0744,
    "h": 136.6
  },
  "luminance": 0.0176
}

Semantic roles & 50–950 ramp

primary
#0F2A01
secondary
#521670
accent
#29FFB6
background
#F4F6F4
surface
#E7EBE6
border
#C3C6C2
text
#020500
muted
#787A77

Preview Lab

Preview with #0F2A01

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

Preview Lab → · Contrast checker → · Palette generator →

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