#0F502E#0F502E

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

Color values

HEX#0F502E
RGBrgb(15, 80, 46)
HSLhsl(149, 68%, 19%)
HSVhsv(149, 81%, 31%)
CMYKcmyk(81.3%, 0%, 42.5%, 68.6%)
CIE-LABlab(29.50, -28.86, 14.49)
CIE-LCHlch(29.50, 32.30, 153.34°)
OKLaboklab(38.24% -0.0779 0.0362)
OKLCHoklch(38.24% 0.086 155.1)
XYZxyz(3.5585, 6.0357, 3.5617)
Luminance0.0604 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F502E #500F31
analogous
#11500F #0F502E #0F504E
triadic
#0F502E #2E0F50 #502E0F
tetradic
#0F502E #0F1150 #500F31 #504E0F
square
#0F502E #0F1150 #500F31 #504E0F
split-complementary
#0F502E #4E0F50 #500F11
monochromatic
#051A0F #051C10 #0F502E #19844C #22B769

Accessibility & contrast

On white

9.51
#0F502E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F502E
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F502E#FFFFFF#000000##FFFFFF
##0F502E1.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50492C
Deuteranopia (green-blind)
#484330
Tritanopia (blue-blind)
#004F47
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #0f502e;
/* rgb */ color: rgb(15, 80, 46);
/* oklch */ color: oklch(38.2% 0.086 155.1);
Tailwind
colors: {
  custom: {
    50: '#598267',
    500: '#0f502e',
    950: '#000000',
  },
}
SCSS
$custom: #0f502e;
$custom-light: #598267;
$custom-dark: #000000;
JSON
{
  "hex": "#0f502e",
  "rgb": {
    "r": 15,
    "g": 80,
    "b": 46
  },
  "hsl": {
    "h": 148.615,
    "s": 68.421,
    "l": 18.627
  },
  "oklch": {
    "l": 0.3824,
    "c": 0.08587,
    "h": 155.1
  },
  "luminance": 0.06036
}

Semantic roles & 50–950 ramp

primary
#0F502E
secondary
#8A315F
accent
#3D98EB
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040A06
muted
#797C7A

Preview Lab

Preview with #0F502E

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

Preview Lab → · Contrast checker → · Palette generator →

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