#0F5A33#0F5A33

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

Color values

HEX#0F5A33
RGBrgb(15, 90, 51)
HSLhsl(149, 71%, 21%)
HSVhsv(149, 83%, 35%)
CMYKcmyk(83.3%, 0%, 43.3%, 64.7%)
CIE-LABlab(33.25, -32.06, 16.42)
CIE-LCHlch(33.25, 36.02, 152.89°)
OKLaboklab(41.36% -0.0864 0.0409)
OKLCHoklch(41.36% 0.096 154.7)
XYZxyz(4.4503, 7.6524, 4.3738)
Luminance0.0765 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F5A33 #5A0F36
analogous
#105A0F #0F5A33 #0F5A58
triadic
#0F5A33 #330F5A #5A330F
tetradic
#0F5A33 #0F105A #5A0F36 #5A580F
square
#0F5A33 #0F105A #5A0F36 #5A580F
split-complementary
#0F5A33 #580F5A #5A0F10
monochromatic
#041A0F #062615 #0F5A33 #188E51 #20C36E

Accessibility & contrast

On white

8.30
#0F5A33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F5A33
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F5A33#FFFFFF#000000##FFFFFF
##0F5A331.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f5a33;
/* rgb */ color: rgb(15, 90, 51);
/* oklch */ color: oklch(41.4% 0.096 154.7);
Tailwind
colors: {
  custom: {
    50: '#5c896b',
    500: '#0f5a33',
    950: '#000000',
  },
}
SCSS
$custom: #0f5a33;
$custom-light: #5c896b;
$custom-dark: #000000;
JSON
{
  "hex": "#0f5a33",
  "rgb": {
    "r": 15,
    "g": 90,
    "b": 51
  },
  "hsl": {
    "h": 148.8,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.41363,
    "c": 0.09555,
    "h": 154.7
  },
  "luminance": 0.07653
}

Semantic roles & 50–950 ramp

primary
#0F5A33
secondary
#943164
accent
#3A98EE
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#050C06
muted
#797D7A

Preview Lab

Preview with #0F5A33

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

Preview Lab → · Contrast checker → · Palette generator →

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