#0F502D#0F502D

#0F502D is a dark, moderate green. Relative luminance 0.060; OKLCH L 38.2% C 0.087 H 154.4°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#0F502D
RGBrgb(15, 80, 45)
HSLhsl(148, 68%, 19%)
HSVhsv(148, 81%, 31%)
CMYKcmyk(81.3%, 0%, 43.7%, 68.6%)
CIE-LABlab(29.48, -29.08, 15.08)
CIE-LCHlch(29.48, 32.76, 152.60°)
OKLaboklab(38.22% -0.0784 0.0375)
OKLCHoklch(38.22% 0.087 154.4)
XYZxyz(3.5390, 6.0279, 3.4591)
Luminance0.0603 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F502D #500F32
analogous
#11500F #0F502D #0F504D
triadic
#0F502D #2D0F50 #502D0F
tetradic
#0F502D #0F1150 #500F32 #504D0F
square
#0F502D #0F1150 #500F32 #504D0F
split-complementary
#0F502D #4D0F50 #500F11
monochromatic
#051A0E #051C10 #0F502D #19844A #22B767

Accessibility & contrast

On white

9.52
#0F502D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#0F502D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F502D
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F502D#FFFFFF#000000##FFFFFF
##0F502D1.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50492B
Deuteranopia (green-blind)
#48432F
Tritanopia (blue-blind)
#004F47
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #0f502d;
/* rgb */ color: rgb(15, 80, 45);
/* oklch */ color: oklch(38.2% 0.087 154.4);
Tailwind
colors: {
  custom: {
    50: '#598266',
    500: '#0f502d',
    950: '#000000',
  },
}
SCSS
$custom: #0f502d;
$custom-light: #598266;
$custom-dark: #000000;
JSON
{
  "hex": "#0f502d",
  "rgb": {
    "r": 15,
    "g": 80,
    "b": 45
  },
  "hsl": {
    "h": 147.692,
    "s": 68.421,
    "l": 18.627
  },
  "oklch": {
    "l": 0.38217,
    "c": 0.08694,
    "h": 154.4
  },
  "luminance": 0.06028
}

Semantic roles & 50–950 ramp

primary
#0F502D
secondary
#8A3161
accent
#3D9BEB
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040A06
muted
#797C7A

Preview Lab

Preview with #0F502D

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

Preview Lab → · Contrast checker → · Palette generator →

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