#0F502F#0F502F

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

Color values

HEX#0F502F
RGBrgb(15, 80, 47)
HSLhsl(150, 68%, 19%)
HSVhsv(150, 81%, 31%)
CMYKcmyk(81.3%, 0%, 41.3%, 68.6%)
CIE-LABlab(29.52, -28.64, 13.90)
CIE-LCHlch(29.52, 31.83, 154.11°)
OKLaboklab(38.26% -0.0773 0.0348)
OKLCHoklch(38.26% 0.085 155.8)
XYZxyz(3.5784, 6.0437, 3.6667)
Luminance0.0604 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F502F #500F30
analogous
#10500F #0F502F #0F504F
triadic
#0F502F #2F0F50 #502F0F
tetradic
#0F502F #0F1050 #500F30 #504F0F
square
#0F502F #0F1050 #500F30 #504F0F
split-complementary
#0F502F #4F0F50 #500F10
monochromatic
#051A0F #051C11 #0F502F #19844D #22B76C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0F502F#FFFFFF#000000##FFFFFF
##0F502F1.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)
#50492D
Deuteranopia (green-blind)
#484331
Tritanopia (blue-blind)
#004F48
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #0f502f;
/* rgb */ color: rgb(15, 80, 47);
/* oklch */ color: oklch(38.3% 0.085 155.8);
Tailwind
colors: {
  custom: {
    50: '#598267',
    500: '#0f502f',
    950: '#000000',
  },
}
SCSS
$custom: #0f502f;
$custom-light: #598267;
$custom-dark: #000000;
JSON
{
  "hex": "#0f502f",
  "rgb": {
    "r": 15,
    "g": 80,
    "b": 47
  },
  "hsl": {
    "h": 149.538,
    "s": 68.421,
    "l": 18.627
  },
  "oklch": {
    "l": 0.38263,
    "c": 0.0848,
    "h": 155.8
  },
  "luminance": 0.06044
}

Semantic roles & 50–950 ramp

primary
#0F502F
secondary
#8A315E
accent
#3D95EB
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040A06
muted
#797C7A

Preview Lab

Preview with #0F502F

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

Preview Lab → · Contrast checker → · Palette generator →

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