#0F502A#0F502A

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

Color values

HEX#0F502A
RGBrgb(15, 80, 42)
HSLhsl(145, 68%, 19%)
HSVhsv(145, 81%, 31%)
CMYKcmyk(81.3%, 0%, 47.5%, 68.6%)
CIE-LABlab(29.43, -29.72, 16.82)
CIE-LCHlch(29.43, 34.15, 150.49°)
OKLaboklab(38.15% -0.08 0.0415)
OKLCHoklch(38.15% 0.09 152.6)
XYZxyz(3.4833, 6.0056, 3.1657)
Luminance0.0601 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F502A #500F35
analogous
#14500F #0F502A #0F504A
triadic
#0F502A #2A0F50 #502A0F
tetradic
#0F502A #0F1450 #500F35 #504A0F
square
#0F502A #0F1450 #500F35 #504A0F
split-complementary
#0F502A #4A0F50 #500F14
monochromatic
#051A0E #051C0F #0F502A #198445 #22B760

Accessibility & contrast

On white

9.54
#0F502A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#0F502A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F502A
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F502A#FFFFFF#000000##FFFFFF
##0F502A1.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504927
Deuteranopia (green-blind)
#48432D
Tritanopia (blue-blind)
#004F47
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #0f502a;
/* rgb */ color: rgb(15, 80, 42);
/* oklch */ color: oklch(38.2% 0.090 152.6);
Tailwind
colors: {
  custom: {
    50: '#598264',
    500: '#0f502a',
    950: '#000000',
  },
}
SCSS
$custom: #0f502a;
$custom-light: #598264;
$custom-dark: #000000;
JSON
{
  "hex": "#0f502a",
  "rgb": {
    "r": 15,
    "g": 80,
    "b": 42
  },
  "hsl": {
    "h": 144.923,
    "s": 68.421,
    "l": 18.627
  },
  "oklch": {
    "l": 0.38153,
    "c": 0.09014,
    "h": 152.6
  },
  "luminance": 0.06006
}

Semantic roles & 50–950 ramp

primary
#0F502A
secondary
#8A3165
accent
#3DA3EB
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040A05
muted
#797C7A

Preview Lab

Preview with #0F502A

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

Preview Lab → · Contrast checker → · Palette generator →

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