#0F5A34#0F5A34

#0F5A34 is a dark, moderate green. Relative luminance 0.077; OKLCH L 41.4% C 0.095 H 155.3°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#0F5A34
RGBrgb(15, 90, 52)
HSLhsl(150, 71%, 21%)
HSVhsv(150, 83%, 35%)
CMYKcmyk(83.3%, 0%, 42.2%, 64.7%)
CIE-LABlab(33.27, -31.85, 15.84)
CIE-LCHlch(33.27, 35.57, 153.55°)
OKLaboklab(41.39% -0.0858 0.0395)
OKLCHoklch(41.39% 0.095 155.3)
XYZxyz(4.4726, 7.6613, 4.4912)
Luminance0.0766 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5A34 #5A0F35
analogous
#0F5A0F #0F5A34 #0F5A59
triadic
#0F5A34 #340F5A #5A340F
tetradic
#0F5A34 #0F0F5A #5A0F35 #5A590F
square
#0F5A34 #0F0F5A #5A0F35 #5A590F
split-complementary
#0F5A34 #590F5A #5A0F0F
monochromatic
#041A0F #062616 #0F5A34 #188E52 #20C371

Accessibility & contrast

On white

8.29
#0F5A34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#0F5A34 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F5A34
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5A34#FFFFFF#000000##FFFFFF
##0F5A341.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5231
Deuteranopia (green-blind)
#514C37
Tritanopia (blue-blind)
#005950
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #0f5a34;
/* rgb */ color: rgb(15, 90, 52);
/* oklch */ color: oklch(41.4% 0.095 155.3);
Tailwind
colors: {
  custom: {
    50: '#5c896c',
    500: '#0f5a34',
    950: '#000000',
  },
}
SCSS
$custom: #0f5a34;
$custom-light: #5c896c;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5a34",
  "rgb": {
    "r": 15,
    "g": 90,
    "b": 52
  },
  "hsl": {
    "h": 149.6,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.41385,
    "c": 0.09451,
    "h": 155.3
  },
  "luminance": 0.07662
}

Semantic roles & 50–950 ramp

primary
#0F5A34
secondary
#943163
accent
#3A95EE
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#050C07
muted
#797D7A

Preview Lab

Preview with #0F5A34

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

Preview Lab → · Contrast checker → · Palette generator →

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