#0F2A03#0F2A03

#0F2A03 is a dark, moderate green. Relative luminance 0.018; OKLCH L 25.4% C 0.072 H 137.5°. Best body text is #FFFFFF at 15.52:1 contrast (WCAG AA passes).

Color values

HEX#0F2A03
RGBrgb(15, 42, 3)
HSLhsl(102, 87%, 9%)
HSVhsv(102, 93%, 16%)
CMYKcmyk(64.3%, 0%, 92.9%, 83.5%)
CIE-LABlab(14.20, -19.10, 19.16)
CIE-LCHlch(14.20, 27.06, 134.92°)
OKLaboklab(25.4% -0.053 0.0487)
OKLCHoklch(25.4% 0.072 137.5)
XYZxyz(1.0414, 1.7640, 0.3717)
Luminance0.0176 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2A03 #1E032A
analogous
#232A03 #0F2A03 #032A0B
triadic
#0F2A03 #030F2A #2A030F
tetradic
#0F2A03 #03232A #1E032A #2A0B03
square
#0F2A03 #03232A #1E032A #2A0B03
split-complementary
#0F2A03 #0B032A #2A0323
monochromatic
#0A1D02 #0A1D02 #0F2A03 #236307 #389C0B

Accessibility & contrast

On white

15.52
#0F2A03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F2A03
15.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2A03#FFFFFF#000000##FFFFFF
##0F2A031.0015.521.3515.52
#FFFFFF15.521.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f2a03;
/* rgb */ color: rgb(15, 42, 3);
/* oklch */ color: oklch(25.4% 0.072 137.5);
Tailwind
colors: {
  custom: {
    50: '#506448',
    500: '#0f2a03',
    950: '#000000',
  },
}
SCSS
$custom: #0f2a03;
$custom-light: #506448;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2a03",
  "rgb": {
    "r": 15,
    "g": 42,
    "b": 3
  },
  "hsl": {
    "h": 101.538,
    "s": 86.667,
    "l": 8.824
  },
  "oklch": {
    "l": 0.25399,
    "c": 0.07194,
    "h": 137.5
  },
  "luminance": 0.01764
}

Semantic roles & 50–950 ramp

primary
#0F2A03
secondary
#541B6E
accent
#2BFDBC
background
#F4F5F4
surface
#E7EAE6
border
#C3C6C2
text
#020500
muted
#787977

Preview Lab

Preview with #0F2A03

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

Preview Lab → · Contrast checker → · Palette generator →

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