#0F5A10#0F5A10

#0F5A10 is a dark, vivid green. Relative luminance 0.075; OKLCH L 40.9% C 0.127 H 142.9°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#0F5A10
RGBrgb(15, 90, 16)
HSLhsl(121, 71%, 21%)
HSVhsv(121, 83%, 35%)
CMYKcmyk(83.3%, 0%, 82.2%, 64.7%)
CIE-LABlab(32.81, -37.26, 33.97)
CIE-LCHlch(32.81, 50.42, 137.64°)
OKLaboklab(40.86% -0.1011 0.0763)
OKLCHoklch(40.86% 0.127 142.9)
XYZxyz(3.9464, 7.4508, 1.7203)
Luminance0.0745 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5A10 #5A0F59
analogous
#335A0F #0F5A10 #0F5A35
triadic
#0F5A10 #100F5A #5A100F
tetradic
#0F5A10 #0F335A #5A0F59 #5A350F
square
#0F5A10 #0F335A #5A0F59 #5A350F
split-complementary
#0F5A10 #350F5A #5A0F33
monochromatic
#041A05 #062607 #0F5A10 #188E19 #20C323

Accessibility & contrast

On white

8.43
#0F5A10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#0F5A10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5A10
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5A10#FFFFFF#000000##FFFFFF
##0F5A101.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5102
Deuteranopia (green-blind)
#544B18
Tritanopia (blue-blind)
#00574C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #0f5a10;
/* rgb */ color: rgb(15, 90, 16);
/* oklch */ color: oklch(40.9% 0.127 142.9);
Tailwind
colors: {
  custom: {
    50: '#5d8a54',
    500: '#0f5a10',
    950: '#000000',
  },
}
SCSS
$custom: #0f5a10;
$custom-light: #5d8a54;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5a10",
  "rgb": {
    "r": 15,
    "g": 90,
    "b": 16
  },
  "hsl": {
    "h": 120.8,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.4086,
    "c": 0.12665,
    "h": 142.9
  },
  "luminance": 0.07451
}

Semantic roles & 50–950 ramp

primary
#0F5A10
secondary
#943192
accent
#3AECEE
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C03
muted
#797D78

Preview Lab

Preview with #0F5A10

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

Preview Lab → · Contrast checker → · Palette generator →

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